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

ChatGenerationsInstruction

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

SDK source. All SDK types.

TypeScript
/** Legacy Chat turns have read-only derived references and no per-turn saved clock. */
export type ChatGenerationsInstruction = {
kind: 'chat';
prompt: string;
attachments?: Array<{
name: string;
type: string;
content: string;
}>;
};