$echo '{
< "texts": [
< "```json\\n{\\n name: '\''Alice'\'',\\n \\"role\\": '\''Engineer'\'',\\n \\"skills\\": ['\''Python'\'', '\''AI'\'',],\\n \\"active\\": True,\\n}\\n```\\nHope this helps!",
< "Here is the product info: {\\"id\\": 101, \\"title\\": \\"Smart Lamp\\", \\"price\\": 29.99, \\"inStock\\": true}"
< ],
< "schema": {
< "type": "object",
< "properties": {
< "name": {
< "type": "string"
< },
< "role": {
< "type": "string"
< },
< "skills": {
< "type": "array",
< "items": {
< "type": "string"
< }
< },
< "active": {
< "type": "boolean"
< }
< },
< "required": [
< "name",
< "role"
< ]
< }
<}' |
<apify call kadev-code/llm-json-repair --silent --output-dataset