Skip to content

Inference specification

Generated field reference from the AQVEN Python package.

This reference is generated from the package’s Pydantic models. Fields use their YAML aliases. Unknown fields are rejected. Cross-field rules implemented by validators may not appear in JSON Schema; run aqven check on a complete project.

YAML fieldTypeRequiredDefaultConstraints
typestringYes——
fromstringYes——
labels_fromstring | nullNoNone—

JSON Schema

YAML fieldTypeRequiredDefaultConstraints
usestring | nullNoNone—
runstring | nullNoNone—
inferencestring | nullNoNone—
agentstring | nullNoNone—
withmap<string, JsonValue> | nullNoNone—
on_fail'retry' | 'fail' | 'flag'Yes——
thresholdnumber | nullNoNone—

JSON Schema

YAML fieldTypeRequiredDefaultConstraints
runstring | nullNoNone—
templatestring | nullNoNone—
variablesmap<string, DisplayVariableRef>No{}—

JSON Schema

YAML fieldTypeRequiredDefaultConstraints
namestringYes——
inmap<string, JsonValue>Yes——
outmap<string, JsonValue>Yes——

JSON Schema

YAML fieldTypeRequiredDefaultConstraints
inputDisplayFormatterSpec | nullNoNone—
outputDisplayFormatterSpec | nullNoNone—

JSON Schema

YAML fieldTypeRequiredDefaultConstraints
apiVersion'aqven/v1'Yes——
kind'Inference'Yes——
descriptionstringYes—minLength=1
inFieldDecl[]No[]—
outOutputField[]Yes—minItems=1
promptstring | nullNoNone—
variantsmap<string, VariantSlot> | nullNoNone—
allowed_setsAllowedSetSpec[] | nullNoNone—
examplesExampleSpec[] | nullNoNone—
checksCheckSpec[] | nullNoNone—
displayInferenceDisplaySpec | nullNoNone—

JSON Schema

YAML fieldTypeRequiredDefaultConstraints
onstringYes——
casesmap<string, VariantRef>Yes——
defaultVariantRef | nullNoNone—

JSON Schema