Interface: LLM<AdditionalChatOptions>
Unified language model interface
Type parameters
Name | Type |
---|---|
AdditionalChatOptions | extends Record <string , unknown > = Record <string , unknown > |
Hierarchy
-
LLMChat
<AdditionalChatOptions
>↳
LLM
Implemented by
Properties
metadata
• metadata: LLMMetadata
Defined in
packages/core/src/llm/types.ts:48
Methods
chat
▸ chat(params
): Promise
<AsyncIterable
<ChatResponseChunk
>>
Get a chat response from the LLM