#Regarding OpenAI's Codex Models
1 messages · Page 1 of 1 (latest)
Hi @midnight swallow. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
Yes, you can use OpenAI's Codex models such as code-davinci-002. However, it's important to note that unlike instruction-following text models (e.g., text-davinci-002), Codex is not trained to follow instructions. As a result, designing good prompts can take more care. Codex powers more than 70 products, including GitHub Copilot, Pygma, Replit, Warp, and Machinet[^1^].
For example, if you're using the OpenAI Node.js library, you can use the createCompletion method with the code-davinci-002 model[^2^]. Here's an example of how you might do this:
const response = await openai.createCompletion({
model: "code-davinci-002",
prompt: "# Hello",
temperature: 0,
max_tokens: 256
});
However, please note that this will only work if your account has been invited to the Codex beta[^2^].
^1^]: [OpenAI Cookbook - How to work with large language models (https://github.com/openai/openai-cookbook/blob/main/articles/how_to_work_with_large_language_models.md)
^2^]: [OpenAI Node.js Library - Github Issue (https://github.com/openai/openai-node/issues/15)
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@midnight swallow kapa.ai is still learning and improving, please let us know how it did by reacting below
@steep talon codex beta?
Let me check the knowledge base for you. One moment! :books:
Yes, Codex is currently in beta. It's a specialized code model developed by OpenAI and powers more than 70 products[^1^]. However, to use models like code-davinci-002, your account needs to be invited to the Codex beta[^2^].
If you're interested in exploring the API, OpenAI provides several resources to get started, including an Introduction, Playground, Developer Quick Start, Help center, and Example prompts[^3^].
^1^]: [OpenAI Cookbook - How to work with large language models (https://github.com/openai/openai-cookbook/blob/main/articles/how_to_work_with_large_language_models.md)
^2^]: [OpenAI Node.js Library - Github Issue (https://github.com/openai/openai-node/issues/15)
^3^]: [OpenAI Help Article - How do I start exploring the API? (https://help.openai.com/en/articles/4936851-how-do-i-start-exploring-the-api)
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@midnight swallow kapa.ai is still learning and improving, please let us know how it did by reacting below
(It seems to be focusing on an outdated github issue)
Good point! We should get the issues limited to only recent ones (from last 6months too). 👍
@steep talon Please list all current beta OpenAI products/services
Let me check the knowledge base for you. One moment! :books:
Based on the information provided in the extracts, the following OpenAI products/services are currently in beta:
-
Assistants API: This API allows you to build AI assistants within your own applications. It currently supports three types of tools: Code Interpreter, Retrieval, and Function calling[^1^].
-
Tools Beta: This includes OpenAI-hosted tools like Code Interpreter and Knowledge Retrieval, or you can build your own tools using Function calling[^3^].
-
Codex: This is a specialized code model developed by OpenAI and is currently in beta[^2^].
Please note that this list is based on the information available in the provided extracts and may not include all of OpenAI's beta products/services.
^1^]: [OpenAI Assistants API Overview (https://platform.openai.com/docs/assistants/overview)
^2^]: [OpenAI Cookbook - How to work with large language models (https://github.com/openai/openai-cookbook/blob/main/articles/how_to_work_with_large_language_models.md)
^3^]: [OpenAI Assistants Tools Beta (https://platform.openai.com/docs/assistants/tools)
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@midnight swallow kapa.ai is still learning and improving, please let us know how it did by reacting below
(this is outdated)
- Copilot may still use some variation of codex for some functionality but they use GPT-4 now
- I'm not even sure if Pygma still exists, the domain is for sale
- Replit doesn't even mention OpenAI in their docs and they make their own models (https://huggingface.co/replit/replit-code-v1_5-3b)
- Not sure about warp, they claim it is "Warp AI based on OpenAI's GPT 3.x API" - I've posted a question in their Discord
- Machinet switched to GPT-4
went ahead and started updating this made a pull request 