Hey there, I got that code in my backend and conncetion to gpt-3 is working fine. But here is the issue to connect it with the assistant. Has anyone experience in that? What is missing?
You are a very long way away from being able to interact with an assistant with that code. You have a chat completion request there. The only thing that would indicate differently is that you added an unused line at the start with a non-existent URL.
Are you actually trying to use the new “assistants” framework on the API? That takes much more complex code.
Or is it just that the upgrade to gpt-4 in code is not working for you because you haven’t funded your API account with prepaid credits to unlock gpt-4 models yet?
thanks for your aswer. Yes I will try the new assistants framework and the money isnt the problem here. I made some modifications but i got that error notification:
No, using “assistants” is FAR FAR beyond just changing some URL.
You create the assistant, create threads, create messages with threads, create runs, monitor run steps, monitor for completion or an AI request for an external function, track IDs of all parts used…All different API calls that must be coordinated.