Troubleshooting of OpenAI API: Difference between revisions

Jump to navigation Jump to search
m
(Invalid parameter: 'response_format' of type 'json_object' is not supported with this model.)
Line 151: Line 151:
     "max_tokens": 1000,
     "max_tokens": 1000,
     "temperature": 0.9,
     "temperature": 0.9,
    "response_format": { "type": "json_object" },
     "messages": [
     "messages": [
             {"role": "system", "content": "#zh-TW You are a helpful assistant. Help me to summarize the article"},
             {"role": "system", "content": "#zh-TW You are a helpful assistant. Help me to summarize the article"},
Anonymous user

Navigation menu