Skip to content

feat: add StringCheckGrader support for OpenAI Evals backend#150

Open
mesutoezdil wants to merge 3 commits into
agentevals-dev:mainfrom
mesutoezdil:feat/string-check-grader
Open

feat: add StringCheckGrader support for OpenAI Evals backend#150
mesutoezdil wants to merge 3 commits into
agentevals-dev:mainfrom
mesutoezdil:feat/string-check-grader

Conversation

@mesutoezdil
Copy link
Copy Markdown
Contributor

@mesutoezdil mesutoezdil commented May 15, 2026

Closes #95

Adds string_check grader type to the OpenAI Evals backend.

string_check tests whether the agent response matches a fixed reference string. No eval set needed.

evaluators:
  - name: response_contains_hello
    type: openai_eval
    threshold: 0.8
    grader:
      type: string_check
      reference: "hello"
      operation: ilike

Valid operations: eq, ne, like, ilike.

@mesutoezdil mesutoezdil force-pushed the feat/string-check-grader branch from d7e984d to 7d1227d Compare May 15, 2026 10:29
@mesutoezdil mesutoezdil force-pushed the feat/string-check-grader branch 2 times, most recently from 26844d3 to 83f2d28 Compare May 15, 2026 10:36
@mesutoezdil mesutoezdil force-pushed the feat/string-check-grader branch from 39a1726 to 8ecb9a4 Compare May 15, 2026 20:03
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.

Add StringCheckGrader OpenAI Grader

1 participant