Writer
Structured Output
Allows to define a JSON response format, which the agent will use to structure its output.
Fields
Name | Type | Control | Default | Description | Options | Validation |
---|---|---|---|---|---|---|
Prompt | Text | Textarea | - | Description of a JSON object to be created. | - | - |
Model | Model Id | - | palmyra-x4 | - | - | - |
JSON Schema | JSON | - | JSON schema that defines the structure of the response. For example, {"type": "object", "properties": {...}, "required": [...]} . | - | - |
End states
Below are the possible end states of the block call.
Name | Field | Type | Description |
---|---|---|---|
Success | - | success | If the function doesn’t raise an Exception. |
Error | - | error | If the function raises an Exception. |