new • Rust AI Agent SDK
new: Create a new context chunk
new
Method
</div>
This is a method of the ContextChunk class in the rag module.
Create a new context chunk
Signature
def new(content: impl Into<String>, source: impl Into<String>, score: f32) -> SelfParameters
ParamField
impl Into<String>No description available.
ParamField
impl Into<String>No description available.
ParamField
f32No description available.
Returns
ResponseField
SelfThe result of the operation.