Skip to content
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

return correct context length for text-embedding-ada-002 #41

Merged

Conversation

ursachec
Copy link
Contributor

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

Longer context. The context length of the new model is increased by a factor of four, from 2048 to 8192, making it more convenient to work with long documents.

from https://openai.com/blog/new-and-improved-embedding-model:
```
Longer context. The context length of the new model is increased by a factor of four, from 2048 to 8192, making it more convenient to work with long documents.
```
@ursachec
Copy link
Contributor Author

@zurawiki a small fix for your consideration. A review would be highly appreciated.

@zurawiki
Copy link
Owner

Thank you for this contribution @ursachec. Once CI passes, I will merge this PR and ship a new release

@ursachec
Copy link
Contributor Author

That's great, thanks for the super-fast response @zurawiki!

@zurawiki zurawiki merged commit e2e54f2 into zurawiki:main Oct 16, 2023
@ursachec ursachec deleted the fix/context-length-text-embedding-ada-002 branch October 16, 2023 14:45
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