Skip to main content

Python client library and CLI for using Redis as a vector database

Project description

RedisVL: Python Client Library for Redis as a Vector Database

Home    Documentation    More Projects   

Codecov License Language Code style: black GitHub last commit GitHub deployments pypi

RedisVL provides a powerful Python client library for using Redis as a Vector Database. Leverage the speed and reliability of Redis along with vector-based semantic search capabilities to supercharge your application!

Note: This supported by Redis, Inc. on a good faith effort basis. To report bugs, request features, or receive assistance, please file an issue.


🚀 What is RedisVL?

Vector databases have become increasingly popular in recent years due to their ability to store and retrieve vectors efficiently. However, most vector databases are complex to use and require a lot of time and effort to set up. RedisVL aims to solve this problem by providing a simple and intuitive interface for using Redis as a vector database.

RedisVL provides a client library that enables you to harness the power and flexibility of Redis as a vector database. This library simplifies the process of storing, retrieving, and performing complex semantic and hybrid searches over vectors in Redis. It also provides a robust index management system that allows you to create, update, and delete indices with ease.

Capabilities

RedisVL has a host of powerful features designed to streamline your vector database operations.

  1. Index Management: RedisVL allows for indices to be created, updated, and deleted with ease. A schema for each index can be defined in yaml or directly in python code and used throughout the lifetime of the index.

  2. Embedding Creation: RedisVLs Vectorizers integrate with common embedding model services to simplify the process of vectorizing unstructured data.

  3. Vector Search: RedisVL provides robust search capabilities that enable you quickly define complex search queries with flexible abstractions.

  4. Hybrid (Filtered) queries that utilize tag, geographic, numeric, and other filters like full-text search are also supported.

  5. Semantic Caching: LLMCache is a semantic caching interface built directly into RedisVL. Semantic caching is a popular technique to increase the QPS and reduce the cost of using LLM models in production.

  6. JSON Storage: RedisVL supports storing JSON objects, including vectors, in Redis.

Installation

Install redisvl using pip:

pip install redisvl

For more instructions, see the installation guide.

Getting Started

To get started with RedisVL, check out the

Contributing

Please help us by contributing PRs or opening GitHub issues for desired behaviors or discovered bugs. Read more about how to contribute to RedisVL!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

redisvl-0.0.7.tar.gz (40.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

redisvl-0.0.7-py3-none-any.whl (50.3 kB view details)

Uploaded Python 3

File details

Details for the file redisvl-0.0.7.tar.gz.

File metadata

  • Download URL: redisvl-0.0.7.tar.gz
  • Upload date:
  • Size: 40.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for redisvl-0.0.7.tar.gz
Algorithm Hash digest
SHA256 4f7ffe4425915eb8deed89913d13a987195dd4661c65a57a6c8c9db95a841110
MD5 b8c49c6ee3411a9b452f3bc69f8c27ea
BLAKE2b-256 d08c614da59eef442fcbe08ec3fa3d95340e4d011271c6a1a192372192655ab4

See more details on using hashes here.

File details

Details for the file redisvl-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: redisvl-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 50.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for redisvl-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 215b30ac0c1328224883d5e0aa013de2f1f2dfb955d36a18ea4a6a4d0f41fe0c
MD5 8fc7b4c41e9313d94d9288a8c598cdcd
BLAKE2b-256 b8e37a9f1a125b0fe8d3b1a2c7f2807a67974440269b47727cc3edbc8d5174ad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page