ras-judge 4.2.0

Judge eval for agent traces
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use async_trait::async_trait;
use ras_errors::AppError;

use crate::domain::judgement::JudgementResult;

#[async_trait]
pub trait JudgePort: Send + Sync + 'static {
    async fn evaluate(
        &self,
        task: &str,
        screenshot_b64: Option<&str>,
        history_json: serde_json::Value,
    ) -> Result<JudgementResult, AppError>;
}