Skip to content

Commit

Permalink
Fixed typo in llibs/community/langchain_community/storage/sql.py (#27029
Browse files Browse the repository at this point in the history
)

- [ ] **PR title**: docs: fix typo in SQLStore import path

- [ ] **PR message**: 
- **Description:** This PR corrects a typo in the docstrings for the
class SQLStore(BaseStore[str, bytes]). The import path in the docstring
currently reads from langchain_rag.storage import SQLStore, which should
be changed to langchain_community.storage import SQLStore. This typo is
also reflected in the official documentation.
    - **Issue:** N/A
    - **Dependencies:** None
    - **Twitter handle:** N/A

Co-authored-by: Erick Friis <erick@langchain.dev>
  • Loading branch information
ajayeswarreddy and efriis authored Oct 8, 2024
1 parent 0b36ed0 commit 9b7bdf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/community/langchain_community/storage/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class SQLStore(BaseStore[str, bytes]):
.. code-block:: python
from langchain_rag.storage import SQLStore
from langchain_community.storage import SQLStore
# Instantiate the SQLStore with the root path
sql_store = SQLStore(namespace="test", db_url="sqlite://:memory:")
Expand Down

0 comments on commit 9b7bdf1

Please sign in to comment.