Skip to content

Commit

Permalink
docs: fix google_genai typos (#614)
Browse files Browse the repository at this point in the history
Co-authored-by: Leonid Kuligin <lkuligin@yandex.ru>
  • Loading branch information
Yelinz and lkuligin authored Dec 3, 2024
1 parent 6568ca6 commit 019d578
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions libs/genai/langchain_google_genai/chat_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions libs/genai/langchain_google_genai/embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 019d578

Please sign in to comment.