36 lines
1015 B
Go
36 lines
1015 B
Go
package capability
|
|
|
|
import (
|
|
"git.cin.su/m/Assistant/contracts/authority"
|
|
"git.cin.su/m/Assistant/contracts/identity"
|
|
)
|
|
|
|
// TaskEvaluationCase carries one bounded prompt selected by the evaluator.
|
|
// The prompt is an input artifact, not a model-produced fact.
|
|
type TaskEvaluationCase struct {
|
|
CaseID string
|
|
Prompt string
|
|
EvidenceArtifactRef string
|
|
}
|
|
|
|
type TaskEvaluationExecutionRequest struct {
|
|
Profile TaskEvaluationProfile
|
|
CapabilityID CapabilityID
|
|
BindingID CapabilityBindingID
|
|
BindingRevision int64
|
|
ActorID identity.ActorID
|
|
PrincipalID identity.PrincipalID
|
|
ScopeID authority.ScopeID
|
|
Cases []TaskEvaluationCase
|
|
MaxOutputBytes int64
|
|
EgressAcknowledged bool
|
|
}
|
|
|
|
type TaskEvaluationExecutionResponse struct {
|
|
ProfileID TaskEvaluationProfileID
|
|
BindingID CapabilityBindingID
|
|
BindingRevision int64
|
|
Observations []TaskCaseObservation
|
|
ObservedAtUnixMillis int64
|
|
}
|