<C1Component>, including how to handle a live stream.
Artifacts, like other C1-generated content, are rendered using the <C1Component>. Your frontend application is responsible for fetching the artifact’s content string from your backend.
Streaming the response is the recommended approach for the best user experience. It allows the artifact’s content to appear on the screen in real-time as it’s being generated, rather than forcing the user to wait for the entire document to be ready.