Get a SingleStore ChatGPT plugin up and running in under 5 minutes using Python. If you do not already have plugin developer access, please join the waitlist.
To install the required packages for this plugin, run the following command:
pip install -r requirements.txt
To run the plugin, enter the following command:
python main.py
Once the local server is running:
- Navigate to https://chat.openai.com.
- In the Model drop down, select "Plugins" (note, if you don't see it there, you don't have access yet).
- Select "Plugin store"
- Select "Develop your own plugin"
- Enter in
localhost:5003
since this is the URL the server is running on locally, then select "Find manifest file".
The plugin should now be installed and enabled!
If you'd like to use your own database, change the username, password, and endpoint URL in main.py.
Right now the plugin is capable of understanding and running queries to answer questions. Try asking for the table shape, or just asking questions!