應用程式架構定義

重要

LUIS 將於 2025 年 10 月 1 日淘汰,而自 2023 年 4 月 1 日開始,您將無法建立新的 LUIS 資源。 建議移轉 LUIS 應用程式交談語言理解,以享有產品持續支援和多語言功能的優點。

LUIS 應用程式會 .json 以 或 .lu 表示,並包含所有意圖、實體、範例語句、功能和設定。

格式

當您匯入與匯出應用程式時,請選擇 .json.lu

格式 資訊
.json 標準程式設計格式
.lu Bot Framework 的 Bot Builder 工具支援。

版本 7.x

  • 移至 7.x 版,實體會以巢狀機器學習實體表示。
  • 支援使用下列撰寫 API 上的 屬性撰寫巢狀機器學習實體 enableNestedChildren
    • 新增標籤
    • 新增批次標籤
    • 檢閱標籤
    • 建議實體的端點查詢
    • 建議意圖的端點查詢 如需詳細資訊,請參閱 LUIS 參考檔
{
  "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": []
}
項目 註解
“階層式”: [], 已被取代,請使用 機器學習實體
“composites”: [], 已被取代,請使用 機器學習實體複合實體 參考。
“closedLists”: [], 列出實體 參考,主要用於實體的功能。
“versionId”: “0.1”, LUIS 應用程式的版本。
“name”: “example-app”, LUIS 應用程式的名稱。
“desc”: “”, LUIS 應用程式的選擇性描述。
“culture”: “en-us”, 應用程式的語言 會影響基礎功能,例如預先建置的實體、機器學習和Tokenizer。
“tokenizerVersion”: “1.0.0”, 權杖化工具
“patternAnyEntities”: [], Pattern.any 實體
“regex_entities”: [], 規則運算式實體
“phraselists”: [], 片語清單(功能)
“regex_features”: [], 已被取代,請使用 機器學習實體
“patterns”: [], 模式使用模式語法改善預測精確度
“settings”: [] 應用程式設定

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.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": []
}

下一步