FileMatch
Defined in the context module.Rust AI Agent SDK A file match from a search.
Fields
| Name | Type | Description |
|---|---|---|
path | String | File path (relative to workspace) |
relevance_score | f32 | Relevance score (0.0 to 1.0) |
line_ranges | Vec<LineRange> | Matching line ranges |
Methods
new
| Name | Type |
|---|---|
path | impl Into<String> |
relevance_score
| Name | Type |
|---|---|
score | f32 |
line_range
| Name | Type |
|---|---|
range | LineRange |
Source
View on GitHub
praisonai/src/context/mod.rs at line 597
