Add Chunk • Rust AI Agent SDK

add_chunk: Add a chunk

add_chunk

Method

</div>

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

Add a chunk

Signature

python
def add_chunk(&mut self, chunk: ContextChunk) -> ()

Parameters

ParamField ContextChunk

No description available.

Returns

ResponseField ()

The result of the operation.


Related Documentation