Pointing Oda at files with @

In DataMind Oda, type @ in the message box to point Oda at a file or a folder of the chat's workspace; the mention names a path and does not send or read the file by itself. Chat with Oda covers the rest of the chat, and The message box covers the reference chips a mention becomes.

Write a file mention

  1. Type @ at the start of your message or after a space, and the suggestions open as you keep typing.
  2. Pick a suggestion, or write the path yourself, and the mention is inserted into your message.
  3. Send the message. The mention travels with it as the path you pointed at.

Choose from the suggestions

As you type after @, Oda suggests paths from the chat's folder:

Folders the suggestions skip

To keep the list short and useful, the suggestions skip common build and cache folders:

.git, node_modules, dist, build, out, coverage, target, .next, .nuxt, .turbo, .venv, __pycache__, .pytest_cache, .mypy_cache and .gradle.

These are the skips of the @ suggestions. Oda's file searches keep their own list; see Finding files and text.

When a file does not appear

Questions, answered

Why does a file I just created not appear in the suggestions?

Oda's list of the chat's folder refreshes as work goes on. Right after a file changes on disk, the older list can still answer for a moment; type a little more of the name, or ask again shortly, and the new file appears.

Which folders do the suggestions skip?

Build and cache folders: .git, node_modules, dist, build, out, coverage, target, .next, .nuxt, .turbo, .venv, __pycache__, .pytest_cache, .mypy_cache and .gradle. lib is not skipped, and Oda does not read your .gitignore files to decide.

Does mentioning a file make Oda read it?

No. A mention is a pointer at a path; Oda reads the file only when the task needs it, and the read appears as its own step (Reading files and images).

How do I mention a file whose name contains spaces?

Use the quoted form: @"quarterly report.xlsx". The quotes keep the spaces inside the mention.

Can I point Oda at a whole folder?

Yes. A folder mention ends with a slash, for example @src/ or @"design assets/, and it stays open so you can keep going deeper. When the task needs it, Oda can list what is inside the folder.

Can I point Oda at a file outside the chat's folder?

Yes, by writing the path yourself: a relative path resolves from the chat's folder, and an absolute path names a file or folder on this computer. The @ suggestions themselves stay inside the chat's folder; to browse that folder yourself, open Workspace files in the side panel (Browse workspace files).

Why does a hidden file, such as .env, not appear in the suggestions?

Hidden files stay out of the suggestions unless you begin what you type with a dot: @.env offers it.