agents
latest
false
- Getting started
- Prerequisites
- Building agents in Studio Web
- Building agents in Agent Builder
Contexts

Agents user guide
Last updated Apr 30, 2025
Contexts
Indexes give agents access to permissioned knowledge bases. This helps agents reason using business-specific data.
To add context for your agent, take the following steps in the Contexts section:
- Select Add context.
- Select an index from the available list or Create new to create a new index in Orchestrator. For details, see Indexes.
- Provide a Description for your context.
- Configure additional settings
using the Properties panel. You can control the query type,
precision, and relevance of the context using the following settings:
- Semantic -
Select this option for semantic queries if you are using text data
sources.
- Relevance score threshold: Refers to a similarity score threshold applied after the retrieval and re-ranking of relevant chunks. Any relevant chunks that are scored below this threshold are not returned. Use this field to make results more precise. As you increase this number, Context Grounding filters and grounds prompts with only the best scores.
- Max results generated: Refers to the number of chunks returned by Context Grounding from a user's query. This helps with making the grounding payload of the LLM generation (overall token size of the LLM call) smaller and can help act as an additional filter on the results you get from Context Grounding. Increasing the number of results increases the amount of chunks that are returned.
- Structured - Select this option for structured queries if you are using tabular data sources. Supports CSV data format.
- Semantic -
Select this option for semantic queries if you are using text data
sources.