{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreig4bistrd2siay33wtt66d5rqjfy67zhgjx22row7tvhx6doz3dre",
"uri": "at://did:plc:lk3jfj3zq4k4wxnk474axylu/app.bsky.feed.post/3mh6lufuiwra2"
},
"path": "/t/i-am-trying-to-build-a-simple-ai-chatbot-using-the-gpt-4-api-i-created-an-api-key-but-i-dont-understand-how-to-send-a-request-from-python-can-someone-show-a-simple-example/1376906#post_1",
"publishedAt": "2026-03-16T12:18:45.000Z",
"site": "https://community.openai.com",
"textContent": "I am trying to build a simple AI chatbot using the GPT-4 API.\n\nI created an API key but I don’t understand how to send a request from Python.\n\nCan someone show a simple example?",
"title": "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?"
}