> ## Documentation Index
> Fetch the complete documentation index at: https://relevanceai.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Advanced Knowledge Search (2m context)

> The 'Advanced Knowledge Search (2m context)' Tool allows you to search your knowledge table with a prompt using CAG

## Add the 'Advanced Knowledge Search (2m)' Tool step to your Tool

<div style={{ width:"100%",position:"relative","padding-top":"56.75%",paddingTop:"75%" }}>
  <iframe src="https://app.supademo.com/embed/cmcwogmal1l5n9emp09x9eqv7" frameBorder="0" title="Add the Advanced Knowledge Search (2m) Tool step to your Tool" allow="clipboard-write; fullscreen" webkitAllowFullscreen="true" mozAllowFullscreen="true" allowFullscreen style={{ position:"absolute",top:0,left:0,width:"100%",height:"100%",border:"3px solid #5E43CE",borderRadius:"10px",objectFit:"cover" }} />
</div>

You can add the 'Advanced Knowledge Search (2m context) Tool' step to your Tool by:

1. Creating a new Tool, then searching for the Advanced Knowledge Search (2m context) Tool step.
2. Click "Expand" to see the full Tool step.
3. Enter your search query in the **Query** field.
4. Select the knowledge source you would like to use.
5. Select your Gemini model *(currently there are only 2 models available)*

## Advanced settings

### System prompt

The system prompt is the very first message in a conversation that instructs the model on its role or the personality of the AI. Examples can be expert researcher, analyst or tutor.

### Temperature

The temperature setting controls how “creative” or “random” the model’s responses will be. Lower temperatures make the model more focused and deterministic, while higher temperatures make it more creative and unpredictable.

### Enable Grounding

Grounding integrates Google Search results to inform and support the model’s responses.

### Page size

Page size controls the number of documents that will be retrieved from the knowledge set.
