You're looking at a specific version of this model. Jump to the model overview.

vetkastar /python:cf3ae6a9

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
code
string
Python code to execute
input_file
string
Input file

Output schema

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

Schema
{'description': 'Output model for prediction results',
 'properties': {'error': {'description': 'Structure for error information',
                          'properties': {'code_snippet': {'title': 'Code '
                                                                   'Snippet',
                                                          'type': 'string'},
                                         'details': {'title': 'Details',
                                                     'type': 'string'},
                                         'error_type': {'title': 'Error Type',
                                                        'type': 'string'},
                                         'line_number': {'title': 'Line Number',
                                                         'type': 'integer'},
                                         'message': {'title': 'Message',
                                                     'type': 'string'},
                                         'suggestions': {'default': [],
                                                         'items': {'type': 'string'},
                                                         'title': 'Suggestions',
                                                         'type': 'array'}},
                          'required': ['error_type', 'message', 'details'],
                          'title': 'ErrorInfo',
                          'type': 'object'},
                'paths': {'items': {'format': 'uri', 'type': 'string'},
                          'title': 'Paths',
                          'type': 'array'},
                'text_output': {'title': 'Text Output', 'type': 'string'}},
 'required': ['text_output', 'paths'],
 'title': 'Output',
 'type': 'object'}