Retrieval Mode
Search AI supports two retrieval modes that determine how content is retrieved from the index before answer generation.Parallel Retrieval Configuration
Parallel Retrieval enables Search AI to execute multiple independent retrievals for a single search query. Each retrieval targets a specific subset of indexed content using its own conditions and qualification settings. The results from all configured retrievals are combined before answer generation. This approach improves result coverage across diverse content sources by allowing each retrieval to independently qualify relevant content instead of competing for the same top-ranked results. Click on +Add to add a new parallel retrieval config. You can configure upto 8 parallel retrieval calls. Each call has its own sources and qualification criteria. Parallel Configuration PropertiesRuntime Behavior
When Parallel Retrieval is enabled:- Search AI executes all configured retrievals independently.
- Each retrieval applies its own qualification criteria.
- Qualified chunks from all retrievals are combined based on their scores .
- From each retrieval, the configured number of Chunks Sent to LLM are selected. The combined set is then constrained by the configured token budgets before being sent to the LLM..
- A single answer is then generated using the selected chunks.
Constraints
The following constraints apply when using Parallel Retrieval:- Configure a minimum of 2 and a maximum of 8 parallel retrievals.
- Every retrieval must have a unique name.
- Each retrieval must contain at least one valid condition.
- Each condition must specify a field, operator, and value.
- Document-level processing is automatically disabled when Parallel Retrieval is enabled.
- To execute only selected retrievals for a request via the Advanced Search API, use the optional
parallelCallsfield. Learn More. - When Parallel Retrieval is enabled, debug information includes details for each executed retrieval.
Retrieval Strategies
Configure the chunk retrieval strategy and corresponding thresholds for finding relevant content.Retrieval Methods
Search AI supports two retrieval methods. The choice depends on the nature of your content, the type of queries your users ask, and the precision required.
How to choose
- Use Vector Retrieval when queries are conversational or conceptual and exact keyword matches are less important.
- Use Hybrid Retrieval (default) when content contains specific terminology, product names, or structured data where keyword matching adds precision on top of semantic search.
Hybrid Retrieval is the default retrieval strategy.
Qualification Criteria
When setting the Token Budget for Chunks, account for your LLM’s total context window size minus the tokens used by the prompt, query, and expected response. See Token Management for guidance.
Answer Generation
Configure how responses are composed and delivered to users. Navigate to Responses > Answer Configuration to access these settings.Answer Components
Answer Types
Generative Answer Configuration
Chunk Settings: Token Budget for Chunks: Specifies the total tokens that can be included in chunks sent to the LLM. Default: 20,000. Maximum: 1,000,000. To calculate the right value: subtract the tokens used by the prompt, instructions, and expected response from the LLM’s maximum context window. The remainder is the maximum token budget for chunks. Example: For a 4,096-token context window — if the prompt uses 500 tokens and the response uses 500 tokens, up to 3,096 tokens remain for chunks. At 500 tokens per chunk, that’s 6 chunks maximum. To limit to 3 chunks, set the budget to 1,500. Enable Document Level Processing: When enabled, Search AI sends full documents to the LLM instead of individual chunks. This is useful when relevant information is distributed across multiple chunks and sending only a few may result in incomplete answers. Search AI identifies and sends complete documents associated with the most relevant chunks, up to the defined token budget.
Chunk Order Options:
The order of data chunks can affect the context and thereby, the results of a user query. The decision to use a specific chunk order should align with the goals of the task and the nature of the data being processed.
LLM Configuration:
Feedback Configuration:
Enable feedback mechanism to allow users to rate answers. When this is enabled, the web SDK automatically includes the feedback options for the users. Feedback data appears in Answer Insights analytics.
Response Streaming
Enable real-time token-by-token response delivery for Web/Mobile SDK channels, reducing perceived latency for longer answers. Streaming is configured via prompt settings and is currently supported only for OpenAI and Azure OpenAI models. Not available for API-based responses.
Search Results
Search results display a ranked list of documents or chunks by relevance, presenting each with a title and a snippet. Navigate to Responses > Search Results to enable and configure this feature. Unlike answers — which provide a single, focused response to a query — search results are more useful when broader information is neededWhen to Use Search Results vs Answers
How Search Results Are Generated
When enabled, Search AI processes the user’s query, retrieves the most relevant chunks from the index, organizes them by their corresponding documents, and presents them with relevant metadata for each chunk. A maximum of three chunks per document are displayed, ordered by descending relevance.- Advanced Search API: Search results are returned as part of the results object in the response.
- Web SDK: When both answers and search results are enabled, the answer is displayed first, followed by the search results.
When both search results and extractive answers are enabled, the top search result matches the answer. To avoid redundancy, the highest-ranking result is omitted from the search results list — results start from the next most relevant entry.
Configuration Settings
Filters (Facets)
Filters enable users to narrow results based on specific criteria, useful for large result sets. Filter Types:
Filter UI Options:
Creating Filters
- Provide unique Filter Name
- Select Filter Type (Static or Dynamic)
- Choose Field for filtering
- Select Filter UI style
- Only one tab-style filter can be enabled at a time.
- Only string fields can be used with tab-style UI.
- Two filters cannot use the same field concurrently - only one filter per field can be enabled at a time.
- A filter applies only if the search results contain content for the specified field.