Expand description
核心反馈类型:提供 FeedbackSink trait 和多种反馈事件(始终编译)。
Core feedback types (always compiled).
Provides FeedbackSink trait, FeedbackEvent enum, and NoopFeedbackSink for use by the client and other core modules. The full telemetry module (InMemoryFeedbackSink, ConsoleFeedbackSink, etc.) is feature-gated.
Structs§
- Choice
Selection Feedback - Feedback for multi-candidate selection.
- Correction
Feedback - Correction feedback.
- Noop
Feedback Sink - No-op sink (always available).
- Rating
Feedback - Rating feedback (e.g., 1-5 stars).
- Regenerate
Feedback - Regeneration feedback.
- Stop
Feedback - Stop generation feedback.
- Text
Feedback - Free-form text feedback.
- Thumbs
Feedback - Thumbs up/down feedback.
Enums§
- Feedback
Event - Typed feedback events (extensible).
Traits§
- Feedback
Sink - Feedback sink trait.
Functions§
- noop_
sink - Returns a no-op feedback sink.