langchain-ibmUsage documentation Refer to the docs for a high-level guide on how to use each module. These reference pages contain auto-generated API documentation for each module, focusing on the "what" rather than the "how" or "why" (i.e. no end-to-end tutorials or conceptual overviews).
ChatWatsonx — IBM watsonx.ai chat models. Reference
WatsonxLLM — (Legacy) IBM watsonx.ai text completion models. Reference
WatsonxEmbeddings — IBM watsonx.ai embedding models. Reference
WatsonxRerank — IBM watsonx.ai document retriever. Reference
WatsonxToolkit — IBM watsonx.ai toolkit. Reference
WatsonxSQLDatabaseToolkit — IBM watsonx.ai SQL database toolkit. Reference
IBM watsonx.ai large language models class.
IBM watsonx.ai embedding model integration.
Document compressor that uses watsonx Rerank API.
IBM watsonx.ai chat models integration.
Watsonx SQL Database class for IBM watsonx.ai databases connection assets.
Base tool for interacting with a SQL database.
Tool for querying a SQL database.
Tool for getting metadata about a SQL database.
Tool for getting tables names.
Use an LLM to check if a query is correct.
Toolkit for interacting with IBM watsonx.ai databases.
IBM watsonx.ai Tool.
IBM watsonx.ai Toolkit.
Check for attribute.
Extract params.
Extract chat params.
Check duplicate chat params.
Decorator to catch ApiRequestFailure on Model Gateway calls.
Async decorator to catch ApiRequestFailure on Model Gateway calls.
Resolve watsonx credentials.
Return default factory that yields a SecretStr from the first non-empty env var.
Normalize deprecated 'apikey' to 'api_key'.
Ensure arguments is always a proper JSON string.
Truncate a string to a maximum length.
Pretty print table info.
Convert WatsonxTool to watsonx tool structure.