Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
ContextChunk
Defined in the RAG module.Rust AI Agent SDK A single context chunk.
Fields
| Name | Type | Description |
|---|---|---|
content | String | Chunk content |
source | String | Source document |
score | f32 | Relevance score |
index | usize | Chunk index in source |
metadata | HashMap<String | Metadata |
Methods
new
| Name | Type |
|---|---|
content | impl Into<String> |
source | impl Into<String> |
score | f32 |
Source
View on GitHub
praisonai/src/rag/mod.rs at line 98
