score • Rust AI Agent SDK

score: Set the relevance score

score

Method

</div>

This is a method of the Citation class in the rag module.

Set the relevance score

Signature

python
def score(mut self, score: f32) -> Self

Parameters

ParamField f32

No description available.

Returns

ResponseField Self

The result of the operation.