redis / redis-vl-python

Redis Vector Library (RedisVL) interfaces with Redis' vector database for realtime semantic search, RAG, and recommendation systems.
https://www.redisvl.com/
MIT License
210 stars 32 forks source link

Add client info reporting #155

Closed tylerhutcherson closed 3 months ago

tylerhutcherson commented 3 months ago

We need to be able to track the usage of clients for measuring adoption and impact. The CLIENT SETINFO command can be used for this purpose. The required string format is documented here.

Variants

Constraints

Planned Route

In order to build the proper name string, all clients that wrap redis-py will need to use the following format:

{package-name}_v{version}

RedisVL will implement the default which is redisvl_v0.x.x, but outer wrappers of RedisVL can implement their own by using a lib_name kwarg on the index class like

SearchIndex(lib_name="langchain_v0.2.1")