# Genie Accuracy JSON configuration string The following sections contain information that pertain to the format of the JSON configuration string that is supplied to GenieAccuracyConfig\_createFromJson. This JSON configuration can be supplied to genie-app tool for accuracy evaluation. ## General configuration schema The following provides the schema of the JSON configuration format that is provided to GenieAccuracyConfig\_createFromJson. { "dataset": {"type": "string"}, "type": {"type": "string", "enum": ["perplexity"]}, "engine": { "type": "object", "properties": { "convert-to-basic": {"type": "boolean"}, "role": {"type": "string"} } } } Copy to clipboard | Option | Required | Description | | --- | --- | --- | | dataset | Yes | Path to the dataset file used for accuracy evaluation. | | type | Yes | Type of accuracy metric to compute. Currently only
“perplexity” is supported. | | engine | No | Optional engine configuration for accuracy evaluation. | | engine::convert-to-basic | No | If present, must be set to true. Converts the dialog to
basic mode for accuracy computation. Required for
non-basic dialogs. | | engine::role | No | Specifies the engine role to use for accuracy evaluation. | ## Accuracy configuration example The following is an example configuration for accuracy evaluation. { "dataset": "/path/to/dataset.txt", "type": "perplexity", "engine": { "convert-to-basic": true, "role": "target" } } Copy to clipboard Last Published: Aug 06, 2026 [Previous Topic GenieAccuracy](https://docs.qualcomm.com/bundle/publicresource/80-63442-10/topics/accuracy.md) [Next Topic Tools](https://docs.qualcomm.com/bundle/publicresource/80-63442-10/topics/tools_tools.md)