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

Update answer.txt - Add Yoda Enhancement #20

Closed
wants to merge 1 commit into from

Conversation

philip-young
Copy link

Added Yoga Enhancement.

Added Yoga Enhancement.
@philip-young
Copy link
Author

philip-young commented Oct 29, 2024

/evaluate

1 similar comment
@philip-young
Copy link
Author

/evaluate

Copy link

Starting evaluation! Check the Actions tab for progress, or wait for a comment with the results.

Copy link

Evaluation results

metric stat baseline pr20
gpt_groundedness mean_rating 5.0 4.8
pass_rate 1.0 0.95
gpt_relevance mean_rating 4.95 4.8
pass_rate 1.0 0.95
f1_score mean 0.43 0.4
answer_length mean 609.1 480.7
latency mean 2.67 1.76
citations_matched mean 0.63 0.63

Check the workflow run for more details.

@pamelafox
Copy link
Owner

Nice prompt tweak, thanks for coming and PRing!

For your reference, here are my slides:
https://speakerdeck.com/pamelafox/github-universe-evaluating-rag-apps-in-github-actions

And the main repo this was based on:
https://github.com/pamelafox/rag-postgres-openai-python/
with evaluation guide here:
https://github.com/Azure-Samples/rag-postgres-openai-python/blob/main/docs/evaluation.md

To evaluate on Azure,
Azure AI Eval SDK docs are here:
https://learn.microsoft.com/en-us/azure/ai-studio/how-to/develop/evaluate-sdk
And if you're interested in the Azure AI CI/CD private preview, sign up here:
https://aka.ms/genAI-CI-CD-private-preview

@pamelafox pamelafox closed this Oct 31, 2024
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