Logo
Classes

VercelLLM

Defined in: providers/vercel/src/llm.ts:28

Extends

  • ToolCallLLM<VercelAdditionalChatOptions>

Constructors

new VercelLLM()

new VercelLLM(__namedParameters): VercelLLM

Defined in: providers/vercel/src/llm.ts:32

Parameters

__namedParameters
model

LanguageModelV1

Returns

VercelLLM

Overrides

ToolCallLLM<VercelAdditionalChatOptions>.constructor

Properties

supportToolCall

supportToolCall: boolean = true

Defined in: providers/vercel/src/llm.ts:29

Overrides

ToolCallLLM.supportToolCall

Accessors

metadata

Get Signature

get metadata(): LLMMetadata

Defined in: providers/vercel/src/llm.ts:37

Returns

LLMMetadata

Overrides

ToolCallLLM.metadata

Methods

chat()

Call Signature

chat(params): Promise<AsyncIterable<ChatResponseChunk<ToolCallLLMMessageOptions>, any, any>>

Defined in: providers/vercel/src/llm.ts:110

Parameters
params

LLMChatParamsStreaming<ToolCallLLMMessageOptions, ToolCallLLMMessageOptions>

Returns

Promise<AsyncIterable<ChatResponseChunk<ToolCallLLMMessageOptions>, any, any>>

Overrides

ToolCallLLM.chat

Call Signature

chat(params): Promise<ChatResponse<ToolCallLLMMessageOptions>>

Defined in: providers/vercel/src/llm.ts:116

Parameters
params

LLMChatParamsNonStreaming<ToolCallLLMMessageOptions, ToolCallLLMMessageOptions>

Returns

Promise<ChatResponse<ToolCallLLMMessageOptions>>

Overrides

ToolCallLLM.chat

On this page