You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/tests/integration_tests
Anirudh Suresh 03ac39368f
Fixing DeepLake Overwrite Flag (#4683)
# Fix DeepLake Overwrite Flag Issue

Fixes Issue #4682: essentially, setting overwrite to False in the
DeepLake constructor still triggers an overwrite, because the logic is
just checking for the presence of "overwrite" in kwargs. The fix is
simple--just add some checks to inspect if "overwrite" in kwargs AND
kwargs["overwrite"]==True.

Added a new test in
tests/integration_tests/vectorstores/test_deeplake.py to reflect the
desired behavior.


Co-authored-by: Anirudh Suresh <ani@Anirudhs-MBP.cable.rcn.com>
Co-authored-by: Anirudh Suresh <ani@Anirudhs-MacBook-Pro.local>
Co-authored-by: Dev 2049 <dev.dev2049@gmail.com>
1 year ago
..
agent
cache
callbacks
chains
chat_models
document_loaders Feature: pdfplumber PDF loader with BaseBlobParser (#4552) 1 year ago
embeddings
examples Harrison/sitemap local (#4704) 1 year ago
llms Add summarization task type for HuggingFace APIs (#4721) 1 year ago
memory
prompts
retrievers
utilities [Feature] Add GraphQL Query Tool (#4409) 1 year ago
vectorstores Fixing DeepLake Overwrite Flag (#4683) 1 year ago
.env.example
__init__.py
conftest.py
test_document_transformers.py
test_nlp_text_splitters.py
test_pdf_pagesplitter.py
test_schema.py
test_text_splitter.py