openai-cookbook
openai-cookbook copied to clipboard
examples parameter error text davinci 003
InvalidRequestError: Unrecognized request argument supplied: example
''' code: response = openai.Completion.create( engine="text-davinci-003", prompt="Write a catchy slogan for a product.\n", examples=[ { "input": "A toothpaste that whitens your teeth and freshens your breath.", "output": "Sparkle and shine with every smile." }, { "input": "A shampoo that nourishes your hair and prevents dandruff.", "output": "Healthy hair starts with Head & Shoulders." } ], max_tokens=10, temperature=0.5, stop="\n" )
print(response["choices"][0]["text"]) '''
I want to perform few shot prompting suggest me how to proceed
These kinds of questions are better suited for community.openai.com
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This issue was closed because it has been stalled for 10 days with no activity.