Mlops, AI, Machine Learning, Computer Vision, Data Science.
requests.post("https://api.openai.com/v1/chat/completions", headers=headers, json=payload) print(response.json()) Output: {'id': 'chatcmpl-68K9JOoOEvB', 'object': 'chat.completion', 'created': 1437, 'model': 'gpt-4-1106-vision-preview', 'usage': {'prompt_tokens': 1122, 'completion_tokens': 254,