Aller au contenu principal

Interface: ChatEngineParamsStreaming

Represents the base parameters for ChatEngine.

Hierarchy

Properties

chatHistory

Optional chatHistory: { content: MessageContent ; options?: Record<string, unknown> ; role: MessageType }[] | ChatHistory

Optional chat history if you want to customize the chat history.

Inherited from

ChatEngineParamsBase.chatHistory

Defined in

packages/core/src/engines/chat/types.ts:16


message

message: MessageContent

Inherited from

ChatEngineParamsBase.message

Defined in

packages/core/src/engines/chat/types.ts:12


stream

stream: true

Defined in

packages/core/src/engines/chat/types.ts:20