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
    • Building an agent in Agent Builder
    • Prompts and arguments
    • Tools
    • Contexts
    • Escalations and Agent Memory
    • Evaluations
    • Traces
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 learn how to create an index, refer to Indexes in the Orchestrator user guide.

To add context for your agent, take the following steps in the Contexts section:

  1. Provide a Description for your context.
  2. Select the shared Orchestrator folder where your index is located.
  3. In the ECS Index field, select the index from the available list. The dropdown list includes all indexes available in the specified folder.
  4. Configure additional settings. You can control the precision and relevance of the context that you want to query from using the following settings:
    • 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 Threshold to make results more precise. As you increase this number, Context Grounding filters and grounds prompts with only the best scores.
    • Number of results: Refers to the number of chunks returned by Context Grounding from a user's query. It 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 when Context Grounding is applied. Increasing the number of results increases the amount of chunks that are returned.
  • 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.