GPTCache icon indicating copy to clipboard operation
GPTCache copied to clipboard

[Feature]: qdrant as a vector store

Open regstuff opened this issue 2 years ago • 6 comments

Is your feature request related to a problem? Please describe.

Hi. Glad someone finally made this. Been on my mind for a long time. Any chance of supporting qdrant as a vector store? Qdrant also allows filtering by metadata which can be helpful if you only want to retrieve cache from within a certain date range for example. Qdrant can also store the llm response as metadata which eliminates the sqlite requirement. The new qdrant local mode means you dont have to setup a server via docker. Just install from pip and you are ready to go.

Describe the solution you'd like.

No response

Describe an alternate solution.

No response

Anything else? (Additional Context)

No response

regstuff avatar Apr 07 '23 02:04 regstuff

qdrant is on the list, please stay tuned.

SimFG avatar Apr 07 '23 03:04 SimFG

we actually has a pr for this. If you want to implement the local mode version on yourself that would be highly welcomed

xiaofan-luan avatar Apr 07 '23 03:04 xiaofan-luan

Any update on this?

dagthomas avatar May 06 '23 20:05 dagthomas

anyone interesting could take on the pr and work on this

xiaofan-luan avatar May 07 '23 02:05 xiaofan-luan

Happy to start working on this!

parthvnp avatar May 08 '23 05:05 parthvnp

Happy to start working on this!

Please take it and open an issue~ Anyone would like to work on any vector store is warmly welcomed~

xiaofan-luan avatar May 09 '23 00:05 xiaofan-luan

@parthvnp any update on qdrant?

Torhamilton avatar May 31 '23 17:05 Torhamilton

@Torhamilton It will be ready by this Saturday!

parthvnp avatar May 31 '23 17:05 parthvnp

@parthvnp looking forward to your pr

Torhamilton avatar Jun 10 '23 05:06 Torhamilton

@parthvnp Hey~ how about the project update?

DumoeDss avatar Jun 27 '23 10:06 DumoeDss

@DumoeDss @Torhamilton Sorry for the delay. I have created a PR

parthvnp avatar Jun 28 '23 05:06 parthvnp

@parthvnp Thanks your contribution!!! The next GPTCache version will support the qdrant vector database. @DumoeDss @Torhamilton @dagthomas

SimFG avatar Jun 29 '23 09:06 SimFG