<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Fundamentals on Fernando Ruiz</title><link>https://www.fernandoux.com/tags/fundamentals/</link><description>Recent content in Fundamentals on Fernando Ruiz</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://www.fernandoux.com/tags/fundamentals/index.xml" rel="self" type="application/rss+xml"/><item><title>Tokens: The Unit AI Thinks (and Bills) In</title><link>https://www.fernandoux.com/en/wiki/ai/tokens/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.fernandoux.com/en/wiki/ai/tokens/</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;token&lt;/strong&gt; is the smallest unit of text a language model reads and writes. It can be a whole word, a fragment of a word or a punctuation mark. AI providers measure the size of each request, and its cost, in tokens.
 &lt;/div&gt;
&lt;/div&gt;

&lt;h2 id="what-is-a-token"&gt;What is a token?&lt;/h2&gt;
&lt;p&gt;A model does not see letters or words the way we do. Before processing a text, a component called the &lt;strong&gt;tokenizer&lt;/strong&gt; splits it into pieces from a fixed vocabulary. A frequent word is usually a single token; a rare, long or misspelled word is split into several. Numbers, spaces and emojis also take up tokens.&lt;/p&gt;</description></item><item><title>What Is an AI Agent?</title><link>https://www.fernandoux.com/en/wiki/ai/what-is-an-ai-agent/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.fernandoux.com/en/wiki/ai/what-is-an-ai-agent/</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;
 An &lt;strong&gt;AI agent&lt;/strong&gt; is a system in which a language model receives a goal, decides which steps to take, uses tools to act (read files, run commands, call services) and reviews the results until the task is finished or it stops.
 &lt;/div&gt;
&lt;/div&gt;

&lt;h2 id="what-does-it-mean-that-it-decides-its-steps"&gt;What does it mean that it &amp;ldquo;decides&amp;rdquo; its steps?&lt;/h2&gt;
&lt;p&gt;A traditional chatbot answers a question with text and waits for the next one. An agent receives a task such as &amp;ldquo;fix the failing tests in the authentication module&amp;rdquo; and works out the order by itself: first it runs the tests, then it reads the files that fail, then it edits the code and finally runs the tests again to check.&lt;/p&gt;</description></item><item><title>What Is an LLM? Explained for Designers</title><link>https://www.fernandoux.com/en/wiki/ai/what-is-an-llm/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.fernandoux.com/en/wiki/ai/what-is-an-llm/</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;
 An &lt;strong&gt;LLM&lt;/strong&gt; (large language model) is a neural network trained on enormous amounts of text to predict which token comes next after another. That simple ability, repeated over and over, produces answers, summaries, code and text that reads as if a person wrote it.
 &lt;/div&gt;
&lt;/div&gt;

&lt;h2 id="what-is-an-llm-in-one-sentence"&gt;What is an LLM, in one sentence?&lt;/h2&gt;
&lt;p&gt;An LLM is a system that, given a text, calculates the probability of each possible next piece of text and picks one. It then repeats the process with the extended text. It does not look the answer up in a database or an internal encyclopedia: it generates it step by step.&lt;/p&gt;</description></item></channel></rss>