Skip to content

Commit

Permalink
Fix docs/example notebook (#4)
Browse files Browse the repository at this point in the history
* Fix

* Fix
  • Loading branch information
sfc-gh-nmoiseyev authored Sep 26, 2024
1 parent 7e2674f commit 98883e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions libs/snowflake/docs/retrievers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@
"metadata": {},
"outputs": [],
"source": [
"from langchain_snowflake import SnowflakeRetriever\n",
"from langchain_snowflake import CortexSearchRetriever\n",
"\n",
"retriever = SnowflakeRetriever(\n",
"retriever = CortexSearchRetriever(\n",
" ## Snowflake connection parameters. Uncomment out if not set on the environment.\n",
" \n",
" # username=\"snowflake-username\",\n",
Expand Down
4 changes: 2 additions & 2 deletions libs/snowflake/langchain_snowflake/retrievers.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ class CortexSearchRetriever(BaseRetriever):
Instantiate:
.. code-block:: python
from langchain-snowflake import SnowflakeRetriever
from langchain-snowflake import CortexSearchRetriever
retriever = SnowflakeRetriever(
retriever = CortexSearchRetriever(
authenticator="externalbrowser",
columns=["name", "description", "era"],
search_column="description",
Expand Down

0 comments on commit 98883e6

Please sign in to comment.