VercelLLM
Defined in: .build/typescript/packages/providers/vercel/src/llm.ts:28
Extends
Section titled “Extends”ToolCallLLM<VercelAdditionalChatOptions>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new VercelLLM(
__namedParameters):VercelLLM
Defined in: .build/typescript/packages/providers/vercel/src/llm.ts:32
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”LanguageModel
Returns
Section titled “Returns”VercelLLM
Overrides
Section titled “Overrides”ToolCallLLM<VercelAdditionalChatOptions>.constructor
Properties
Section titled “Properties”supportToolCall
Section titled “supportToolCall”supportToolCall:
boolean=true
Defined in: .build/typescript/packages/providers/vercel/src/llm.ts:29
Overrides
Section titled “Overrides”ToolCallLLM.supportToolCall
Accessors
Section titled “Accessors”metadata
Section titled “metadata”Get Signature
Section titled “Get Signature”get metadata():
LLMMetadata
Defined in: .build/typescript/packages/providers/vercel/src/llm.ts:37
Returns
Section titled “Returns”LLMMetadata
Overrides
Section titled “Overrides”ToolCallLLM.metadata
Methods
Section titled “Methods”chat()
Section titled “chat()”Call Signature
Section titled “Call Signature”chat(
params):Promise<AsyncIterable<ChatResponseChunk<ToolCallLLMMessageOptions>,any,any>>
Defined in: .build/typescript/packages/providers/vercel/src/llm.ts:126
Parameters
Section titled “Parameters”params
Section titled “params”LLMChatParamsStreaming<ToolCallLLMMessageOptions, ToolCallLLMMessageOptions>
Returns
Section titled “Returns”Promise<AsyncIterable<ChatResponseChunk<ToolCallLLMMessageOptions>, any, any>>
Overrides
Section titled “Overrides”ToolCallLLM.chat
Call Signature
Section titled “Call Signature”chat(
params):Promise<ChatResponse<ToolCallLLMMessageOptions>>
Defined in: .build/typescript/packages/providers/vercel/src/llm.ts:132
Parameters
Section titled “Parameters”params
Section titled “params”LLMChatParamsNonStreaming<ToolCallLLMMessageOptions, ToolCallLLMMessageOptions>
Returns
Section titled “Returns”Promise<ChatResponse<ToolCallLLMMessageOptions>>
Overrides
Section titled “Overrides”ToolCallLLM.chat