Closed ersaijun closed 2 months ago
Bot detected the issue body's language is not English, translate it automatically.
Title: Is the content returned by the API incorrect?
{"auth":true,"method":"POST","status":true}
may I know what is the reason?
`headers = { "Content-Type": "application/json", "Authorization": "sk-f08ajjj7017" }
data = { "max_tokens": 1200, "model": "gpt-3.5-turbo", "temperature": 0.8, "top_p": 1, "presence_penalty": 1, "messages": [ { "role": "system", "content": "You are ChatGPT, a large language model trained by OpenAI. Answer as concisely as possible." }, { "role": "user", "content": "How much are you chatGPT?" } ] }
response = requests.post(url, headers=headers, data=json.dumps(data).encode('utf-8') ) result = response.content.decode("utf-8")
print(result)`
What is returned is {"auth":true,"method":"POST","status":true}
不是你url是啥呢
Bot detected the issue body's language is not English, translate it automatically.
If not, what is your url?
{"auth":true,"method":"POST","status":true}
请问这是什么原因呢?