new • Rust AI Agent SDK

new: Create a new citation

new

Method

</div>

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

Create a new citation

Signature

python
def new(id: impl Into<String>, source: impl Into<String>, text: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField impl Into&lt;String&gt;

No description available.

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.