Skip to content

Releases: shivendrasoni/vector-cache

1.1.1

Choose a tag to compare

@shivendrasoni shivendrasoni released this 03 Jul 21:49

Support to add context along with the query, useful when similar queries are fired across different contexts.

Major Release

Choose a tag to compare

@shivendrasoni shivendrasoni released this 03 Jul 14:22

Major Update

- Update vector store implementations to use cosine similarity instead of cosine distances, as its a more semantically relevant metric (and is always positive).
- Add redis_vector store example
- Added feature for adaptive threshold adjustment
- Update example function signature to new vector cache

- Cleaned requirement.txt, now only ChromaDB and openai are required installs.
- Added default value to inmemory LRU and LFU cache storage (only for testing).
- Updated README
- Fixed module init files, so not to throw error of optinal imports.
- Added LRU example.

1.0.0

Choose a tag to compare

@shivendrasoni shivendrasoni released this 01 Jul 10:47

Major Release
Add new cache stores support. We now support:

memcache
simple in_memory lru cache (only for development and testing)
simple in_memory lfu cache (only for development and testing)
Add new vector stores support. We now support:

pgvector
redis vector store
qdrant
pinecone
Update setup.py, so that 3rd party libraries are now extra_requirements

Add support for defining custom keys used as index for the documents.:

This can be useful when namespacing for different things of the same type. (different properties on a hotel booking site).

You can define a prefix (string)

You can pass a function or lambda (callable)

Defaults to UUID4

0.1.1

Choose a tag to compare

@shivendrasoni shivendrasoni released this 26 Jun 11:56

Major bugfix release.

  1. Fixed persistent mode ChromaDB issues.
  2. Added example using OpenAI embeddings & openai chat completion.
  3. Updated openai embedding models available.