repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | from enum import Enum |
| #2 | from typing import Optional |
| #3 | |
| #4 | from pydantic import BaseModel |
| #5 | |
| #6 | |
| #7 | class EvalMetric(Enum): |
| #8 | CONTEXT_RELEVANCY = "context_relevancy" |
| #9 | ANSWER_RELEVANCY = "answer_relevancy" |
| #10 | GROUNDEDNESS = "groundedness" |
| #11 | |
| #12 | |
| #13 | class EvalData(BaseModel): |
| #14 | question: str |
| #15 | contexts: list[str] |
| #16 | answer: str |
| #17 | ground_truth: Optional[str] = None # Not used as of now |
| #18 |