跳到主要内容

Interface: ChatEngineAgentParams

Represents the base parameters for ChatEngine.

Hierarchy

Properties

chatHistory

Optional chatHistory: ChatMessage[] | ChatHistory<object>

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

Inherited from

ChatEngineParamsBase.chatHistory

Defined in

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


message

message: MessageContent

Inherited from

ChatEngineParamsBase.message

Defined in

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


stream

Optional stream: boolean

Defined in

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


toolChoice

Optional toolChoice: string | Record<string, any>

Defined in

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