Categories

Versions

Open File (AI Studio Core)

Synopsis

Opens a file for processing by parsing operators.

Description

Opens a file for processing by parsing operators. Even if this file points to a data file, like Excel or CSV, this operator returns an uninterpreted blob. You still need an operator for parsing the file like Read CSV or Read Excel. In most cases, you don't need an OpenFile operator to open such a file, you can simply use the corresponding read operator. The main use is in combination with some loop or with in an Altair AI Hub service reacting to a POST request.

Output

  • file (File)

Parameters

  • resource typeChoose whether to open a file, a URL or a repository entry.
  • filenameFile to open
  • urlURL to open
  • repository entryrepository entry to open