应用架构定义App schema definition

LUIS 应用使用 .json.lu 表示,并且包括所有意向、实体、示例言语、功能和设置。The LUIS app is represented in either the .json or .lu and includes all intents, entities, example utterances, features, and settings.

格式Format

导入和导出应用时,请选择 .json.luWhen you import and export the app, choose either .json or .lu.

格式Format 信息Information
.json 标准编程格式Standard programming format
.lu 受 Bot Framework 的 Bot Builder 工具支持。Supported by the Bot Framework's Bot Builder tools.

版本 7.xVersion 7.x

{
  "luis_schema_version": "7.0.0",
  "intents": [
    {
      "name": "None",
      "features": []
    }
  ],
  "entities": [],
  "hierarchicals": [],
  "composites": [],
  "closedLists": [],
  "prebuiltEntities": [],
  "utterances": [],
  "versionId": "0.1",
  "name": "example-app",
  "desc": "",
  "culture": "en-us",
  "tokenizerVersion": "1.0.0",
  "patternAnyEntities": [],
  "regex_entities": [],
  "phraselists": [
  ],
  "regex_features": [],
  "patterns": [],
  "settings": []
}
elementelement 注释Comment
"hierarchicals": [],"hierarchicals": [], 已弃用,请使用机器学习实体Deprecated, use machine-learning entities.
"composites": [],"composites": [], 已弃用,请使用机器学习实体Deprecated, use machine-learning entities. 复合实体引用。Composite entity reference.
"closedLists": [],"closedLists": [], 列出实体引用,主要用作实体的特征。List entities reference, primarily used as features to entities.
"versionId":"0.1","versionId": "0.1", LUIS 应用的版本。Version of a LUIS app.
"name": "example-app","name": "example-app", LUIS 应用的名称。Name of the LUIS app.
"desc": "","desc": "", LUIS 应用的可选说明。Optional description of the LUIS app.
"culture": "en-us","culture": "en-us", 应用的语言,它会影响基础功能,如预生成实体、机器学习和 tokenizer。Language of the app, impacts underlying features such as prebuilt entities, machine-learning, and tokenizer.
"tokenizerVersion":"1.0.0","tokenizerVersion": "1.0.0", 分词器Tokenizer
"patternAnyEntities": [],"patternAnyEntities": [], Pattern.any 实体Pattern.any entity
"regex_entities": [],"regex_entities": [], 正则表达式实体Regular expression entity
"phraselists": [],"phraselists": [], 短语列表(特征)Phrase lists (feature)
"regex_features": [],"regex_features": [], 已弃用,请使用机器学习实体Deprecated, use machine-learning entities.
"patterns": [],"patterns": [], 模式通过模式语法提高预测准确性Patterns improve prediction accuracy with pattern syntax
"settings": []"settings": [] 应用设置App settings

版本 6.xVersion 6.x

{
  "luis_schema_version": "6.0.0",
  "intents": [
    {
      "name": "None",
      "features": []
    }
  ],
  "entities": [],
  "hierarchicals": [],
  "composites": [],
  "closedLists": [],
  "prebuiltEntities": [],
  "utterances": [],
  "versionId": "0.1",
  "name": "example-app",
  "desc": "",
  "culture": "en-us",
  "tokenizerVersion": "1.0.0",
  "patternAnyEntities": [],
  "regex_entities": [],
  "phraselists": [],
  "regex_features": [],
  "patterns": [],
  "settings": []
}

版本 4.xVersion 4.x

{
  "luis_schema_version": "4.0.0",
  "versionId": "0.1",
  "name": "example-app",
  "desc": "",
  "culture": "en-us",
  "tokenizerVersion": "1.0.0",
  "intents": [
    {
      "name": "None"
    }
  ],
  "entities": [],
  "composites": [],
  "closedLists": [],
  "patternAnyEntities": [],
  "regex_entities": [],
  "prebuiltEntities": [],
  "model_features": [],
  "regex_features": [],
  "patterns": [],
  "utterances": [],
  "settings": []
}

后续步骤Next steps