<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Interfaces on Fernando Ruiz</title><link>https://www.fernandoux.com/tags/interfaces/</link><description>Recent content in Interfaces on Fernando Ruiz</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://www.fernandoux.com/tags/interfaces/index.xml" rel="self" type="application/rss+xml"/><item><title>Estados de carga en interfaces de IA: qué mostrar mientras el modelo piensa</title><link>https://www.fernandoux.com/es/wiki/ia/estados-de-carga-en-ia/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.fernandoux.com/es/wiki/ia/estados-de-carga-en-ia/</guid><description>&lt;div class="info-panel"&gt;
 &lt;div class="info-header"&gt;
 &lt;span class="material-symbols-outlined info-panel-icon"&gt;info&lt;/span&gt;
 &lt;span class="info-panel-label"&gt;Definición Rápida&lt;/span&gt;
 &lt;/div&gt;
 &lt;div class="info-content"&gt;
 Un &lt;strong&gt;estado de carga en una interfaz de IA&lt;/strong&gt; es lo que la pantalla muestra mientras un modelo genera una respuesta o ejecuta una tarea. Su trabajo es avisar que el sistema sigue trabajando, dar una idea de cuánto falta y evitar que la persona piense que la app se colgó.
 &lt;/div&gt;
&lt;/div&gt;

&lt;h2 id="por-qué-es-distinto-en-ia"&gt;¿Por qué es distinto en IA?&lt;/h2&gt;
&lt;p&gt;En una app tradicional, una carga suele durar milisegundos o unos pocos segundos, y se conoce de antemano. En IA, una respuesta puede tardar dos segundos o veinte. La duración cambia según la longitud del texto, la carga del proveedor y, en un agente, la cantidad de pasos que da.&lt;/p&gt;</description></item><item><title>Loading states in AI interfaces: what to show while the model thinks</title><link>https://www.fernandoux.com/en/wiki/ai/ai-loading-states/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.fernandoux.com/en/wiki/ai/ai-loading-states/</guid><description>&lt;div class="info-panel"&gt;
 &lt;div class="info-header"&gt;
 &lt;span class="material-symbols-outlined info-panel-icon"&gt;info&lt;/span&gt;
 &lt;span class="info-panel-label"&gt;Quick Definition&lt;/span&gt;
 &lt;/div&gt;
 &lt;div class="info-content"&gt;
 A &lt;strong&gt;loading state in an AI interface&lt;/strong&gt; is what the screen shows while a model generates a response or runs a task. Its job is to tell people the system is still working, give a sense of how much is left, and stop them from thinking the app has frozen.
 &lt;/div&gt;
&lt;/div&gt;

&lt;h2 id="why-is-it-different-in-ai"&gt;Why is it different in AI?&lt;/h2&gt;
&lt;p&gt;In a traditional app, a load usually lasts milliseconds or a few seconds, and it is known in advance. In AI, a response can take two seconds or twenty. The duration changes with the length of the text, the provider&amp;rsquo;s load and, in an agent, the number of steps it takes.&lt;/p&gt;</description></item><item><title>Response streaming: showing AI output while it is being written</title><link>https://www.fernandoux.com/en/wiki/ai/response-streaming/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.fernandoux.com/en/wiki/ai/response-streaming/</guid><description>&lt;div class="info-panel"&gt;
 &lt;div class="info-header"&gt;
 &lt;span class="material-symbols-outlined info-panel-icon"&gt;info&lt;/span&gt;
 &lt;span class="info-panel-label"&gt;Quick Definition&lt;/span&gt;
 &lt;/div&gt;
 &lt;div class="info-content"&gt;
 &lt;strong&gt;Response streaming&lt;/strong&gt; is the way to deliver an AI model&amp;rsquo;s output in chunks, as it is generated, so the person can start reading before it ends. It is usually sent over SSE (server-sent events). The model does not get faster: what changes is when the text appears.
 &lt;/div&gt;
&lt;/div&gt;

&lt;h2 id="what-is-it-and-how-does-it-work"&gt;What is it and how does it work?&lt;/h2&gt;
&lt;p&gt;A language model generates the response token by token (if tokens are new to you, see [[tokens|tokens]]). Without streaming, the server waits until it has the full text and sends it in one piece. With streaming, it sends each fragment as soon as it has it.&lt;/p&gt;</description></item><item><title>Streaming de respuestas: mostrar la IA mientras escribe</title><link>https://www.fernandoux.com/es/wiki/ia/streaming-de-respuestas/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.fernandoux.com/es/wiki/ia/streaming-de-respuestas/</guid><description>&lt;div class="info-panel"&gt;
 &lt;div class="info-header"&gt;
 &lt;span class="material-symbols-outlined info-panel-icon"&gt;info&lt;/span&gt;
 &lt;span class="info-panel-label"&gt;Definición Rápida&lt;/span&gt;
 &lt;/div&gt;
 &lt;div class="info-content"&gt;
 El &lt;strong&gt;streaming de respuestas&lt;/strong&gt; es la forma de entregar el resultado de un modelo de IA en fragmentos, a medida que se genera, para que la persona empiece a leer antes de que termine. Suele enviarse con SSE (server-sent events, eventos enviados por el servidor). El modelo no tarda menos: cambia el momento en que aparece el texto.
 &lt;/div&gt;
&lt;/div&gt;

&lt;h2 id="qué-es-y-cómo-funciona"&gt;¿Qué es y cómo funciona?&lt;/h2&gt;
&lt;p&gt;Un modelo de lenguaje genera la respuesta token por token (si no tienes claro qué es un token, mira [[tokens|tokens]]). Sin streaming, el servidor espera a tener el texto completo y lo envía de una vez. Con streaming, envía cada fragmento en cuanto lo tiene.&lt;/p&gt;</description></item></channel></rss>