langchain/libs/community/tests/integration_tests/cache
volodymyr-memsql a4eb6d0fb1
community: add SingleStoreDB semantic cache (#23218)
This PR adds a `SingleStoreDBSemanticCache` class that implements a
cache based on SingleStoreDB vector store, integration tests, and a
notebook example.

Additionally, this PR contains minor changes to SingleStoreDB vector
store:
 - change add texts/documents methods to return a list of inserted ids
 - implement delete(ids) method to delete documents by list of ids
 - added drop() method to drop a correspondent database table
- updated integration tests to use and check functionality implemented
above


CC: @baskaryan, @hwchase17

---------

Co-authored-by: Volodymyr Tkachuk <vtkachuk-ua@singlestore.com>
2024-07-05 09:26:06 -04:00
..
fake_embeddings.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
test_astradb.py multiple: langchain 0.2 in master (#21191) 2024-05-08 16:46:52 -04:00
test_azure_cosmosdb_cache.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
test_cassandra.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
test_gptcache.py multiple: langchain 0.2 in master (#21191) 2024-05-08 16:46:52 -04:00
test_momento_cache.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
test_opensearch_cache.py multiple: langchain 0.2 in master (#21191) 2024-05-08 16:46:52 -04:00
test_redis_cache.py multiple: langchain 0.2 in master (#21191) 2024-05-08 16:46:52 -04:00
test_singlestoredb_cache.py community: add SingleStoreDB semantic cache (#23218) 2024-07-05 09:26:06 -04:00
test_upstash_redis_cache.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00