Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeedbackCollector ¶
type FeedbackCollector struct {
// contains filtered or unexported fields
}
FeedbackCollector handles feedback collection and processing
func NewFeedbackCollector ¶
func NewFeedbackCollector(console input.Console, options FeedbackCollectorOptions) *FeedbackCollector
NewFeedbackCollector creates a new feedback collector with the specified options
func (*FeedbackCollector) CollectFeedbackAndApply ¶
func (c *FeedbackCollector) CollectFeedbackAndApply( ctx context.Context, azdAgent agent.Agent, AIDisclaimer string, ) error
CollectFeedbackAndApply collects user feedback and applies it using the provided agent
type FeedbackCollectorOptions ¶
type FeedbackCollectorOptions struct {
// EnableLoop determines if feedback collection should loop for multiple rounds
EnableLoop bool
// FeedbackPrompt is the prompt for collecting feedback
FeedbackPrompt string
// FeedbackHint is the hint text for FeedbackPrompt
FeedbackHint string
// RequireFeedback determines if feedback input is required when provided
RequireFeedback bool
// AIDisclaimer is the disclaimer text to show
AIDisclaimer string
}
FeedbackCollectorOptions configures the feedback collection behavior
Click to show internal directories.
Click to hide internal directories.