An AI model learns from two types of stored information. One type records past interactions. The other type enforces rules for future behavior. Both are needed for an AI model to learn and change its actions.
By Pawan Nayar · from the LLOS AI Learning record
An AI model learns from two types of stored information.
One type records past interactions. The other type enforces rules for future behavior. Both are needed for an AI model to learn and change its actions.
Recording a lesson and enforcing a rule are different actions. Recording saves information about a past event. Enforcing changes how the AI model acts in the future. An archive file stores past lessons. This file is saved on a computer's disk. It keeps the details of what happened. The AI model must be told to look at this archive. A rule file enforces behavior. This file loads automatically every time. It directly changes how the AI model responds. Rules in this file ensure the AI model acts correctly. Information only in a conversation will be lost. This happens when the conversation is too long. It also happens when the system clears old data. Only saved rules or archived lessons will remain.
A developer wants an AI model to always use a specific code format. The developer records the correct format in the archive file. The developer also adds a rule to the rule file. This rule tells the AI model to use a specific tool for formatting. If only recorded, the AI model might forget. With the rule, the AI model always uses the correct format.
Resolved from this lesson's own record — real definitions, not invented for this page.
More from the same record, pulled by shared topic — not written new for this page.
An AI model must read `mistakes_and_lessons.md` first. This file contains rules learned from past problems.
The AI model should first look at many examples of good designs. It needs to understand what makes these designs successful.
An AI model can use a reflection engine. This engine helps the AI model review its work.
An AI model can analyze many good examples of text. It identifies common patterns in how words are arranged.
An AI model learns from two types of stored information. One type records past interactions. The other type enforces rules for future behavior. Both are needed for an AI model to learn and change its actions.