Examples and guides for using the OpenAI API
docs: fix example code in fine-tuned_qa section 2.3
Akshaye894ddf315d4
diff --git a/examples/fine-tuned_qa/olympics-2-create-qa.ipynb b/examples/fine-tuned_qa/olympics-2-create-qa.ipynbindex db5274db..48945e50 100644--- a/examples/fine-tuned_qa/olympics-2-create-qa.ipynb+++ b/examples/fine-tuned_qa/olympics-2-create-qa.ipynb@@ -256,7 +256,7 @@" try:\n"," response = openai.Completion.create(\n"," engine=\"davinci-instruct-beta-v3\",\n",- " prompt=f\"Write questions based on the text below\\n\\nText: {row.context}\\n\\nQuestions:\\n{row.questions}\\n\\nAnswers:\\n1.\",\n",+ " prompt=f\"Write answer based on the text below\\n\\nText: {row.context}\\n\\nQuestions:\\n{row.questions}\\n\\nAnswers:\\n1.\",\n"," temperature=0,\n"," max_tokens=257,\n"," top_p=1,\n",