capabilities.work

Retrieve relevant knowledge base chunks for a message

One step with Infobip. We can help you get access.

Look something up

Retrieve relevant knowledge base chunks for a message

with Infobip · AI Model Services

Use Infobip: its Infobip OpenAPI Specification AI Hub API lets you retrieve relevant knowledge base chunks for a message in a single step (POST /ai/1/aiassistants/{assistantId}/retrieve-context). capabilities.work can help you get signed up and connected.

  • How can I fetch the raw knowledge base passages an assistant would match to a message, without a generated answer?
  • Can I choose how many context chunks come back from the semantic search?
  • Does chunk retrieval support re-ranking for more precise results?
Say it to your AI assistant
  • Retrieve the most relevant knowledge base chunks from assistant {assistantId} for {message}.
  • Return the top {k} context chunks from assistant {assistantId} matching {message}.
  • Pull re-ranked context chunks for {message} from assistant {assistantId}, re-ranking over {reRankK} candidates.
For your developer

POST /ai/1/aiassistants/{assistantId}/retrieve-context in Infobip OpenAPI Specification AI Hub API. Full spec on APIs.io.