Set up company web search

DataMind Oda can search the web and read pages through your company's own web access, the company path (datamind). Its address, and any key it needs, are set for your deployment, and once you are signed in to your company's DataMind server the session itself authorises the calls. This page covers that path's setup and its messages; the calls and their results are on Searching and reading the web, and how Oda chooses a service is on Web search providers.

What the company path does

See or change the endpoint

  1. Open Settings > Plugins > Plugin configuration > Web search.
  2. The Endpoint field holds the address the company path uses. View or change it there; only you should choose or change the endpoint.
  3. Save. The next search uses the new address, with no restart and no re-registering.

The key and your session

When something fails

A failed call leaves its message with the step in the chat. These are the company path's messages:

MessageWhat it means
Platform web search error (HTTP <status>)The search reached your company's service and came back with an error status.
Platform web read error (HTTP <status>)The page read came back with an error status.
Platform page read failed: <detail>The service reported the read itself as failed; the detail, when present, says why.
Platform web request abortedThe call was stopped before it finished.
Platform web search returned an unprocessable response bodyThe answer was not in a shape Oda could read.
Platform web read returned an unprocessable response bodyThe same, for a page read.

Questions, answered

Where do I view or change the search endpoint?

Open Settings > Plugins > Plugin configuration > Web search and edit the Endpoint field. Only you should choose or change it. Saving serves the next search, and a failed call points you to the same place.

Do I need a key for company web search?

No, not while you are signed in: the endpoints follow your DataMind session, and the session authorises the calls. Where a key is used, a key set directly for the service wins, then a stored credential (a key saved on Settings > Models), and last a key from the environment Oda starts in.

When does an endpoint change take effect?

On the next search. The endpoint and any key are read afresh for each search, so nothing restarts and nothing re-registers. A value from the environment Oda starts in is the one exception: it is read when Oda starts.

Does the search endpoint follow my chat model?

No. The search endpoint is deliberately independent of the endpoint your chat models use, so an error about web search points at its own settings path, not at your model setup.

Why does Oda say web search needs a sign-in?

Because you are signed out. While you are signed out, these calls stop before any network request is made, and Oda reports that web search needs a sign-in or a key. Sign in, then try the search again.

What does Platform web search error (HTTP <status>) mean?

The search reached your company's service and came back with an error status. Try once more; if it keeps failing, keep the message and the status for your DataMind OS administrator.

What does Platform page read failed: <detail> mean?

Your company's service could not read the page and reported why; the detail, when present, names the reason. Check the address, or ask Oda to read a different page.

What does Platform web request aborted mean?

The call was stopped before it finished, for example because the work was cancelled. Nothing was left half-done on your side; send the search again when you want it to run.

Does a company search return page text?

No. A search returns its sources only: a title and an address for each, with a snippet and a date when the service supplies them. When Oda needs the page's words, it reads the page in its own step.

Why does a redirect stop the call?

Redirects are refused rather than followed on this path: the address a redirect points to is never contacted, so your credentials are never sent on to it. Ask Oda to read or search the final address directly.

What happens when the server needs a newer Oda?

The call stops and Oda raises the Update DataMind Oda notice. Update Oda, then try the search again; Update DataMind Oda walks through the update.