CreateFeedbackRequestBody
Request parameters for creating feedback on a chat completion. Allows users to rate and comment on model responses.
Example Usage
typescript
import { CreateFeedbackRequestBody } from "@meetkai/mka1/models/operations";
let value: CreateFeedbackRequestBody = {
id: "<id>",
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | Chat completion request ID (chatcmpl-xxx) to associate this feedback with. This ID is returned in the chat completion response. |
rating | operations.Rating | ➖ | Optional feedback rating. Can be 'thumbs_up' for positive feedback or 'thumbs_down' for negative feedback. |
description | string | ➖ | Optional detailed feedback description. Use this to provide specific comments, suggestions, or explain the rating. |