From 019d57874966e6d8692dd1d321d9c7f721eec4ea Mon Sep 17 00:00:00 2001 From: Yelin Zhang <30687616+Yelinz@users.noreply.github.com> Date: Tue, 3 Dec 2024 07:45:16 +0100 Subject: [PATCH] docs: fix google_genai typos (#614) Co-authored-by: Leonid Kuligin --- libs/genai/langchain_google_genai/chat_models.py | 6 +++--- libs/genai/langchain_google_genai/embeddings.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/genai/langchain_google_genai/chat_models.py b/libs/genai/langchain_google_genai/chat_models.py index 91a1cfa8..45ad1cec 100644 --- a/libs/genai/langchain_google_genai/chat_models.py +++ b/libs/genai/langchain_google_genai/chat_models.py @@ -579,9 +579,9 @@ class ChatGoogleGenerativeAI(_BaseGoogleGenerativeAI, BaseChatModel): Instantiation: To use, you must have either: - 1. The ``GOOGLE_API_KEY``` environment variable set with your API key, or - 2. Pass your API key using the google_api_key kwarg to the ChatGoogle - constructor. + 1. The ``GOOGLE_API_KEY`` environment variable set with your API key, or + 2. Pass your API key using the google_api_key kwarg + to the ChatGoogleGenerativeAI constructor. .. code-block:: python diff --git a/libs/genai/langchain_google_genai/embeddings.py b/libs/genai/langchain_google_genai/embeddings.py index a920c7ff..b79b95eb 100644 --- a/libs/genai/langchain_google_genai/embeddings.py +++ b/libs/genai/langchain_google_genai/embeddings.py @@ -27,9 +27,9 @@ class GoogleGenerativeAIEmbeddings(BaseModel, Embeddings): To use, you must have either: - 1. The ``GOOGLE_API_KEY``` environment variable set with your API key, or - 2. Pass your API key using the google_api_key kwarg to the ChatGoogle - constructor. + 1. The ``GOOGLE_API_KEY`` environment variable set with your API key, or + 2. Pass your API key using the google_api_key kwarg + to the GoogleGenerativeAIEmbeddings constructor. Example: .. code-block:: python