Overview
The Azure AI Search tool lets you search external knowledge bases backed by Azure AI Search that are registered in your Jinba Flow workspace. It supports text (keyword), vector (semantic), and hybrid search.Key Features
AZURE_AI_SEARCH- Search an Azure AI Search external knowledge base registered in your workspace.
- Key inputs:
query(search query string),externalKbId(the external knowledge base to search, selectable from your workspace), andindexName(the index within that knowledge base). - Choose the search method with
searchType:text(keyword search),vector(semantic search), orhybrid(text + vector, the default). - Control result volume with
answerTotal(number of documents to reference for answers, default 5, max 1000),vectorRetrievalCount(number of vector search results for hybrid search, default 5, max 1000), andskip(pagination offset). - Narrow results with
filter(an OData filter expression) andselect(fields to return). - Results include
id,score,content,filename, a directdownloadUrlfor the source file, andmetadata, pluscountandtotalResults.
Authentication
The tool calls the Jinba Flow API on your behalf, so it is configured with a Jinba Flow Workspace API Token (token config) rather than an Azure credential. The Azure AI Search connection itself is managed on the external knowledge base registered in your workspace.
Note: Treat API tokens as sensitive information and never commit them to public repositories.
Usage Examples
Example: Hybrid Search over a Knowledge Base
Example: Filtered Search Feeding an LLM Answer
Notes
- The external knowledge base and its indexes must be registered in your workspace beforehand;
externalKbIdandindexNameare selected from those registrations. answerTotalandvectorRetrievalCountare capped at 1000.- When passing
selectas a string, it must be a JSON array (e.g.,'["title", "content"]'). - The tool runs in the context of a workspace; execution fails with an error if no workspace context is available.