AddResult
Defined in the knowledge module.Rust AI Agent SDK Result of adding content to knowledge store.
Fields
| Name | Type | Description |
|---|---|---|
id | String | ID of added item |
success | bool | Whether operation succeeded |
message | String | Optional message |
metadata | HashMap<String | Metadata |
Methods
success
| Name | Type |
|---|---|
id | impl Into<String> |
failure
| Name | Type |
|---|---|
message | impl Into<String> |
Source
View on GitHub
praisonai/src/knowledge/mod.rs at line 192
