<html> <body> <script src="https://js.puter.com/v2/"></script> <script> async function streamClaudeResponse() { const response = await puter.ai.chat( "Write a detailed essay on the impact of artificial intelligence on society", {model: 'claude-3-5-sonnet', stream: true} ); for await (const part of response) { puter.print(part?.text); } } streamClaudeResponse(); </script> </body> </html>