Support partition key in Milvus #602
ziyi-curiousthing
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
@ziyi-curiousthing |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
We are building a cache layer for openAI backend in our solution and currently experimenting with GPTCache. We used mysql + milvus (zilliz) as our datastore. In our solution, we have the requirement to refine the search space of the cache, e.g. search only part of the cache matching some criteria. We find one way to do it -- initialise a number of cache instances using different datastores to divide the cache, e.g. different tables in mysql + a separate collection in zilliz. However, we hit number of collections limitation in zilliz (256 collections per cluster). We have an idea to utilise the partition feature of milvus to reduce the number of collections needed, so that we can search with the partition key. However, this will require an update in gptcache. Do you think it is feasible and acceptable to do it? If yes, we can work on the feature and potentially send you a pull request.
Beta Was this translation helpful? Give feedback.
All reactions