mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-02 19:47:13 +00:00
ibm: docstrings (#23149)
Added missed docstrings. Format docstrings to the consistent format (used in the API Reference)
This commit is contained in:
@@ -15,6 +15,8 @@ from langchain_core.utils import convert_to_secret_str, get_from_dict_or_env
|
||||
|
||||
|
||||
class WatsonxEmbeddings(BaseModel, LangChainEmbeddings):
|
||||
"""IBM WatsonX.ai embedding models."""
|
||||
|
||||
model_id: str = ""
|
||||
"""Type of model to use."""
|
||||
|
||||
|
@@ -15,7 +15,7 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
class WatsonxLLM(BaseLLM):
|
||||
"""
|
||||
IBM watsonx.ai large language models.
|
||||
IBM WatsonX.ai large language models.
|
||||
|
||||
To use, you should have ``langchain_ibm`` python package installed,
|
||||
and the environment variable ``WATSONX_APIKEY`` set with your API key, or pass
|
||||
|
Reference in New Issue
Block a user