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

Request timeout when using multiple metrics #1376

Open
vinhqdang opened this issue Feb 21, 2025 · 1 comment
Open

Request timeout when using multiple metrics #1376

vinhqdang opened this issue Feb 21, 2025 · 1 comment

Comments

@vinhqdang
Copy link

❗BEFORE YOU BEGIN❗
Are you on discord? 🤗 We'd love to have you asking questions on discord instead: https://discord.com/invite/a3K9c8GRGt

Describe the bug

I am building an evaluation with multiple metrics

def evaluate_llm_response(test_case): return evaluate( test_case, [hallucination_metric, relevancy_metric, bias_metric] )

I am using gpt4o for evaluation, and always receive the error message APITimeoutError: Request timed out.. If I reduce the number of metrics to 2, it works well.

To Reproduce
Run the function evaluate_llm_response with any test case

Expected behavior
All metrics are evaluated

Screenshots

Desktop (please complete the following information):

  • OS:MacOS

Additional context
Add any other context about the problem here.

@penguine-ip
Copy link
Contributor

@vinhqdang maybe your evaluation llm ran into rate limits?

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

No branches or pull requests

2 participants