puter-model / index.html
SAzizi2025's picture
Update index.html
6ab4763 verified
raw
history blame contribute delete
644 Bytes
<!doctype html>
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
(async () => {
const response = await puter.ai.chat(
"چطور از puter برای ساخت و استفاده از برنامه خودم از ای پی ای رایگان استفاده کنم ؟برنامه من وابسته به هوشمصنوعی کار خواهد کرد",
{model: 'claude-sonnet-4-5', stream: true}
);
for await (const part of response) {
puter.print(part?.text);
}
})();
</script>
</body>
</html>