Workspace dependencies

When a task needs to build or edit a Word, Excel or PowerPoint file, DataMind Oda works from a runtime of its own on your computer: a copy of Python with the libraries document work needs, plus Node.js and pnpm when the copy provides them. This page explains what the runtime contains, where it lives and how it stays current. The document workflow itself is on Create Word, Excel and PowerPoint files.

What the runtime contains

The Office skills behind document work run on this runtime, not on software already installed on your computer.

The runtime leaves your own setup alone:

The step in the chat

When a chat first needs the runtime for document work, Oda prepares it and the chat shows a step called Load workspace dependencies. The step returns the paths into the copy, and the task continues from there.

Note

The runtime lives on your computer, not inside a chat. A new copy is prepared when the runtime itself changes.

Reuse and updates

Questions, answered

When does Oda prepare the runtime?

The first time a chat needs it for document work; the chat then shows the step Load workspace dependencies. Later document tasks reuse the prepared copy.

Where does Oda keep the runtime?

On your computer. Oda keeps one prepared copy; depending on how DataMind Oda is set up, it is used where it is kept or placed into Oda's own storage for your user on first use. It never goes into your own Python setup or your PATH.

Does preparing the runtime download anything?

No. The files come with DataMind Oda, and preparing the runtime copies them on your computer, so nothing is downloaded.

Which libraries does the runtime include?

Oda's copy of Python includes numpy, pandas, python-docx, python-pptx, openpyxl, Pillow, lxml and XlsxWriter. Node.js and pnpm are part of the runtime when the copy provides them. It does not include a PDF library or a plotting library; charts in a document are the file's own charts.

Does every chat prepare its own copy?

No. There is one prepared copy on the computer, and every chat that does document work uses it; the paths Oda hands to a task point into that copy.

Can packages be added to the runtime?

Yes. Packages added to the prepared copy are kept when Oda reuses it.

What happens to the runtime when DataMind Oda updates?

While the runtime stays the same, Oda reuses the prepared copy and keeps the packages added to it. When the runtime changes, Oda prepares the new copy and switches to it in one step; if the switch cannot complete, the previous complete copy stays in service for one more task and the next attempt tries again.

Does the runtime differ between computers?

Yes. Oda prepares the copy that fits your computer's platform and architecture, and a copy that does not fit the computer is refused rather than used.