Class: abstract
BaseChatEngine
Extended by
Constructors
new BaseChatEngine()
new BaseChatEngine():
BaseChatEngine
Returns
Properties
chatHistory
abstract
chatHistory:ChatMessage
[] |Promise
<ChatMessage
[]>
Defined in
packages/core/chat-engine/dist/index.d.ts:25
Methods
chat()
chat(params)
abstract
chat(params
):Promise
<EngineResponse
>
Parameters
• params: NonStreamingChatEngineParams
<object
>
Returns
Promise
<EngineResponse
>
Defined in
packages/core/chat-engine/dist/index.d.ts:23
chat(params)
abstract
chat(params
):Promise
<AsyncIterable
<EngineResponse
,any
,any
>>
Parameters
• params: StreamingChatEngineParams
<object
>
Returns
Promise
<AsyncIterable
<EngineResponse
, any
, any
>>
Defined in
packages/core/chat-engine/dist/index.d.ts:24