CompactResponseRequest
Request schema for compacting a response's conversation history into a condensed summary.
Example Usage
typescript
import { CompactResponseRequest } from "@meetkai/mka1/models/components";
let value: CompactResponseRequest = {
model: "Volt",
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
model | string | ✔️ | The model to use for generating the compaction summary. |
input | components.CompactResponseRequestInput | ➖ | Text, image, or file inputs to the model, used to generate a response. |
instructions | string | ➖ | A system (or developer) message inserted into the model's context. When used along with previous_response_id, the instructions from a previous response will not be carried over to the next response. This makes it simple to swap out system (or developer) messages in new responses. |
previousResponseId | string | ➖ | The ID of a previous response whose conversation history should be compacted. If omitted, only the provided input is compacted. |