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

ChatSession

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

SDK source. All SDK types.

TypeScript
export type ChatSession = ChatTurn & {
reference?: string;
id?: string;
title?: string;
createdAt: number;
turns?: ChatTurn[];
attachments?: ChatAttachment[];
settings?: {
systemPrompt?: string;
maxTokens?: number;
temperature?: number;
logPayloads?: boolean;
};
};