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

evaluate() needs optional delay to prevent rate limiting by API #1519

Open
bdytx5 opened this issue Oct 16, 2024 · 6 comments
Open

evaluate() needs optional delay to prevent rate limiting by API #1519

bdytx5 opened this issue Oct 16, 2024 · 6 comments
Labels
answered 🤖 The question has been answered. Will be closed automatically if no new comments enhancement New feature or request

Comments

@bdytx5
Copy link

bdytx5 commented Oct 16, 2024

Describe the Feature
see title
Why is the feature important for you?
avoid rate limiting
Additional context
no

@bdytx5 bdytx5 added the enhancement New feature or request label Oct 16, 2024
@jjmachan
Copy link
Member

we actually have something for that - could you check out https://docs.ragas.io/en/stable/howtos/customizations/_run_config/ and let me know if it is working 🙂

@jjmachan jjmachan added the answered 🤖 The question has been answered. Will be closed automatically if no new comments label Oct 16, 2024
@bdytx5
Copy link
Author

bdytx5 commented Oct 16, 2024

ah ok thanks. Are these ""Exception raised in Job[200]: TimeoutError()
Exception raised in Job[198]: TimeoutError()"" self recovering, or is this saying it will skip over the data?

@jjmachan
Copy link
Member

jjmachan commented Oct 16, 2024

it will skip over

check the raise_exceptions flag if you have doubts 🙂

@bdytx5
Copy link
Author

bdytx5 commented Oct 16, 2024

I just mean it as a question, do these try the call again, or just skip them?

@jjmachan
Copy link
Member

edited

@bdytx5
Copy link
Author

bdytx5 commented Oct 17, 2024

Ah ok. By default, do you think it should try again? Skipping over examples due to rate limiting seems to skew the results of the entire evaluation. Do you think it should wait to try again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered 🤖 The question has been answered. Will be closed automatically if no new comments enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants