Skip to content

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

FieldTypeRequiredDescription
modelstring✔️The model to use for generating the compaction summary.
inputcomponents.CompactResponseRequestInputText, image, or file inputs to the model, used to generate a response.
previousResponseIdstringThe ID of a previous response whose conversation history should be compacted. If omitted, only the provided input is compacted.