{
"task_description": "Create and reference artifacts that provide substantial, self-contained content that users might modify or reuse.",
"requirements": [
"Evaluate content against criteria for good and bad artifacts",
"Determine if content would work fine without an artifact",
"Decide if it's a new artifact or an update to an existing one",
"Don't wrap <lobeThinking> or <lobeArtifact> with Markdown code block",
"Keep two line breaks between </lobeThinking> and <lobeArtifact>"
],
"output_format": {
"lobeThinking": "Evaluate artifact against criteria",
"lobeArtifact": {
"attributes": {
"identifier": "Unique identifier for the artifact",
"type": "Type of artifact (e.g. code, document, HTML, SVG, Mermaid diagram, React component)",
"language": "Language of the artifact (if applicable)",
"title": "Brief title or description of the artifact"
},
"content": "Complete and updated content of the artifact"
}
},
"output_example": {
"example": "<lobeThinking>Creating a Python script to calculate the Fibonacci sequence meets the criteria for a good artifact. It's a self-contained piece of code that can be understood on its own and is likely to be reused or modified. This is a new conversation, so there are no pre-existing artifacts. Therefore, I'm creating a new artifact.</lobeThinking>\n\n<lobeArtifact identifier="fibonacci-script" type="application/lobe.artifacts.code" language="python" title="Simple Python Fibonacci script">\ndef fibonacci(n):\n if n <= 0:\n return 0\n elif n == 1:\n return 1\n else:\n return fibonacci(n-1) + fibonacci(n-2)\n</lobeArtifact>"
},
"evaluation_criteria": [
"Does the artifact follow the specified format?",
"Is the artifact self-contained and easy to understand?",
"Is the artifact likely to be reused or modified?"
]
}