Найти в Дзене

MemoryUpdate

: type: object properties: addShortTerm: nullable: true mergeShortTerm: nullable: true addLongTermRefs: type: array nullable: true items: $ref: '#/components/schemas/MemoryRef' removeLongTermRefs: type: array nullable: true items: type: string # ------------------------------------------------- # GuardLayer structures # ------------------------------------------------- GuardDecision: type: object required: - allowed properties: allowed: type: boolean modifiedResult: $ref: '#/components/schemas/CoreResult' violations: type: array nullable: true items: $ref: '#/components/schemas/GuardViolation' requiredClearanceLevel: type: integer nullable: true GuardViolation: type: object

MemoryUpdate:

type: object

properties:

addShortTerm:

nullable: true

mergeShortTerm:

nullable: true

addLongTermRefs:

type: array

nullable: true

items:

$ref: '#/components/schemas/MemoryRef'

removeLongTermRefs:

type: array

nullable: true

items:

type: string

# -------------------------------------------------

# GuardLayer structures

# -------------------------------------------------

GuardDecision:

type: object

required:

- allowed

properties:

allowed:

type: boolean

modifiedResult:

$ref: '#/components/schemas/CoreResult'

violations:

type: array

nullable: true

items:

$ref: '#/components/schemas/GuardViolation'

requiredClearanceLevel:

type: integer

nullable: true

GuardViolation:

type: object

required:

- code

- description

- severity

properties:

code:

type: string

description:

type: string

severity:

$ref: '#/components/schemas/RiskLevel'

valueConflict:

$ref: '#/components/schemas/ValueConflict'

ValueProfile:

type: object

properties:

dominantValues:

type: array

items:

type: string

tradeOffs:

type: array

nullable: true

items:

$ref: '#/components/schemas/ValueTradeOff'

ValueTradeOff:

type: object

required:

- between

- decision

properties:

between:

type: array

minItems: 2

maxItems: 2

items:

type: string

decision:

type: string

rationale:

type: string

nullable: true

ValueConflict:

type: object

required:

- valuesInConflict

- resolutionStrategy

properties:

valuesInConflict:

type: array

items:

type: string

resolutionStrategy:

type: string

# -------------------------------------------------

# Meta-контур: Learner / Teacher / Judge

# -------------------------------------------------

CoreModule:

type: object

required:

- id

- role

- supportedDomains

- coreVersion

properties:

id:

type: string

role:

$ref: '#/components/schemas/CoreRole'

supportedDomains:

type: array

items:

type: string

coreVersion:

type: string

TrainingTask:

type: object

required:

- taskId

- targetModuleId

- domain

- syntheticRequest

properties:

taskId:

type: string

targetModuleId:

type: string

domain:

type: string

syntheticRequest:

$ref: '#/components/schemas/CoreRequest'

expectedProperties:

nullable: true

description: Ожидаемые свойства ответа

TrainingFeedback:

type: object

required:

- taskId

- targetModuleId

- score

properties:

taskId:

type: string

targetModuleId:

type: string

score:

type: number

format: float

minimum: 0

maximum: 1

comments:

type: string

nullable: true