Skip to content

Search

Semantic search in the knowledge base, with metadata filtering.

Updated on Aug 09, 2026

The search compares the embedding of the question with the indexed chunks and returns the closest ones, with the similarity score and the metadata of the source document.

POSThttps://api.hinow.ai/v1/knowledge-bases/{id}/searchBearer

Semantic search in the knowledge base.

Parâmetros

  • idstring· pathobrigatório
  • querystring· bodyobrigatório
  • top_kinteger· body

    Default 5.

  • filterobject· body

    Filter over the document `metadata`.

Respostas

200Chunks ordered by similarity
{
  "results": [
    { "text": "…", "score": 0.87,
      "document": { "id": "doc_...", "metadata": { "produto": "hinow" } } }
  ]
}
Was this page helpful?