Spaces:
Running
Running
| { | |
| "name": "name for the test suite", | |
| "title": "TestCases", | |
| "type": "object", | |
| "properties": { | |
| "test_cases": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/definitions/TestCase" | |
| } | |
| } | |
| }, | |
| "required": [ | |
| "test_cases" | |
| ], | |
| "definitions": { | |
| "ToolCall": { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string" | |
| }, | |
| "args": { | |
| "type": "object" | |
| } | |
| }, | |
| "required": [ | |
| "name", | |
| "arguments" | |
| ] | |
| }, | |
| "ExpectedOutput": { | |
| "type": "object", | |
| "properties": { | |
| "response": { | |
| "type": "string" | |
| }, | |
| "keywords": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| }, | |
| "tool_calls": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/definitions/ToolCall" | |
| } | |
| } | |
| }, | |
| "required": [ | |
| "response", | |
| "keywords", | |
| "tool_calls" | |
| ] | |
| }, | |
| "TestCase": { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string" | |
| }, | |
| "description": { | |
| "type": "string" | |
| }, | |
| "intent": { | |
| "type": "string" | |
| }, | |
| "expected_output": { | |
| "$ref": "#/definitions/ExpectedOutput" | |
| } | |
| }, | |
| "required": [ | |
| "name", | |
| "description", | |
| "intent", | |
| "expected_output" | |
| ] | |
| } | |
| } | |
| } |