import requests url = "https://philsad-dad-knows-best-api.hf.space/proxy/mistral" data = { "model": "mistral-large", "temperature": 0.1, "top_p": 1, "max_tokens": 1000, "messages": [ { "role": "system", "content": "hello" }, { "role": "user", "content": "say hello" } ] } response = requests.post(url, json=data) print(response.status_code) print(response.text)