πŸ“ Subsystem Deep Dive

components/FeedbackSurvey/

πŸ“ components/FeedbackSurvey/ πŸ“„ 7 files

Tutorial: FeedbackSurvey

The FeedbackSurvey project implements a feedback system for an AI assistant, designed to collect user ratings and optional conversation transcripts. It relies on a central state machine to manage the survey's lifecycle (opening, closing, thanking) and employs logic to trigger surveys based on time, usage turns, or specific events like memory compaction. The system renders an interactive CLI-based UI and handles the secure submission of redacted transcript data upon user approval.

flowchart TD A0["Survey Lifecycle State Machine"] A1["General Pacing and Configuration"] A2["Event-Driven Survey Triggers"] A3["Main UI Controller"] A4["Interactive Prompt Views"] A5["Transcript Data Submission"] A1 -->|"Uses for state management"| A0 A2 -->|"Uses for state management"| A0 A1 -->|"Submits shared transcript"| A5 A2 -->|"Submits shared transcript"| A5 A3 -->|"Renders"| A4 A0 -->|"Imports types"| A4

Chapters

  1. Main UI Controller
  2. Interactive Prompt Views
  3. Survey Lifecycle State Machine
  4. General Pacing and Configuration
  5. Event-Driven Survey Triggers
  6. Transcript Data Submission

Generated by Code IQ

Files in this section