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.
POST
https://api.hinow.ai/v1/knowledge-basesBearerCreates a knowledge base.
Parâmetros
namestring· bodyobrigatórioembedding_modelstring· bodyDefault `hinow/hiembed`.
chunk_sizeinteger· bodyTokens 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?

