changedOutput schema / properties / guidelines / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "asked": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "designId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "model": {
- "type": "string"
- },
- "ranBy": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "recordedAtEpochMillis": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "revision": {
- "type": "integer"
- },
- "rulesVersion": {
- "type": "integer"
- },
- "schema": {
- "type": "string"
- },
- "verdicts": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "type": "number"
- },
- "nodeIds": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "reason": {
- "type": "string"
- },
- "ruleId": {
- "type": "string"
- },
- "verdict": {
- "type": "string"
- }
- },
- "required": [
- "ruleId",
- "verdict"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "revision",
- "model",
- "rulesVersion",
- "asked",
- "verdicts"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "asked": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "costUsd": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "designId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "generationId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "model": {
+ "type": "string"
+ },
+ "provider": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "ranBy": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "recordedAtEpochMillis": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "revision": {
+ "type": "integer"
+ },
+ "routing": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "probability": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "router": {
+ "type": "string"
+ },
+ "scores": {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "type": "object"
+ },
+ "version": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "router"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "rulesVersion": {
+ "type": "integer"
+ },
+ "schema": {
+ "type": "string"
+ },
+ "servedModel": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "verdicts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "type": "number"
+ },
+ "nodeIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "ruleId": {
+ "type": "string"
+ },
+ "verdict": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "ruleId",
+ "verdict"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "revision",
+ "model",
+ "rulesVersion",
+ "asked",
+ "verdicts"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]