You're looking at a specific version of this model. Jump to the model overview.
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
|
|
safe_mode |
boolean
|
True
|
Run in safe mode (restrict imports)
|
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': {'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'}