Table object corresponds to a Brainbase worker.
Initialize
You can either initialize aTable from scratch, or using an already initialized Brainbase object, both methods are shown below.
Read
Loads thetitle and features of the table from the database.
Insert
TheTable 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:
- Local file: Insert any supported local file by providing the local file path
- URL: Insert any remote file by providing the URL to the file. This also works for scraping the text content of non-file URLs.
- Dictionary: Insert a dictionary with the keys corresponding to the keys of the features of the
Tableobject.
Add Columns
You can add new columns to the table using theadd_columns function.
Delete
Run Action
You can run a worker action on a selected row using therun function. How to create Action.
