Skip to content

AgentTarget

junjo.evaluation.AgentTarget

Kind: Class

SDK version: 0.67.0

Documentation channel: Stable release

AgentTarget(*, key: str, name: str, input_version: int, input_type: TypeForm[InputT], factory: Callable[[InputT, EvaluationContext, ResourcesT], AgentInvocation[AgentInputT, AgentOutputT, DependenciesT] | Awaitable[AgentInvocation[AgentInputT, AgentOutputT, DependenciesT]]], projector: Callable[[AgentExecutionResult[AgentOutputT], InputT, EvaluationContext, ResourcesT], object | Awaitable[object]])

View source

Execute a real application Agent through Agent.execute().

key is the stable evaluation dispatch identity. name is the human-readable name of the real Agent stored with Studio cases and shown in evaluation results.