Add Source • Rust AI Agent SDK

add_source: Add a knowledge source

add_source

Method

</div>

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

Add a knowledge source

Signature

python
def add_source(&mut self, source: impl Into<String>) -> ()

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField ()

The result of the operation.