ibm: docstrings (#23149)

Added missed docstrings. Format docstrings to the consistent format
(used in the API Reference)
pull/17113/head^2
Leonid Ganeline 3 weeks ago committed by GitHub
parent 86ee4f0daa
commit 109a70fc64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save