Train custom data through API to gpt-4 model

Need to train our own data through API for chat with sql-server data, i can’t connect sql server directly so i need train with the API

How can i ?

1 Like

Hi @kiranvirat ,

See docs for details on how to do it, you’ll still need to prepare your data by exporting it and preparing in/out pairs …

The thing is it will not solve your biggest challenge: model access to the real data. So even after training you’ll get results you will be disappointed with. So why bother?

Solve SQL server access first (indirect data access in your case?).

Hi @sergeliatko
Thanks for your response

now I can solve the SQL server connected issue
with creating the .net API for access the real data from database using NLP and Open AIAPI key

1 Like

Yes, api wrapper around your data is a good starting point, something as simple as read first, then possibly custom endpoints for “most used” cases, some aggregation endpoints (for analysis), eventually full CRUD coverage by your wrapper endpoints. Then (if needed) auth manager for access control and possibly an mcp server for external usage (if intended to be consumable from outside)