How to enable the mysql DB with GPTcache? #375
Answered
by
SimFG
terryweijian
asked this question in
Q&A
-
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.
Answered by
SimFG
May 22, 2023
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.
6 replies
Answer selected by
SimFG
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can try the following code snippet:
more examples: https://github.com/zilliztech/GPTCache/blob/main/examples/data_manager/scalar_store.py