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

# Score Threshold • Rust AI Agent SDK

> score_threshold: Set score threshold

# score\_threshold

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**RAGConfig**](../classes/RAGConfig) class in the [**rag**](../modules/rag) module.

Set score threshold

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def score_threshold(mut self, threshold: f32) -> Self
```

## Parameters

<ParamField query="threshold" type="f32" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Self">
  The result of the operation.
</ResponseField>
