Pular para o conteúdo principal

Interface: LLMChat<ExtraParams>

Type parameters

NameType
ExtraParamsextends Record<string, unknown> = Record<string, unknown>

Hierarchy

  • LLMChat

    LLM

Methods

chat

chat(params): Promise<ChatResponse | AsyncIterable<ChatResponseChunk>>

Parameters

NameType
paramsLLMChatParamsStreaming<ExtraParams> | LLMChatParamsNonStreaming<ExtraParams>

Returns

Promise<ChatResponse | AsyncIterable<ChatResponseChunk>>

Defined in

packages/core/src/llm/types.ts:32