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

ChatExport

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

SDK source. All SDK types.

TypeScript
/** Portable conversation content; excludes internal IDs, errors and accounting. */
export type ChatExport = {
format: 'niu-chat';
version: 1;
title?: string;
createdAt?: number;
turns: Array<{
prompt: string;
results: Array<Pick<ChatResult, 'model' | 'content' | 'phase'>>;
attachments?: ChatAttachment[];
}>;
};