If I use both I get a json error. Use one or the other they work.

Not sure what I am doing wrong or if this is a feature
1 Like
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”: “system”, “content”: “You are a helpful assistant.”}, {“role”: “user”, “content”: “Hello!”}]
}’
as it’s cURL, maybe it’s your extra line break(s)?
3 Likes
Happy to help. Hope you stick around and help someone else someday to pass it on! 
Have fun coding!
2 Likes
Thankyou. Yes I am excited about learning more and trying out GPT-4. I think I am going to be around a long time. God Willing