zeke/pipelines-runtime-inquisitor

Run shell commands and use a language model to interpret their output

Public
24 runs

Run zeke/pipelines-runtime-inquisitor with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
natural_language_command
string
Natural language description of what you want to do
interpretation_instruction
string
Instructions for how to interpret and summarize the command output

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output"
}
Example API response
View prediction
('{\n'
 '  "command": "which convert",\n'
 '  "stdout": "",\n'
 '  "stderr": "",\n'
 '  "return_code": 1,\n'
 '  "summary": "**ImageMagick is NOT installed.**\\n\\nThe `which convert` '
 'command returned exit code 1 with no output, indicating that the `convert` '
 "command (ImageMagick's primary tool) was not found in the system's PATH. "
 'This means ImageMagick is either not installed or not properly configured on '
 'this system.\\n\\nTo install ImageMagick, you would typically use:\\n- '
 '**Ubuntu/Debian**: `sudo apt install imagemagick`\\n- **CentOS/RHEL**: `sudo '
 'yum install ImageMagick` or `sudo dnf install ImageMagick`\\n- **macOS**: '
 '`brew install imagemagick`"\n'
 '}')