dalenguyen / dalenguyen.github.io

Personal website with Github pages and Angular
http://dalenguyen.me
25 stars 16 forks source link

Updating dalenguyen.github.io/libs/openai/src/models/engine.model.ts with all available engines #50

Open microsoftbuild opened 2 years ago

microsoftbuild commented 2 years ago

Hi @dalenguyen

Recently OpenAI updated the engine nomenclature and now upon calling .engines() we get this list of engines: ada-search-document ada-search-query ada-similarity babbage babbage-code-search-code babbage-code-search-text babbage-instruct-beta babbage-search-document babbage-search-query babbage-similarity code-cushman-001 code-davinci-001 code-search-ada-code-001 code-search-ada-text-001 code-search-babbage-code-001 code-search-babbage-text-001 curie curie-instruct-beta curie-instruct-beta-v2 curie-search-document curie-search-query curie-similarity cushman-codex davinci davinci-codex davinci-instruct-beta davinci-instruct-beta-v3 davinci-search-document davinci-search-query davinci-similarity text-ada-001 text-babbage-001 text-curie-001 text-davinci-001 text-search-ada-doc-001 text-search-ada-query-001 text-search-babbage-doc-001 text-search-babbage-query-001 text-search-curie-doc-001 text-search-curie-query-001 text-search-davinci-doc-001 text-search-davinci-query-001 text-similarity-ada-001 text-similarity-babbage-001 text-similarity-curie-001 text-similarity-davinci-001

Here's the OpenAI reference for the revised engine nomenclature: https://help.openai.com/en/articles/5832130-what-s-changed-with-engine-names-and-best-practices

microsoftbuild commented 2 years ago

How would you like to proceed given the list?

dalenguyen commented 2 years ago

@microsoftbuild are you planning to use all of them?

microsoftbuild commented 2 years ago

Not all of them, but adding all of them will make the library usable for more folks.