JavaScript and TypeScript client library for interacting with Gradio APIs, providing methods to connect to, submit predictions to, and manage connections with Gradio applications.
96
Pending
Does it follow best practices?
Impact
96%
1.11xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This evaluation assesses how effectively the engineer uses the @gradio/client package to access and utilize configuration information from Gradio applications. The focus is on proper use of connection methods, configuration object access, and API introspection capabilities.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Client connection",
"description": "Uses Client.connect() method to establish connection to the Gradio application with the provided app reference (URL or Space name)",
"max_score": 20
},
{
"name": "Configuration object access",
"description": "Accesses the client.config property to retrieve application metadata such as title, version, and mode",
"max_score": 25
},
{
"name": "API introspection",
"description": "Uses view_api() method or accesses client.config.dependencies to retrieve endpoint information",
"max_score": 25
},
{
"name": "Endpoint parameter extraction",
"description": "Correctly extracts parameter information from the API schema, including parameter names, types, required/optional status, and default values",
"max_score": 20
},
{
"name": "File size limits",
"description": "Retrieves max file size configuration from client.config.max_file_size or equivalent configuration property",
"max_score": 10
}
]
}evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10