CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-gradio--client

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

1.11x
Quality

Pending

Does it follow best practices?

Impact

96%

1.11x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-8/

{
  "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
    }
  ]
}

tile.json