mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-19 00:00:37 +02:00
9 lines
344 B
Python
9 lines
344 B
Python
from onyx.key_value_store.interface import KeyValueStore
|
|
from onyx.key_value_store.store import PgRedisKVStore
|
|
|
|
|
|
def get_kv_store() -> KeyValueStore:
|
|
# In the Multi Tenant case, the tenant context is picked up automatically, it does not need to be passed in
|
|
# It's read from the global thread level variable
|
|
return PgRedisKVStore()
|