GifproGifpro

Chat UI con streaming en Ollama — prompt y ejemplo IA

VISTA DE CÓDIGO

エディタを読み込み中…
P

Prompt

Interactive web app that sends a user message to a local Ollama API (model: llama3.2:1b, endpoint: /api/chat) and streams the response token by token into a chat-like interface. Clean, modern CSS with dark theme.

ローカルのOllama APIと通信する最小限のチャットUI。POST /api/chat にストリーミングでリクエストし、応答トークンをリアルタイム表示。Vanilla JS + CSS、ダークテーマ。

Resumen del prompt

Interfaz de chat mínima que se comunica con la API local de Ollama. Realiza solicitudes de streaming a POST /api/chat y muestra los tokens de respuesta en tiempo real. Vanilla JS + CSS, tema oscuro.

¿Te resultó útil este prompt?

Comentarios

Los comentarios aparecen después de la moderación

この記事が役に立ったら投げ銭で応援

Apple Pay / Google Pay / カード (Visa/Mastercard/JCB/Amex) / Link / Alipay / WeChat Pay 対応 · Stripeで安全に決済

開発者が選ぶ最強ツール集

運営者が毎日使っているツール・ガジェット 6選

見る
Inicioヘルプ