Package com.judgmentlabs.judgeval.api
Class JudgmentSyncClient
java.lang.Object
com.judgmentlabs.judgeval.api.JudgmentSyncClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddToRunEvalQueue(EvaluationRun payload) fetchExperimentRun(EvalResultsFetch payload) fetchScorer(FetchPromptScorerRequest payload) getEvaluationStatus(String experiment_run_id, String project_name) logEvalResults(EvalResults payload) projectsResolve(ResolveProjectNameRequest payload) saveScorer(SavePromptScorerRequest payload) scorerExists(ScorerExistsRequest payload)
-
Constructor Details
-
JudgmentSyncClient
-
-
Method Details
-
addToRunEvalQueue
- Throws:
IOExceptionInterruptedException
-
logEvalResults
- Throws:
IOExceptionInterruptedException
-
fetchExperimentRun
- Throws:
IOExceptionInterruptedException
-
getEvaluationStatus
public Object getEvaluationStatus(String experiment_run_id, String project_name) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
scorerExists
public ScorerExistsResponse scorerExists(ScorerExistsRequest payload) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
saveScorer
public SavePromptScorerResponse saveScorer(SavePromptScorerRequest payload) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
fetchScorer
public FetchPromptScorerResponse fetchScorer(FetchPromptScorerRequest payload) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
projectsResolve
public ResolveProjectNameResponse projectsResolve(ResolveProjectNameRequest payload) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-