I’m building an app that utilizes chatgpt’s api. Now I want to have specific data on that API eg frameworks, financial models etc. Just like how a customgpt functions. Is there a way I can have this api access custom data?
What you’re looking for is the tools functionality of the API. However, the API doesn’t really access your data, but sends back a response to your app as a tool_calls, then you use your codes to get the answer from your data then you send that answer back to the API, then the API will bind that answer into a new response.
You can check the online documentation of OpenAI to learn how to make tool_calls.