Configuration
Overview​
The execution of your test is based on the configuration, and select items are preserved in the final report.
Sample config.json​
Below is a sample config, that illustrates leveraging ASR and NLU.
The specific configuration illustrates:
- Production endpoints
- Language: eng-USA
- ASR (with 1 DLM of weight 0.7 and auto punctuation) and NLU (using the ASR results)
- Resources referenced by V1tag
- No wordsets
- gRPC timeouts set for 5s and 15s for asr and nlu respectively
{
	"description": "PROVIDE A DESCRIPTION FOR THIS TEST",
	"log_level": "DEBUG",
	"language": "eng-USA",
	"urls": {
		"oauth": "https://auth.crt.nuance.com/oauth2/token",
		"asr": "asr.api.nuance.com:443",
		"nlu": "nlu.api.nuance.com:443"
	},
	"credentials": {
		"oauth_scopes": "asr nlu",
		"client_id": "appID:_____________REPLACEME_____________",
		"client_secret": "_____________REPLACEME_____________"
	},
	"asr": {
		"topic": "GEN",
		"auto_punctuate": true,
		"dlm_uri": "urn:nuance-mix:tag:model/V1/mix.asr?=language=eng-USA",
		"dlm_weight": 0.7,
		"wordset_path": null,
		"timeout": 5,
        "retry_count": 2,
        "retry_sleep_s": 5,
        "discard_speaker_adaptation": false,
        "asr_settings_uri": "urn:nuance-mix:tag:setting/V1/asr",
        "utterance_detection_mode": "SINGLE",
        "formatting_options": {},
        "formatting_scheme": "date"
	},
	"nlu": {
		"use_asr_results": true,
		"model_uri": "urn:nuance-mix:tag:model/V1/mix.nlu?=language=eng-USA",
		"wordset_path": null,
		"input_logging_mode": "PLAINTEXT",
		"timeout": 15,
        "retry_count": 2,
        "retry_sleep_s": 5
	}
}
See the config.json API reference for more information.