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/libs/community/tests/integration_tests/storage
Philippe PRADOS f5856680fe
community[minor]: add mongodb byte store (#23876)
The `MongoDBStore` can manage only documents.
It's not possible to use MongoDB for an `CacheBackedEmbeddings`.

With this new implementation, it's possible to use:
```python
CacheBackedEmbeddings.from_bytes_store(
    underlying_embeddings=embeddings,
    document_embedding_cache=MongoDBByteStore(
      connection_string=db_uri,
      db_name=db_name,
      collection_name=collection_name,
  ),
)
```
and use MongoDB to cache the embeddings !
2 months ago
..
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
test_astradb.py infra: update mypy 1.10, ruff 0.5 (#23721) 3 months ago
test_cassandra.py infra: update mypy 1.10, ruff 0.5 (#23721) 3 months ago
test_mongodb.py community[minor]: add mongodb byte store (#23876) 2 months ago
test_redis.py infra: update mypy 1.10, ruff 0.5 (#23721) 3 months ago
test_sql.py community[minor]: Add SQL storage implementation (#22207) 4 months ago
test_upstash_redis.py infra: update mypy 1.10, ruff 0.5 (#23721) 3 months ago