Prasant commited on
Commit
bb54789
1 Parent(s): 532b968

Upload article_6283125.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. article_6283125.json +1 -0
article_6283125.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"text": "*This article is only relevant if you started using the API before June 6, 2022.*\n\n\n\nWe are deprecating the term \u2018engine\u2019 in favor of \u2018model\u2019. Most people already use these terms interchangeably, and we consistently hear that \u2018model\u2019 is more intuitive. \n\n\n\nMoving forward, API requests will work by referencing a \u2018model\u2019 instead of an \u2018engine\u2019. If you have used a fine-tuned model, then you are already familiar with using \u2018model\u2019 instead of \u2018engine\u2019 when making an API request. Engine listing is also being replaced by Model listing, which will consolidate both base and fine-tuned models in a single place.\n\n\n\n**We will maintain backward compatibility for requests using \u2018engine\u2019 as a parameter, but recommend updating your implementation as soon as you can to prevent future confusion.**\n\n\n\nFor example, a request to the completions endpoint would now be (full details in our [API reference](https://beta.openai.com/docs/api-reference)):\n\n\n\n\n| | |\n| --- | --- |\n| **Deprecated** | **Current** |\n| \n```\nresponse = openai.Completion.create( engine=\"text-davinci-002\", prompt=\u201dSay hello world three times.\u201d, temperature=0.6)\n```\n | \n```\nresponse = openai.Completion.create( model=\"text-davinci-002\", prompt=\u201dSay hello world three times.\u201d, temperature=0.6)\n```\n |\n| \n```\nopenai api completions.create -e text-davinci-002 -p \"Say hello world three times.\"\n```\n\n | \n```\nopenai api completions.create -m text-davinci-002 -p \"Say hello world three times.\"\n```\n\n |\n| \n```\ncurl https://api.openai.com/v1/engines/text-davinci-002/completions \\-H \"Content-Type: application/json\" \\-H \"Authorization: Bearer YOUR_API_KEY\" \\-d '{\"prompt\": \"Say hello world three times\", \"temperature\": 0.6}'\n```\n | \n```\ncurl https://api.openai.com/v1/completions \\-H \"Content-Type: application/json\" \\-H \"Authorization: Bearer YOUR_API_KEY\" \\-d '{\"prompt\": \"Say hello world three times\",\"model\":\"text-davinci-002\", \"temperature\": 0.6}'\n```\n |\n\nWe have updated endpoint URL paths accordingly (full details in our [API reference](https://beta.openai.com/docs/api-reference)):\n\n\n\n\n| | |\n| --- | --- |\n| **Deprecated** | **Current** |\n| \n```\nhttps://api.openai.com/v1/engines/{engine_id}/completions\n```\n | \n```\nhttps://api.openai.com/v1/completions\n```\n |\n| \n```\nhttps://api.openai.com/v1/engines/{engine_id}/embeddings\n```\n | \n```\nhttps://api.openai.com/v1/embeddings\n```\n |\n| \n```\nhttps://api.openai.com/v1/engines\n```\n | \n```\nhttps://api.openai.com/v1/models\n```\n |\n| \n```\nhttps://api.openai.com/v1/engines/{engine_id}/edits\n```\n | \n```\nhttps://api.openai.com/v1/edits\n```\n |\n\n\n\n", "title": "What happened to \u2018engines\u2019?", "article_id": "6283125", "url": "https://help.openai.com/en/articles/6283125-what-happened-to-engines"}