VectorRecord
Defined in the knowledge module.Rust AI Agent SDK A vector record in the store.
Fields
| Name | Type | Description |
|---|---|---|
id | String | Record ID |
text | String | Text content |
embedding | Vec<f32> | Embedding vector |
metadata | HashMap<String | Metadata |
Methods
new
| Name | Type |
|---|---|
id | impl Into<String> |
text | impl Into<String> |
embedding | Vec<f32> |
Source
View on GitHub
praisonai/src/knowledge/mod.rs at line 240
