@luxoai-dev/feedback-ui
Feedback UI
Betav0.2.0The reusable feedback layer for collecting quality signals from operators and end users. Turns review into structured data for evaluation and improvement loops.
- Package
- @luxoai-dev/feedback-ui
- Layer
- Human signal
- Version
- v0.2.0
- Used by
- LLM answer quality · run review · model improvement loops
Architecture
The package sits between the host application and runtime outputs. The host owns auth, data, and side effects; the package validates and shapes flow.
Host
Application workflow
Auth, data, product state, and side effects stay owned by the host app.
Package
Feedback UI
The reusable feedback layer for collecting quality signals from operators and end users. Turns review into structured data for evaluation and improvement loops.
Outcome
Agent outcome
Approved actions, responses, feedback, metrics, or model signals flow back to the product.
Capabilities
The contract surface, summarized.
| Capability | Detail |
|---|---|
| 01 | Structured response ratings and outcome feedback. |
| 02 | Integration with agent-core validation contracts. |
| 03 | Quality loops that are portable across agents instead of tied to one product. |
| 04 | Optional opinionated stylesheet (@luxoai-dev/feedback-ui/styles.css) with dark-mode block. |
| 05 | A foundation for future ranking, evaluation, and review workflows. |
Used by
Concrete consumers in the LuxoAI fleet.
Integration shape
Drop into a host app. The host keeps auth, persistence, and side effects.
import { FeedbackWidget } from "@luxoai-dev/feedback-ui";
export function ResponseFeedback({ requestId }: { requestId: string }) {
return (
<FeedbackWidget
requestId={requestId}
promptLabel="How was this agent response?"
submitLabel="Send feedback"
/>
);
}API Reference
Every export, every signature, every parameter. The production-grade reference your code or your agent needs to call this package without reading source.
Open Feedback UI API reference