UNPKG

@assistant-ui/react

Version:

Typescript/React library for AI Chat

11 lines (8 loc) 250 B
import { ThreadMessage } from "../../../types/AssistantTypes"; type FeedbackAdapterFeedback = { message: ThreadMessage; type: "positive" | "negative"; }; export type FeedbackAdapter = { submit: (feedback: FeedbackAdapterFeedback) => void; };