Files
JiboOs/V3.1/build/usr/local/etc/jibo-jetstream-service.json

159 lines
5.8 KiB
JSON

{
"webCore": {
"serverPort": 8090,
"fileRoot": "/usr/local/var/www/jetstream",
"requestLogging": false
},
"JetstreamService": {
"stacktracing": false,
"registryPort": 8181,
"serverPort": 8090
},
"JetService": {
"log_directory": "/var/log/jetstream"
},
"HubClient": {
"proactive_url": "/v1/proactive",
"listen_url": "/v1/listen",
"listen_language": "en-US",
"override": {
"hub_port": 9000,
"hub_hostname": "192.168.1.28",
"entrypoint_hostname": "192.168.1.28"
},
"region-settings": {
"comment": "This is a switch, selected by the 'region' field setting in the robot's /var/jibo/credentials.json file",
"dev-entrypoint": {
"hub_port": 443,
"hub_hostname": "dev-hub.jibo.com",
"entrypoint_hostname": "dev-entrypoint.jibo.com"
},
"alpha-entrypoint": {
"hub_port": 443,
"hub_hostname": "alpha-hub.jibo.com",
"entrypoint_hostname": "alpha-entrypoint.jibo.com"
},
"stg-entrypoint": {
"hub_port": 443,
"hub_hostname": "stg-hub.jibo.com",
"entrypoint_hostname": "stg-entrypoint.jibo.com"
},
"preprod-entrypoint": {
"hub_port": 443,
"hub_hostname": "preprod-hub.jibo.com",
"entrypoint_hostname": "preprod-entrypoint.jibo.com"
},
"api": {
"hub_port": 443,
"hub_hostname": "neo-hub.jibo.com",
"entrypoint_hostname": "api.jibo.com"
}
},
"encoding_type_comment": "This can be either LINEAR16, FLAC, or OGG_OPUS",
"encoding_type": "OGG_OPUS",
"encoding-settings": {
"OGG_OPUS": {
"streaming_rate": 1.2,
"channels": 1,
"sample_rate": 16000,
"bitrate": 64000,
"vbr": true
},
"FLAC": {
"streaming_rate": 3.0,
"channels": 1,
"sample_rate": 16000,
"bps": 16
}
}
},
"AudioChannel": {
"block_duration_ms": 50,
"period_size": 85,
"buffer_size": 2048
},
"HJLogger": {
"speech_analytics_log_path": "/var/log/jetstream/hj_logs",
"comment-logging-fraction": "The probability that an HJ utterance will be logged -- range 0-1",
"logging_probability": 0.05,
"start_margin_ms": 500,
"end_margin_ms": 500
},
"RecogHJ": {
"config_path": "/usr/local/share/asr/hey_jibo",
"comment": "Positive margin values widen the HJ Phrase spotter's standard endpoints. The end_margin_ms also compensates for the Phrase Spotter's premature endpoint, which is around the beginning O in jibO",
"hj_start_margin_ms": 0,
"hj_end_margin_ms": 100
},
"HubAsr": {
"global_sosTimeout_sec": 3,
"global_maxSpeechTimeout_sec": 20,
"local_sosTimeout_sec": 2,
"local_maxSpeechTimeout_sec": 20
},
"RecogSpeakerID": {
"ubm_path": "/usr/local/share/asr/sensory_data_td/",
"client_path": "/var/jibo/asr/sensory_data_td/",
"comment": "change next property to 'sensory_log_path' to enable Sensory authenticator logging, 'xxxsensory_log_path' to disable",
"xxxsensory_log_path": "/var/jibo/asr/sensory_auth_logs",
"threshold": -1.2,
"confidence_margin": 2,
"margin-comment": "positive values for start and end margins widen the space around the speaker-id HJ",
"id_start_margin_ms": 250,
"comment2":"id_end_margin is used when retrying to ID with an audio segment, it also controls the end margin of the logged utts",
"id_end_margin_ms": 300,
"PHRASEver": "OFF"
},
"RecogSpeakerEnroll": {
"ubm_path": "/usr/local/share/asr/sensory_data_td/",
"client_path": "/var/jibo/asr/sensory_data_td/",
"comment": "change next property to 'sensory_log_path' to enable Sensory enroller logging, 'xxxsensory_log_path' to disable",
"xxxsensory_log_path": "/var/jibo/asr/sensory_enroller_logs",
"speech_analytics_log_path": "/var/log/jetstream/enroller_logs",
"minEnrollUtts": 6,
"checkQuality": "LOW",
"margin-comment": "positive values for the start margin increase the amount of silence fed to the enroller before the HJ occurs",
"enroll_start_margin_ms": 250
},
"RecogEOS": {
"resource_path": "/usr/local/share/asr/jibo_energy_eos"
},
"RecogNameLearning": {
"resource_path": "/usr/local/share/asr/namelearning",
"temp_path": "/var/jibo/asr/namelearning_temp/",
"speech_analytics_log_path": "/var/log/jetstream/namelearning_logs",
"g2p_service": "http://localhost:8089/tts_nbest_prons"
},
"logging": {
"jibo_message_prefix": "C",
"channels": {
"console": {
"class": "ConsoleChannel",
"pattern": "%Y-%m-%d %H:%M:%S %s: [%p] %t"
},
"syslog": {
"class": "RFC_5424_Channel",
"name": "jibo-jetstream-service",
"facility": "SYSLOG_DAEMON"
},
"splitter": {
"class": "SplitterChannel",
"channels": "syslog"
}
},
"loggers": {
"root": {
"level": "debug"
},
"l1": {
"name": "JetService",
"level": "debug"
},
"l2": {
"name": "Application",
"level": "debug"
}
}
}
}