Examples for Ratatoskr Application Settings

From ApplicationSettings.yaml (ratatoskr/ApplicationSettings.schema)

---
action_state:
  execute_automatically: true
---
chatterbox:
  user_info:
    user_fullname: Chatterbox User
    restricted_organizations:
      - botmd
      - fleming
  #end user_info
#end chatterbox
---
jarvis:
  query_engine_uri: "some_jarvis_query_engine_settings"
---
jarvis:
  query_engine_uri: "some_jarvis_query_engine_settings"
  llm_settings:
    model: "xxxx"
---
formsg_otp:
  cache_key: "xxx:{email}:otp"
---
healthcheck: # Pinger
  provider_applications:
    - device: xxxxx12345
      heartbeat_key: xxxxx
      ping_messages: Ping!
      pong_messages: Pong!
---
message_testing:
  test_query_responses:
    - query: text message
      responses:
        - type: message
          message:
            type: text
            text: This is a long description text.
    #end text messsage

    - query: message and metadata
      responses:
        - type: message
          message:
            type: text
            text: Hello nemo

      metadata:
        hospital:
          delivery_by: emobot
    #end message and metadata

    - query: message and empty metadata
      responses:
        - type: message
          message:
            type: text
            text: Hello nemo

      metadata: {}
    #end message and empty metadata
  #end test_query_responses
#end message_testing

---
otp_forwarding:
  forward_to:
    - provider_application: ses-noreply
      device_type: email
      destinations: [team@botmd.io]
---
ratatoskr:
  process_subscribe_delivery: true
  process_unsubscribe_delivery: true
  subscribe_message_strings: [hello, world]
  subscribe_messages: "We have registered your subscribe request. You will continue to receive messages from us. To stop receiving messages from us, reply with UNSUBSCRIBE."
  unsubscribe_message_strings: [hello, world]
  unsubscribe_messages: "We have registered your unsubscribe request. You will not receive any unsolicited messages from us. Unsolicited messages are defined as messages sent by us more than one hour after the last message sent to us. To continue receiving messages from us, reply with SUBSCRIBE."
  unsolicited_delivery_timeout: 3600

---
rooster:
  data_source_uid: abcde12345


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