Interface: ChatEngineAgentParams
Represents the base parameters for ChatEngine.
Hierarchy
-
↳
ChatEngineAgentParams
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
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
>