Skip to main content

Module feedback

Module feedback 

Source
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§

ChoiceSelectionFeedback
Feedback for multi-candidate selection.
CorrectionFeedback
Correction feedback.
NoopFeedbackSink
No-op sink (always available).
RatingFeedback
Rating feedback (e.g., 1-5 stars).
RegenerateFeedback
Regeneration feedback.
StopFeedback
Stop generation feedback.
TextFeedback
Free-form text feedback.
ThumbsFeedback
Thumbs up/down feedback.

Enums§

FeedbackEvent
Typed feedback events (extensible).

Traits§

FeedbackSink
Feedback sink trait.

Functions§

noop_sink
Returns a no-op feedback sink.