Skip to main content

Interface: StreamingChatEngineParams<AdditionalMessageOptions, AdditionalChatOptions>

Extends

Type Parameters

AdditionalMessageOptions extends object = object

AdditionalChatOptions extends object = object

Properties

chatHistory?

optional chatHistory: ChatMessage<AdditionalMessageOptions>[] | BaseMemory<AdditionalMessageOptions>

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

Inherited from

BaseChatEngineParams.chatHistory

Defined in

packages/core/chat-engine/dist/index.d.ts:14


chatOptions?

optional chatOptions: AdditionalChatOptions

Defined in

packages/core/chat-engine/dist/index.d.ts:18


message

message: MessageContent

Inherited from

BaseChatEngineParams.message

Defined in

packages/core/chat-engine/dist/index.d.ts:10


stream

stream: true

Defined in

packages/core/chat-engine/dist/index.d.ts:17