Files
ai-agent/internal/pkg/dto/request/agent_evaluation_request.go
T

15 lines
421 B
Go
Raw Normal View History

package request
type RunAgentEvaluationRequest struct {
AIAgentID int64 `json:"aiAgentId"`
Cases []AgentEvaluationCase `json:"cases"`
}
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"`
}