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:27
Methods
chat()
chat(params)
abstract
chat(params
):Promise
<EngineResponse
>
Parameters
• params: NonStreamingChatEngineParams
<object
, object
>
Returns
Promise
<EngineResponse
>
Defined in
packages/core/chat-engine/dist/index.d.ts:25
chat(params)
abstract
chat(params
):Promise
<AsyncIterable
<EngineResponse
,any
,any
>>
Parameters
• params: StreamingChatEngineParams
<object
, object
>
Returns
Promise
<AsyncIterable
<EngineResponse
, any
, any
>>
Defined in
packages/core/chat-engine/dist/index.d.ts:26