agents
latest
false
  • Getting started
    • About agents
    • Agents workspaces
    • Governance
    • Data residency and supported models
    • Limitations
  • Prerequisites
  • Building agents in Studio Web
    • Building an agent in Studio Web
    • Best practices
    • Prompts
    • Contexts
    • Escalations and Agent Memory
    • Evaluations
    • Traces
    • Agent score – Preview
  • Building agents in Agent Builder
UiPath logo, featuring letters U and I in white

Agents user guide

Last updated Apr 30, 2025

Contexts

Using indexes in agents

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:

  1. Select Add context.
  2. Select an index from the available list or Create new to create a new index in Orchestrator. For details, see Indexes.
  3. Provide a Description for your context.
  4. 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.
  • Using indexes in agents

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2025 UiPath. All rights reserved.