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).
ChatWatsonxIBM watsonx.ai chat models.
WatsonxLLM(Legacy) IBM watsonx.ai text completion models.
WatsonxEmbeddingsIBM watsonx.ai embedding models.
WatsonxRerankIBM watsonx.ai document retriever.
WatsonxToolkitIBM watsonx.ai toolkit.
WatsonxSQLDatabaseToolkitIBM watsonx.ai SQL database toolkit.
IBM watsonx.ai chat models integration.
IBM watsonx.ai embedding model integration.
Document compressor that uses watsonx Rerank API.
IBM watsonx.ai large language models class.
Watsonx SQL Database class for IBM watsonx.ai databases connection assets.
IBM watsonx.ai Tool.
IBM watsonx.ai Toolkit.
Toolkit for interacting with IBM watsonx.ai databases.
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.
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 with robust error handling.
Validate that scope (project_id or space_id) is provided when using model_id.
Truncate a string to a maximum length.
Pretty print table info.
Fetch metadata for a single table.
Convert WatsonxTool to watsonx tool structure.
IBM watsonx.ai chat wrapper.
IBM watsonx.ai embeddings wrapper.
Utility helpers for langchain-ibm.
IBM watsonx.ai rerank wrapper.
Base classes for IBM watsonx.ai large language models.
Utilities for watsonx SQL integration.
Utility helpers.
IBM watsonx.ai Toolkit wrapper.
IBM watsonx.ai SQL Toolkit wrapper.
Tools for interacting with a watsonx SQL databases via pyarrow.flight.FlightClient.