Skip to content

Commit

Permalink
make this update non destructive to make testing easier
Browse files Browse the repository at this point in the history
  • Loading branch information
dtam committed Sep 30, 2024
1 parent c1159d6 commit cf9e957
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions schemas/core/guard.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@
{
"type": "string",
"enum": [
"prompt",
"instructions",
"msg_history",
"messages",
"output"
],
Expand Down
16 changes: 16 additions & 0 deletions schemas/core/inputs.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,22 @@
"type": "string",
"description": "The string output from an external LLM call provided by the user via Guard.parse."
},
"instructions": {
"type": "string",
"description": "The instructions for chat models."
},
"prompt": {
"type": "string",
"description": "The prompt for the LLM."
},
"msgHistory": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {}
},
"description": "The message history for chat models."
},
"messages": {
"type": "array",
"items": {
Expand Down

0 comments on commit cf9e957

Please sign in to comment.