Hello All,
First project learning bubble.
I am trying to install the OpenAI plugin and copy/pasted the cUrl code from the OpenAI Making References tab on the API Reference page but the copied code does not work. I get an error saying: “couldn’t parse cUrl. Check that you only use supported fields”. Not sure what to do here.
Here is the code I copied from the OpenAI page:
curl https://api.openai.com/v1/chat/completions
-H “Content-Type: application/json”
-H “Authorization: Bearer $OPENAI_API_KEY”
-d ‘{
“model”: “gpt-3.5-turbo”,
“messages”: [{“role”: “user”, “content”: “Say this is a test!”}],
“temperature”: 0.7
}’
Any help would be greatly appreciated.
Thanks,
Ather