Skip to main content
Glama

GenAIScript

Official
by microsoft
MIT License
43
2,820
  • Linux
  • Apple
tests.json4.51 kB
{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "PromptTest", "type": "object", "properties": { "name": { "type": "string", "description": "Short name of the test" }, "description": { "type": "string", "description": "Description of the test" }, "files": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ], "description": "List of files to apply the test to" }, "workspaceFiles": { "oneOf": [ { "type": "object", "properties": { "filename": { "type": "string" }, "content": { "type": "string" }, "encoding": { "type": "string", "enum": ["base64"] }, "size": { "type": "integer" } }, "required": ["content"] }, { "type": "array", "items": { "type": "object", "properties": { "filename": { "type": "string" }, "content": { "type": "string" }, "encoding": { "type": "string", "enum": ["base64"] }, "size": { "type": "integer" } }, "required": ["content"] } } ], "description": "List of files to apply the test to" }, "vars": { "type": "object", "additionalProperties": { "type": ["string", "boolean", "number"] }, "description": "Extra set of variables for this scenario" }, "rubrics": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ], "description": "LLM output matches a given rubric" }, "facts": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ], "description": "LLM output adheres to the given facts" }, "keywords": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ], "description": "Required keywords in the LLM output" }, "forbidden": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ], "description": "Disallowed keywords in the LLM output" }, "asserts": { "oneOf": [ { "type": "object" }, { "type": "array", "items": { "type": "object" } } ], "description": "Additional deterministic assertions" } }, "additionalProperties": false }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/microsoft/genaiscript'

If you have feedback or need assistance with the MCP directory API, please join our Discord server