I am trying to build a simple AI chatbot using the GPT-4 API. I created an API key but I don't understand how to send a request from Python. Can someone show a simple example?
OpenAI Developer Community
March 16, 2026
I am trying to build a simple AI chatbot using the GPT-4 API.
I created an API key but I don’t understand how to send a request from Python.
Can someone show a simple example?
Discussion in the ATmosphere