Interface: LLMChat<AdditionalChatOptions, AdditionalMessageOptions>
Internal
Extended by
Type Parameters
• AdditionalChatOptions extends object
= object
• AdditionalMessageOptions extends object
= object
Methods
chat()
chat(
params
):Promise
<ChatResponse
<AdditionalMessageOptions
> |AsyncIterable
<ChatResponseChunk
<AdditionalMessageOptions
>>>
Parameters
• params: LLMChatParamsStreaming
<AdditionalChatOptions
, object
> | LLMChatParamsNonStreaming
<AdditionalChatOptions
, object
>
Returns
Promise
<ChatResponse
<AdditionalMessageOptions
> | AsyncIterable
<ChatResponseChunk
<AdditionalMessageOptions
>>>
Defined in
packages/core/dist/llms/index.d.ts:14