curl https://api.openai.com/v1/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{
"model": "text-davinci-003",
"prompt": "Write a school review based on these notes:\n\nName: Ecole des bois\nNice teacher, good equipment.\n\nReview:\nI recently had the opportunity to attend Ecole des bois and I can confidently say that it was a great experience. The teacher was very nice and the equipment they had was top-notch. I would highly recommend Ecole des bois to anyone looking for a quality education.",
"temperature": 0.5,
"max_tokens": 256,
"top_p": 1,
"frequency_penalty": 0,
"presence_penalty": 0
}'
uxme2022-12-30T02:11:10+00:00