GPTCache icon indicating copy to clipboard operation
GPTCache copied to clipboard

[Feature]: Support MongoDB Atlas for both scalar and vector data

Open Adam-Gibbs opened this issue 1 year ago • 2 comments

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

As noted in https://github.com/zilliztech/GPTCache/issues/200 It would be nice to have a NoSQL implementation, personally I prefer Mongo to DynamoDB due to the breath of operations you can perform on it compared to Dynamo.

Describe the solution you'd like.

Hooking into their python driver PyMongo to store the scalar data in a standard NoSQL format. Mongo also offer a graph database option for storing and accessing the vector data MongoDB as a Graph Database. I would like to have a simplified data storage solution only using one provider.

Describe an alternate solution.

No response

Anything else? (Additional Context)

Also, this is brilliant, was a few weeks away from trying to create something similar for myself. But this is a great solution for my problems.

Adam-Gibbs avatar Apr 21 '23 11:04 Adam-Gibbs

@Adam-Gibbs Thanks your attention. Contributions are also welcome if possible. Of course, we will also include this in our plan

SimFG avatar Apr 21 '23 12:04 SimFG

MongoDB is a good idea!

xiaofan-luan avatar Apr 21 '23 16:04 xiaofan-luan

The latest version has supported the mongo db as the cache store

SimFG avatar Jul 07 '23 14:07 SimFG