Settings for configuring an Einstein data source.
No Additional PropertiesWhether this data source allows user upload. Defaults to false
.
Determines if a entries from this data source should be converted to PDF. Defaults to true
.
Boolean flag to indicate that deactivated entries should be deleted. Defaults to false
.
Recreate all entries skipping find
and is_same
in syncer (faster for large number of entries eg. 50k directory). Defaults to false
.
Should UI be able to delete entries in this DataSource
. Defaults to true
.
Indicates if the entries in the DataSource
are user created or preset. Defaults to true
.
Determines if a file pages.json
containing a mapping of text page number to text will be generated and uploaded to storages. Defaults to false
.
The method used for converting office documents to PDF. Defaults to convertapi
.
Settings related to Chernobyl module.
No Additional PropertiesThe corresponding Chernobyl MiniApp key in Jarvis.
Must be at least 1
characters long
Settings for fields to be used when syncing.
Must contain a minimum of 1
items
All items must be unique
No Additional ItemsUniquely identifiable key used internally for this field. It will be used as the key
when storing values associated with this field.
Must be at least 1
characters long
If this field should be encrypted in the database (defaults to false
).
The URL for the synonyms file to use for synonyms transformation. Use only links to our own s3.
Must be at least 1
characters long
Settings related to Eliza (Dialogues) module.
No Additional PropertiesThe corresponding Eliza provider key in Jarvis.
Must be at least 1
characters long
Settings related to Rosters module.
No Additional PropertiesThe corresponding Rosters Provider key in Jarvis.
Must be at least 1
characters long
The S3 uri to a synonyms YAML file used by the roster parser (uses default if not provided).
Must be at least 1
characters long
Settings for fields to be used when syncing.
Must contain a minimum of 1
items
All items must be unique
No Additional ItemsIndicate DataSource to generate fake dates for entries (today).
Settings related to singhealth datasources.
The Singhealth institution names as it appears in the column to filter the rows by.
Must contain a minimum of 1
items
All items must be unique
No Additional ItemsMust be at least 1
characters long
Settings for using Google Drive as a data source.
No Additional PropertiesThe service account credentials.
Credential type. Must be service_account
.
"service_account"
Private key associated with the credential.
Must be at least 1
characters long
Additional Properties of any type are allowed.
Type: objectThe unique URL of the Google Drive or folder.
Must be at least 1
characters long
Settings for using a ingestor as a data source.
UID of the IngestorContent
to sync (may change on ingestor wipe, use content_uri
and worker_key
instead).
Must be at least 1
characters long
URI of the IngestorContent
to sync (use with worker_key
).
Must be at least 1
characters long
List of URIs of the IngestorContent
to sync (use with worker_key
).
Must contain a minimum of 1
items
All items must be unique
No Additional ItemsMust be at least 1
characters long
Worker key of the IngestorContent
to sync (use with content_uri
).
Must be at least 1
characters long
Prefix for the IngestorContent
content URI.
Must be at least 1
characters long
Regex filter for IngestorContent
content URI.
Must be at least 1
characters long
The worker keys of IngestorContent
to sync.
Must contain a minimum of 1
items
All items must be unique
No Additional ItemsMust be at least 1
characters long
The sheet names that should be synced.
Must contain a minimum of 1
items
All items must be unique
No Additional ItemsMust be at least 1
characters long
The excel row to start parsing from (the first row should default to the column header, defaults to 1).
Settings for Mock data source. This is used in unit tests and not be used in real life.
Settings for using a Noop data source. This is useful as a dummy data source for user uploaded entries.
Settings for using a Noop dialogue data source. This is useful as a dummy data source for user uploaded entries.
Settings for using S3 as a data source. Access control will depend on permissions being assigned to the Hippocrates task role: staging-hippo-ecs_task_role-20180611204658589300000001
and product-hippo-ecs_task_role-20180620231135019400000002
.
The s3://
URI to the bucket along with key prefix. A trailing slash is always added.
Must be at least 1
characters long
The s3://
URIs to the buckets along with key prefix. A trailing slash is always added.
Must contain a minimum of 1
items
All items must be unique
No Additional ItemsMust be at least 1
characters long
Settings for using a tabular interface as a data source.
The URL containing tabular data.
Must be at least 1
characters long
URLs containing tabular data (for use when data is split into multiple tables).
Must contain a minimum of 1
items
Must be at least 1
characters long
Name of the sheet in a workbook
Must be at least 1
characters long
Used to denote which is the Status column. Defaults to Status
.
If any of development
, staging
, production
, test
appears in the status column, the row will be ignored unless it is executed in the same environment (as denoted by settings.ENVIRONMENT
).
If ignore
appears in the status column, the row is ignored.
Must be at least 1
characters long
An array of string to denote the headers for the TabularInterface. Useful if the source data does not define headers.
Must contain a minimum of 1
items
Must be at least 1
characters long
Whether to skip the header row.
This is a misnomer. It refers to whether the source data contains a header row.
When set to true
, every row of the source data is read.
When set to false
(default behavior), the first row of the data is treated as the headers
value and data starts from the 2nd row onwards.
Each additional property must conform to the following schema
Type: objectAdditional properties will be passed on to the __init__
for the TabularInterface
reader.