An AI model works better with a small amount of important information. Giving an AI model too many files makes it less accurate. A developer must choose only the most useful files for the AI model to read.
By Pawan Nayar · from the LLOS AI Learning record
An AI model works better with a small amount of important information.
Giving an AI model too many files makes it less accurate. A developer must choose only the most useful files for the AI model to read.
A developer should choose only a few important files. These files should be the main source of truth. Reading too many files makes the AI model's focus weaker. This can lower the quality of the AI model's answers. The developer should decide what the AI model needs to do. Then, the developer should find 3 to 7 files that best help with that task. Running code and current data files are often better than old documents.
A developer wants an AI model to answer questions about a software project. The developer has 50 documents about the project. Instead of giving all 50 documents, the developer chooses 5 key files. These files include the current code, the project's main design document, and recent user feedback. The AI model then gives more accurate answers than if it read all 50 documents.
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.
Giving an AI model too much information can make it less accurate. This is called 'context rot'.
A developer can ask an AI model to check many items at once. The AI model looks for things like typos or missing information.
Starting with existing code saves time. Existing code has already been tested.
An AI model often has strong ideas about famous authors. These ideas can override general style instructions.
An AI model works better with a small amount of important information. Giving an AI model too many files makes it less accurate. A developer must choose only the most useful files for the AI model to read.