刚试过了还是不行哦
curl --location --request POST 'https://oai.itsfurry.com/v1/chat/completions' \
--header 'Authorization: Bearer sk-xxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "gpt-3.5-turbo-instruct",
"prompt": "Say this is a test",
"max_tokens": 7,
"temperature": 0
}'
响应
{
"error": {
"message": "field messages is required (request id: 20240805143820936624026M712oUVb)",
"type": "new_api_error",
"param": "",
"code": "invalid_text_request"
}
}