ReflectionOutput
Defined in the extras module.Rust AI Agent SDK Output from a reflection step
Fields
| Name | Type | Description |
|---|---|---|
original | String | The original output |
reflection | String | The reflection analysis |
improved | Option<String> | The improved output (if any) |
confidence | f64 | Confidence score (0.0 - 1.0) |
was_modified | bool | Whether the output was modified |
Methods
new
| Name | Type |
|---|---|
original | impl Into<String> |
reflection | impl Into<String> |
with_improvement
| Name | Type |
|---|---|
original | impl Into<String> |
reflection | impl Into<String> |
improved | impl Into<String> |
Source
View on GitHub
praisonai/src/parity/extras.rs at line 448
