Skip to content
Niu DocsNiu 牛元文档
Dashboard控制台

ChatResponseFormat

Generated from the checked-in source. Do not edit this reference by hand.

SDK source. All SDK types.

TypeScript
export type ChatResponseFormat = {
type: 'text';
} | {
type: 'json_object';
} | {
type: 'json_schema';
json_schema: {
name: string;
schema: Record<string, unknown>;
strict?: boolean;
description?: string;
};
};