A Table object corresponds to a Brainbase worker.

Initialize

You can either initialize a Table from scratch, or using an already initialized Brainbase object, both methods are shown below.

Read

Loads the title and features of the table from the database.

Insert

The Table object provides an easy function to insert any file or data type natively supported by Brainbase. You can insert any of the following using the same function:

  1. Local file: Insert any supported local file by providing the local file path
  2. URL: Insert any remote file by providing the URL to the file. This also works for scraping the text content of non-file URLs.
  3. Dictionary: Insert a dictionary with the keys corresponding to the keys of the features of the Table object.

Add Columns

You can add new columns to the table using the add_columns function.

Delete

Run Action

You can run a worker action on a selected row using the run function. How to create Action.