-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Archived test for reflection schema engine
- Loading branch information
1 parent
b6ffedc
commit 40ed002
Showing
6 changed files
with
98 additions
and
44 deletions.
There are no files selected for viewing
93 changes: 93 additions & 0 deletions
93
tests/.pest/snapshots/Feature/SchemaTest/it_creates_function_call.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
{ | ||
"type": "function", | ||
"function": { | ||
"name": "addEvent", | ||
"description": "Extract object from provided content", | ||
"parameters": { | ||
"type": "object", | ||
"properties": { | ||
"events": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"title": { | ||
"type": "string", | ||
"description": "Title of the event - this should be a short, descriptive title of the event" | ||
}, | ||
"description": { | ||
"type": "string", | ||
"description": "Concise, informative description of the event" | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"risk", | ||
"issue", | ||
"action", | ||
"progress", | ||
"other" | ||
], | ||
"description": "Type of the event" | ||
}, | ||
"status": { | ||
"type": "string", | ||
"enum": [ | ||
"open", | ||
"closed", | ||
"unknown" | ||
], | ||
"description": "Status of the event" | ||
}, | ||
"stakeholders": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"type": "string", | ||
"description": "Name of the stakeholder" | ||
}, | ||
"role": { | ||
"type": "string", | ||
"enum": [ | ||
"customer", | ||
"vendor", | ||
"system integrator", | ||
"other" | ||
], | ||
"description": "Role of the stakeholder, if specified" | ||
}, | ||
"details": { | ||
"type": "string", | ||
"description": "Any details on the stakeholder, if specified - any mentions of company, organization, structure, group, team, function" | ||
} | ||
}, | ||
"required": [ | ||
"name", | ||
"role" | ||
] | ||
} | ||
}, | ||
"date": { | ||
"type": "string", | ||
"description": "Date of the event if reported in the text" | ||
} | ||
}, | ||
"required": [ | ||
"title", | ||
"description", | ||
"type", | ||
"status", | ||
"stakeholders" | ||
] | ||
}, | ||
"description": "List of events extracted from the text" | ||
} | ||
}, | ||
"required": [ | ||
"events" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.