Loading the documentation…

Oda in the browser

DataMind Oda can serve its interface to a browser, so you can open it in a browser tab instead of the app window. The chats, models and settings you see there are the same ones. Oda itself still runs on the computer and serves the page, so the browser view needs DataMind Oda installed there; the browser needs nothing extra. You can also install the page as an app from the browser itself.

Start the browser interface

  1. Open a terminal on the computer where Oda runs.

  2. Start the browser interface:

    sh
    oda --profile web
  3. Oda starts serving the interface. It prints the address, for example http://127.0.0.1:3080/, and opens it in your default browser.

Note

The address Oda prints ends with a one-time sign-in token. Open it exactly as printed; after that first page load, the plain address works on its own in that browser.

You can add options to the start command:

OptionWhat it does
--no-openStarts without opening a browser.
--port <port>Serves on another port instead of 3080; --port 0 lets the system pick a free one. A value that is not a number is refused.
--trusted-host <host>Accepts an extra hostname (or hostname and port) for reaching the interface. Repeat the option to allow more than one.

The Oda web interface is the reference for every option, the lines Oda prints and the sign-in. To start Oda's other modes and run single tasks, see Command line.

Open the browser interface

  1. Open the address Oda printed when it started the browser interface.
  2. Opening it signs this browser in, and the interface loads. Later visits from the same browser open it directly.
  3. An address the interface does not serve answers not found, so a mistyped or stale address is clear.

If a page says Sign-in required; reopen the address the server printed when it started., this browser has not signed in yet: reopen the exact address from the latest start, and the interface loads. The Oda web interface covers the sign-in page and what the address serves.

While Oda loads

First run: the notice and the model key

A fresh interface walks you through its first-run steps in order.

  1. A notice explains that the product is in an early testing stage. Read it and choose Continue.
  2. When no model is set up yet, a second step asks for a model API key. Type the key and choose Save and continue, or choose Configure later to go on without it.
  3. Pick the folder this chat should work in, and the chat screen opens ready for your first task.

While a first-run step is open, the rest of the app does not respond. Use the step's own buttons to answer it.

Install it as an app

  1. Open the interface in a browser.
  2. Use your browser's own install control. Installed this way, the app is named DataMind Oda, with the short name DataMind, and it opens fullscreen.

Questions, answered

Do I need to install anything to use Oda in a browser?

DataMind Oda must be installed on the computer, because Oda serves the browser interface: start the browser interface, then open the address it prints. The browser needs no add-on. Installing the page as an app is optional, and the address keeps working if you skip it.

Why does Oda show a notice before I can start?

A fresh interface opens with a notice about the testing stage of the product. It must be answered before the app can be used: choose Continue, and Oda hands the interface over to you.

Why does nothing else respond while the first-run step is open?

The first-run steps take over the whole app on purpose: until you answer, the rest of the page does not accept input, so nothing runs behind the steps. Escape or a click outside does not count as an answer; use the step's own buttons.

Why did the notice come back?

On the address Oda serves to this computer, your answer is remembered.

Why does Oda ask for a model API key?

Only when no model is set up yet. The step follows the notice on a fresh interface, and it does not come back once any model has a key.

Is the key I save shown anywhere?

No. Oda stores it write-only and never shows it again. To add or replace a key later, open Settings > Models; Models covers the page.

When is Oda ready to use?

When you can use Choose workspace in the interface. Until then it shows the wordmark with Loading plugins… while it starts.

Can I change the port?

Yes. Add --port and the port you want, for example oda --profile web --port 8080. The default is 3080. To let the system pick a free port, pass --port 0. A value that is not a number is refused.

Why did no browser open when I started it?

Oda skips opening a browser when you add --no-open, or when you start it over a remote connection: then it only prints the address. If it tried and could not open your browser, it keeps serving and points you to the printed address. Open that address yourself.

Why did Oda stop instead of printing an address?

If Oda cannot find the built page files, it stops with a message instead of serving an empty page. Reinstall Oda, or build the interface first when you run Oda from a source checkout, then start it again.

How do I stop the browser interface?

In the terminal where it runs, press Ctrl+C. The interface stops serving, and the browser page stops working.

The address I open for Oda sits inside a larger site and includes a folder. Does everything still work?

Yes. Everything the page needs stays under the address you open: the page, its files and its connection to Oda. Install it as an app from that same address, and it keeps working.