How to enable the mysql DB with GPTcache? #375
-
Could you please introduce how to setup the GPTcache with mysql database? Or example of using mysql with GPTcache. suppose there should be a config file to store the mysql connection information like host, port, user, password and etc. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
you can try the following code snippet:
more examples: https://github.com/zilliztech/GPTCache/blob/main/examples/data_manager/scalar_store.py |
Beta Was this translation helpful? Give feedback.
you can try the following code snippet:
more examples: https://github.com/zilliztech/GPTCache/blob/main/examples/data_manager/scalar_store.py