Interface: LLM<AdditionalChatOptions, AdditionalMessageOptions>
Unified language model interface
Extends
LLMChat
<AdditionalChatOptions
>
Type parameters
• AdditionalChatOptions extends object
= object
• AdditionalMessageOptions extends object
= object
Properties
metadata
metadata:
LLMMetadata
Source
packages/llamaindex/src/llm/types.ts:57
Methods
chat()
chat(params)
chat(
params
):Promise
<AsyncIterable
<ChatResponseChunk
<object
>>>
Get a chat response from the LLM
Parameters
• params: LLMChatParamsStreaming
<AdditionalChatOptions
, AdditionalMessageOptions
>