new • Rust AI Agent SDK
new: Create a new vector record
new
Method
</div>
This is a method of the VectorRecord class in the knowledge module.
Create a new vector record
Signature
def new(id: impl Into<String>, text: impl Into<String>, embedding: Vec<f32>) -> SelfParameters
ParamField
impl Into<String>No description available.
ParamField
impl Into<String>No description available.
ParamField
Vec<f32>No description available.
Returns
ResponseField
SelfThe result of the operation.