Pythonスクリプト import requests import json def post_request(api_key): url = "http://localhost/v1/chat-messages" headers = { "Authorization": f"Bearer {api_key}", "Content-Type": "application/json", } data = json.dumps({ "inputs": {}, "query": "What are the specs of the iPhone 13 Pro Max?", "response_mode": "streaming", "conversation_id": "", "user": "abc-123", }) response = requests.post(url, headers