L
LLLOS.ai
Career
L
◆ AI Learning · Hard rule

How should an AI model list file paths in its responses?

An AI model must always provide the full Windows file paths for all files it creates, modifies, or references. The paths help the user find the files easily. The paths must be in a plain code block.

By Pawan Nayar · from the LLOS AI Learning record

The rule

An AI model must always provide the full Windows file paths for all files it creates, modifies, or references.

The paths help the user find the files easily. The paths must be in a plain code block.

The AI model must list every file path. This includes files created, changed, or just mentioned. The paths must be full Windows paths. Use backslashes in the path. Put all paths inside a code block. This makes paths easy to copy. The user can then find the files outside of the current tool.

A developer asks the AI model to create a new web page. The AI model writes the HTML file. The AI model then lists the full path to the new HTML file in a code block at the end of its response. Without the path, the developer would not know where to find the new file on their computer.

Words you'll need

Resolved from this lesson's own record — real definitions, not invented for this page.

Information Retrieval

Finding the right information when you ask for it

Human-AI Interaction

How people and AI systems communicate and work together

Model Interpretability

Understanding how AI makes its decisions

Action Space

All the moves an AI can actually make

Questions people ask

More from the same record, pulled by shared topic — not written new for this page.

How should an AI model reference files in its responses?

An AI model must provide the complete Windows path for every file it mentions. This means showing the full location of the file on the computer.

When an AI model mentions a file, should it provide the full file path?

Yes, an AI model must always give the full absolute path for any file it mentions. This includes files in lists, summaries, or proposed actions.

When should an AI model show the full paths of files it has changed?

An AI model must show full file paths after every major update. A major update is any change that modifies one or more files.

How should a developer use Markdown files when working with an AI model?

Markdown files are for human notes and research. A developer uses them to explain ideas or keep records.

What to remember

An AI model must always provide the full Windows file paths for all files it creates, modifies, or references. The paths help the user find the files easily. The paths must be in a plain code block.