跳到主要内容

Interface: ChatEngineAgentParams

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

Optional stream: boolean

Defined in

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


toolChoice

Optional toolChoice: string | Record<string, any>

Defined in

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