PolicySubject
Defined in: core/src/types/policy.ts:286
A prompt as prompt policies see it, built from source or from a release bundle.
Properties
governance
governance:
GovernanceMeta
Defined in: core/src/types/policy.ts:290
Effective governance
id
id:
string
Defined in: core/src/types/policy.ts:288
Prompt id, <@meta.id>/<key>
inputs
inputs:
Record<string, {options?:string[];type:PromptScalarType; }>
Defined in: core/src/types/policy.ts:294
Inputs by name
loc?
optionalloc?:SourceLocation
Defined in: core/src/types/policy.ts:298
The entry, or the bundle file
model?
optionalmodel?:object
Defined in: core/src/types/policy.ts:292
Model reference and the catalog profile it resolved to
profile?
optionalprofile?:string
ref
ref:
string
texts
texts:
object[]
Defined in: core/src/types/policy.ts:296
Message texts the content checks scan
content
content:
string
role
role:
"system"|"user"