feedback

package
v0.0.0-...-458a5b7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2025 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL