Examples for Einstein Module Settings

From ModuleSettings.yaml (einstein/ModuleSettings.schema)

---
{}
---
eliza:
  key: ktph-dialogues
---
rosters:
  key: ktph-oncall-roster
  synonyms_file: s3://synonyms.yaml
---
chernobyl:
  key: ktph-documents

custom_modules:
  title: Additional Data
  description: I store custom module data
  chernobylModuleMap:
    - key: clinical-trials
  moduleActions:
    - add:
        - label: Add Clinical Trail
          description: Add Clinical Trail description

data_source_entries_table_settings:
  title: Documents Table
  columns:
    - accessor: state.title
      component: Text
      data:
        valueTemplate: <b>${title}<b>
      disableSortBy: true
      header: Title
      id: title
      style:
        fontSize: 14px
      width: 30px
    - accessor: state.type
      component: Text
      data:
        valueTemplate: <b>${type}<b>
      disableSortBy: true
      header: Type
      id: type
      style:
        fontSize: 14px
      width: 30px
    - accessor: state.status
      component: Status
      data:
        valueTemplate: <b>${status}<b>
      disableSortBy: true
      header: Status
      id: status
      style:
        fontSize: 14px
      width: 30px
    - accessor: state.author
      component: Text
      data:
        valueTemplate: <b>${author}<b>
      disableSortBy: true
      header: Author
      id: author
      style:
        fontSize: 14px
      width: 30px
    - accessor: state.year
      component: Text
      data:
        valueTemplate: <b>${year}<b>
      disableSortBy: true
      header: Year
      id: year
      style:
        fontSize: 14px
      width: 30px
    - accessor: state.tags
      component: Text
      data:
        valueTemplate: <b>${tags}<b>
      disableSortBy: true
      header: Tags
      id: tags
      style:
        fontSize: 14px
      width: 30px


[Main Page] [Schema Documentation] [Raw Schema] [JSON Schema]