Interface: LLM
Unified language model interface
Implemented by
Properties
metadata
• metadata: LLMMetadata
Defined in
packages/core/src/llm/types.ts:8
Methods
chat
▸ chat(params
): Promise
<AsyncIterable
<ChatResponseChunk
>>
Get a chat response from the LLM
Parameters
Name | Type |
---|---|
params | LLMChatParamsStreaming |
Returns
Promise
<AsyncIterable
<ChatResponseChunk
>>
Defined in
packages/core/src/llm/types.ts:14
▸ chat(params
): Promise
<ChatResponse
>