feat: add support for Valkey vector database (#24769)
* feat: add support for Valkey vector database Signed-off-by: Riley Des <riley.desserre@improving.com> * feat: add CLIENT SETNAME to Valkey vector store connections Set client_name on GlideClientConfiguration for both the main client and batch client so connections are identifiable in CLIENT LIST, monitoring dashboards, and CloudWatch metrics. Signed-off-by: Riley Des <riley.desserre@improving.com> --------- Signed-off-by: Riley Des <riley.desserre@improving.com>
This commit is contained in:
1 parent
8644532f5b
commit
567c4aabe9
7 files changed
+746
-1
No files matched your search
@@ -80,6 +80,10 @@ class Vector:
|
||||
from open_webui.retrieval.vector.dbs.weaviate import WeaviateClient
|
||||
|
||||
return WeaviateClient()
|
||||
case VectorType.VALKEY:
|
||||
from open_webui.retrieval.vector.dbs.valkey import ValkeyClient
|
||||
|
||||
return ValkeyClient()
|
||||
case _:
|
||||
raise ValueError(f'Unsupported vector type: {vector_type}')
|
||||
|
||||
|
||||
Reference in new issue
Block a user