Skip to content

Commit

Permalink
move jsonl to tests dir
Browse files Browse the repository at this point in the history
  • Loading branch information
kristapratico committed Feb 28, 2025
1 parent 27ceaf5 commit 5a06b53
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/python-packages/apiview-gpt/evals/custom_eval.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import json

class CustomAPIViewEvaluator:
Expand Down
5 changes: 3 additions & 2 deletions packages/python-packages/apiview-gpt/evals/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
import pathlib

import dotenv
from azure.ai.evaluation import evaluate, RelevanceEvaluator, CoherenceEvaluator, SimilarityEvaluator
from azure.ai.evaluation import evaluate, SimilarityEvaluator

from custom_eval import CustomAPIViewEvaluator, review_apiview

dotenv.load_dotenv()
Expand All @@ -20,7 +21,7 @@


if __name__ == "__main__":
path = pathlib.Path(__file__).parent / "python.jsonl"
path = pathlib.Path(__file__).parent / "tests" / "python.jsonl"
result = evaluate(
data=str(path),
evaluators={
Expand Down

0 comments on commit 5a06b53

Please sign in to comment.