RAG

Semantic search across collections

post/v1/rag/query

Request

  • Base URL: http://localhost:9998
  • URL: http://localhost:9998/v1/rag/query
  • Auth: HTTP bearer

Request body

querystring required
collectionIdsstring[] required
topKinteger
thresholdnumber
debugboolean
hybridboolean

Enable BM25 + vector hybrid search

mediaTypesstring[]

Filter results by media type. Omit for all types.

maxContextCharsinteger

Max characters for enriched prompt. Lowest-scored chunks truncated when exceeded.

Response

Search results with enriched prompt

enrichedPromptstring required

Changes

No recorded changes to this operation across all 1 revision of this API.