Header menu logo Nao

FeedbackService Type

 High-level facade that ties the feedback loop together:
   1. record each completed turn,
   2. accept user feedback and store it.

 Feedback is recorded only; nothing is changed at runtime. Analysis of stored feedback
 (to improve or create tools/agents) is left to a separate, opt-in system built on top.

 Construct it with whichever stores you like (file-backed for the running app, database
 for a shared deployment). The default factories wire sensible implementations.

Constructors

Constructor Description

FeedbackService(turnStore, feedbackStore)

Full Usage: FeedbackService(turnStore, feedbackStore)

Parameters:
Returns: FeedbackService
turnStore : ITurnStore
feedbackStore : IFeedbackStore
Returns: FeedbackService

Instance members

Instance member Description

this.RecordTurnAsync

Full Usage: this.RecordTurnAsync

Parameters:
Returns: Task

Persist a completed turn so feedback can later be analysed against it.

turn : TurnRecord
Returns: Task

this.SaveFeedbackAsync

Full Usage: this.SaveFeedbackAsync

Parameters:
Returns: Task

Persist a raw feedback entry. Used by the event-storage consumer to record feedback.

feedback : Feedback
Returns: Task

this.SubmitFeedbackAsync

Full Usage: this.SubmitFeedbackAsync

Parameters:
Returns: Task

Record explicit user feedback. The entry is stored only; it never mutates a tool or agent at runtime — analysis and improvements are left to a separate offline system.

feedback : Feedback
Returns: Task

Type something to start searching.