Integrating the ChatGPT (endpoint) model with SQL MindsDB.
English | Русский
Setup:
- Register at https://mindsdb.com
- Enter password and login into .env
- Create a model on mindsdb, these docs will help you: https://docs.mindsdb.com/integrations/ai-engines/openai Example: CREATE MODEL model_name PREDICT answer USING engine = 'openai', model_name = 'openai_model_name', question_column = 'question', context_column = 'context', api_key = 'YOUR_OPENAI_API_KEY';
- Done! You can also use my work for other purposes, the project was created as an endpoint for the Better GPT website, at the moment its further development will be frozen.