Skip to content

Knowledge bases

Creates the knowledge base and sets the embedding and the chunk size.

Updated on Aug 09, 2026

The knowledge base is the container: it defines which embedding model indexes the documents and in pieces of what size they are split. These two choices apply to the entire knowledge base — to change them, create another knowledge base and reindex.

POSThttps://api.hinow.ai/v1/knowledge-basesBearer

Creates a knowledge base.

Parâmetros

  • namestring· bodyobrigatório
  • embedding_modelstring· body

    Default `hinow/hiembed`.

  • chunk_sizeinteger· body

    Tokens per chunk. Default 512.

Respostas

201Knowledge base created

Chunk size is the decision that weighs the most

Short chunks hit the right paragraph but lose the surrounding context; long chunks bring context and dilute the similarity. 512 tokens is a good start for technical documentation.

Was this page helpful?