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

Batch API Support for Open AI #956

Open
Mahgozar opened this issue Dec 20, 2024 · 3 comments
Open

Batch API Support for Open AI #956

Mahgozar opened this issue Dec 20, 2024 · 3 comments
Labels
question Further information is requested

Comments

@Mahgozar
Copy link

Batch API offers significantly reduced costs specially for embedding models that you need a lot of content to be indexed

@logancyang
Copy link
Owner

logancyang commented Dec 20, 2024

OpenAI Batch API is not realtime and it takes up to 24hr to get the result. https://platform.openai.com/docs/guides/batch

@logancyang logancyang added the question Further information is requested label Dec 20, 2024
@Mahgozar
Copy link
Author

exactly because its not real time it can be useful for the first time you want to index a large vault, it's gonna take a long time anyway, might as well make it cost a lot less

@logancyang
Copy link
Owner

@Mahgozar are you ok with having your index ready in 24hr? Most people are not. Might as well just use a local model for free and it's much faster as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants