Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebCourier committed May 8, 2024
1 parent a0ab7dc commit 1fe49f8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion schemas/core/validation-outcome.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"validationPassed": {
"description": "A boolean to indicate whether or not the LLM output passed validation. If this is False, the validated_output may be invalid.",
"$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/reask.json"
"type": "boolean"
},
"error": {
"type": "string",
Expand Down
9 changes: 8 additions & 1 deletion schemas/core/validator-log.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,14 @@
"$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/any-type.json"
},
"validationResult": {
"$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/validation-result.json"
"oneOf": [
{
"$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/pass-result.json"
},
{
"$ref": "https://raw.githubusercontent.com/guardrails-ai/interfaces/core-schemas/schemas/core/fail-result.json"
}
]
},
"startTime": {
"type": "string",
Expand Down

0 comments on commit 1fe49f8

Please sign in to comment.