2026-07-25 12:04:06 +08:00
|
|
|
package request
|
|
|
|
|
|
|
|
|
|
type RunAgentEvaluationRequest struct {
|
2026-07-27 23:29:02 +08:00
|
|
|
AIAgentID int64 `json:"aiAgentId"`
|
|
|
|
|
Cases []AgentEvaluationCase `json:"cases"`
|
2026-07-25 12:04:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type AgentEvaluationCase struct {
|
|
|
|
|
ID string `json:"id"`
|
|
|
|
|
Category string `json:"category"`
|
|
|
|
|
Message string `json:"message"`
|
|
|
|
|
History []string `json:"history,omitempty"`
|
|
|
|
|
Expect map[string]any `json:"expect,omitempty"`
|
|
|
|
|
}
|