CreateChatCompletionStreamResponseFormat
An object specifying the format that the model must output. Setting to { 'type': 'json_object' } enables JSON mode.
Example Usage
typescript
import { CreateChatCompletionStreamResponseFormat } from "@meetkai/mka1/models/operations";
let value: CreateChatCompletionStreamResponseFormat = {
type: "text",
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
type | operations.CreateChatCompletionStreamType | ✔️ | The format type. Use 'json_object' to enable JSON mode, guaranteeing the message the model generates is valid JSON. |