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

added evaluation custom criteria #30

Merged
merged 1 commit into from
Jan 25, 2024
Merged

Conversation

oindrillac
Copy link
Contributor

This PR expands on the evaluation metrics by using custom langchain evaluation metrics which utilize a LLM in the backend to score model generated outputs on custom criteria and some pre-defined criteria.

In this iteration, for demonstration purposes, we add criteria such as grammatical correctness, helpfulness and descriptiveness.

Based on the actual requirements, these criteria can be updated.

Discussions on evaluation metrics can be found here:https://docs.google.com/document/d/1I2ea71M6E8SJBYe9k1Gzw2lfshppikwf4ndKtlEClNk/edit?usp=sharing

More information on Langchain custom evaluation criteria can be found here: https://python.langchain.com/docs/guides/evaluation/string/criteria_eval_chain

@oindrillac
Copy link
Contributor Author

Updated App: https://ui-api-doc-gen.apps.platform-sts.pcbk.p1.openshiftapps.com/

Copy link
Member

@aakankshaduggal aakankshaduggal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@aakankshaduggal aakankshaduggal merged commit 6d05625 into redhat-et:main Jan 25, 2024
0 of 2 checks passed
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