Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW] Vector databse related support #950

Open
indranilr opened this issue Aug 26, 2024 · 1 comment
Open

[NEW] Vector databse related support #950

indranilr opened this issue Aug 26, 2024 · 1 comment

Comments

@indranilr
Copy link

indranilr commented Aug 26, 2024

The problem/use-case that the feature addresses

Enable use of Valkey with LLM applications for semantic LLM caching, semantic conversation cache, LLM semantic routing

Description of the feature

  • Introduce support for vector data types and similarity search query
    • Support following methods and engines (Method : HNSW,FLAT, Engine : NMSLIB, Faiss)
  • Vector Range Search (e.g. find all vectors within a radius of a query vector)
  • Support Hyrbid search (lexical and semantic search)
  • Document ranking (using tf-idf, with optional user-provided weights)
  • Support for JSON based representation of vectors.
  • LLM Semantic Cache and Chat Session history management APIs support
  • Introduce related client python library to use the vector database related function from LLM chain - integration with Langchain, haystack, llamaIndex
  • Have default embedding models or use custom embedding/re-ranking, ability to integrate with HCP hosted Embedding/reranking models for the same through configuration.

Alternatives you've considered

Refer to below issue.

https://github.com/orgs/valkey-io/discussions/371

Additional information

Consider port of https://www.redisvl.com/index.html

@valkey-io valkey-io deleted a comment from dseynhae Aug 26, 2024
@PingXie
Copy link
Member

PingXie commented Aug 27, 2024

Great timing :-). There is an RFC proposal for this exact topic: valkey-io/valkey-rfc#8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@PingXie @indranilr and others