Skip to content

Commit

Permalink
Added ragas to compute answer metrics for evaluation. (#1039)
Browse files Browse the repository at this point in the history
* Removed duplicate code in query execution.

* Added nltk download logic to support string metrics.

* Add ragas to imports.

* Added ragas to imports.

* Added string metrics for evaluation.

* Remove dthe unwanted break statement.

* Moves the import to top of file.

* Moved the scorer definitions to the init function.

* Refactoring.

* Removed unused imports.

* Moved async calls to the outer function.

* Refactor to add error handling and change function names.
  • Loading branch information
akarshgupta7 authored Nov 27, 2024
1 parent b28bd4d commit 796e3a9
Show file tree
Hide file tree
Showing 5 changed files with 724 additions and 33 deletions.
Loading

0 comments on commit 796e3a9

Please sign in to comment.