Pass additional information to curl -d
#1045
Answered
by
karthink
CsBigDataHub
asked this question in
Q&A
-
Lets say I want to pass
like in the curl below, How would I do that? Here is openai documentation, https://platform.openai.com/docs/guides/reasoning#reasoning-summaries curl https://api.openai.com/v1/responses \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{
"model": "gpt-5",
"input": "What is the capital of France?",
"text": {
"verbosity": "low",
"summary": "auto"
},
"reasoning": {
"effort": "low",
"summary": "auto"
}
}' |
Beta Was this translation helpful? Give feedback.
Answered by
karthink
Aug 22, 2025
Replies: 2 comments
-
I have used
Both did not work |
Beta Was this translation helpful? Give feedback.
0 replies
-
:request-params '( :text (:verbosity "low" :summary "auto")
:reasoning (:effort "low" :summary "auto")) But I am not sure if it will work, because gptel does not support the OpenAI Responses API. You can try it and see. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
CsBigDataHub
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
But I am not sure if it will work, because gptel does not support the OpenAI Responses API. You can try it and see.