Properties
endpoint
endpoint : string
Defined in docs/api_refs/langchain/src/llms/watsonx_ai.ts:68
model Id
model Id : string = "meta-llama/llama-2-70b-chat"
Defined in docs/api_refs/langchain/src/llms/watsonx_ai.ts:74
region
region : string = "us-south"
Defined in docs/api_refs/langchain/src/llms/watsonx_ai.ts:70
version
version : string = "2023-05-29"
Defined in docs/api_refs/langchain/src/llms/watsonx_ai.ts:72
Optional
ibm Cloud Api Key
ibm Cloud Api Key ?: string
Defined in docs/api_refs/langchain/src/llms/watsonx_ai.ts:78
Optional
ibm Cloud Token
ibm Cloud Token ?: string
Defined in docs/api_refs/langchain/src/llms/watsonx_ai.ts:80
Optional
ibm Cloud Token Expires At
ibm Cloud Token Expires At ?: number
Defined in docs/api_refs/langchain/src/llms/watsonx_ai.ts:82
Optional
model Kwargs
model Kwargs ?: Record < string , unknown >
Defined in docs/api_refs/langchain/src/llms/watsonx_ai.ts:76
Optional
model Parameters
model Parameters ?: Record < string , unknown >
Defined in docs/api_refs/langchain/src/llms/watsonx_ai.ts:86
Optional
project Id
project Id ?: string
Defined in docs/api_refs/langchain/src/llms/watsonx_ai.ts:84
The WatsonxAI class is used to interact with Watsonx AI Inference Endpoint models. It uses IBM Cloud for authentication. This requires your IBM Cloud API Key which is autoloaded if not specified.