Skip to main content
Glama

Dingo MCP Server

by MigoXLab
sdk_custom_rule.py867 B
from dingo.config import InputArgs from dingo.exec import Executor if __name__ == '__main__': input_data = { "input_path": "../../test/data/test_local_json.json", "dataset": { "source": "local", "format": "json", "field": { "content": "prediction" } }, "executor": { "rule_list": ["RuleSpecialCharacter"], "result_save": { "bad": True, "good": True } }, "evaluator": { "rule_config": { "RuleSpecialCharacter": { "key_list": ["sky", "apple"] } } } } input_args = InputArgs(**input_data) executor = Executor.exec_map["local"](input_args) result = executor.execute() print(result)

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/MigoXLab/dingo'

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