Skip to content

Switch to the recommended model (text-embedding-ada-002) #495

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Switch to the recommended model (text-embedding-ada-002) #495

wants to merge 1 commit into from

Conversation

bkowshik
Copy link

NOTE: NLP newbie here, happy to take any feedback; have written about my thought-process for this change below.


Was looking at the documentation for embedding model in Python. Then, when I had a sample working, the length of the embedding at 12,288 was too long to what the current trend is and made me look into this in a little more detail. Then came across relevant blog posts and documentation based on which I think this is the right change.

Ref: https://openai.com/blog/new-and-improved-embedding-model

The new model, text-embedding-ada-002, replaces five separate models for text search, text similarity, and code search, and outperforms our previous most capable model, Davinci, at most tasks, while being priced 99.8% lower.

Ref: https://platform.openai.com/docs/guides/embeddings/what-are-embeddings

We recommend using text-embedding-ada-002 for nearly all use cases. It’s better, cheaper, and simpler to use. Read the blog post announcement.

Screenshot 2023-06-22 at 11 22 10

@logankilpatrick
Copy link
Contributor

Thanks for flagging this, I made a new PR and will push this change through there!

safa0 pushed a commit to safa0/openai-agents-python that referenced this pull request Apr 27, 2025
An example for the question in the issue attached - how to run
guardrails during streaming.

Towards openai#495.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants