Skip to content

IRWarning

Defined in: packages/ai.matey.types/src/ir.ts:500

Semantic drift warning.

Documents transformations and compatibility issues that occur when converting between provider formats.

const warning: IRWarning = {
category: 'parameter-normalized',
severity: 'info',
message: 'Temperature normalized from 0-2 range to 0-1 range',
field: 'temperature',
originalValue: 1.5,
transformedValue: 0.75,
source: 'openai-backend'
};

readonly category: WarningCategory

Defined in: packages/ai.matey.types/src/ir.ts:504

Warning category.


readonly optional details: Record<string, unknown>

Defined in: packages/ai.matey.types/src/ir.ts:539

Additional context or details.


readonly optional field: string

Defined in: packages/ai.matey.types/src/ir.ts:519

Field or parameter that caused the warning.


readonly message: string

Defined in: packages/ai.matey.types/src/ir.ts:514

Human-readable warning message.


readonly optional originalValue: unknown

Defined in: packages/ai.matey.types/src/ir.ts:524

Original value before transformation.


readonly severity: WarningSeverity

Defined in: packages/ai.matey.types/src/ir.ts:509

Severity level.


readonly optional source: string

Defined in: packages/ai.matey.types/src/ir.ts:534

Source adapter that generated the warning.


readonly optional transformedValue: unknown

Defined in: packages/ai.matey.types/src/ir.ts:529

Transformed value after normalization.