语言理解 (LUIS) 认知服务中的数据存储和删除Data storage and removal in Language Understanding (LUIS) Cognitive Services
用于训练模型的数据（如实体、意向和言语）将在应用程序的生存期内保存在 LUIS 中。Data used to train the model such as entities, intents, and utterances will be saved in LUIS for the lifetime of the application. 如果所有者或参与者删除该应用，这些数据会随应用一起删除。If an owner or contributor deletes the app, this data will be deleted with it. 如果某个应用程序在 90 天内未被使用，该应用程序将会被删除。If an application hasn't been used in 90 days, it will be deleted.
应用程序作者可以选择在发送到已发布应用程序的言语上启用日志记录。Application authors can choose to enable logging on the utterances that are sent to a published application. 如果启用，言语将会保存 30 天，并可由应用程序作者查看。If enabled, utterances will be saved for 30 days, and can be viewed by the application author. 如果在发布应用程序时未启用日志记录，则不会存储这些数据。If logging isn't enabled when the application is published, this data is not stored.
导出和删除应用Export and delete app
话语可以存储在两个不同的位置。Utterances can be stored in two different places.
- 在 创作过程 期间，创建话语并将其存储在意向中。During the authoring process, utterances are created and stored in the Intent. 成功的 LUIS 应用需要意向中的话语。Utterances in intents are required for a successful LUIS app. 应用发布并在终结点接收查询后，终结点请求的查询字符串
log=false将确定是否存储了终结点话语。Once the app is published and receives queries at the endpoint, the endpoint request's querystring,
log=false, determines if the endpoint utterance is stored. 如果存储了终结点，它将成为可在门户的“生成”部分、“审核终结点话语”部分中找到的主动学习话语的一部分。If the endpoint is stored, it becomes part of the active learning utterances found in the Build section of the portal, in the Review endpoint utterances section.
- 当你 审核终结点话语 时，如果向意向添加一条话语，该话语将不再作为要审核的终结点话语的一部分存储。When you review endpoint utterances, and add an utterance to an intent, the utterance is no longer stored as part of the endpoint utterances to be reviewed. 它将添加到应用的意向中。It is added to the app's intents.
从意向中删除示例话语Delete example utterances from an intent
删除用于训练 LUIS 的示例陈述。Delete example utterances used for training LUIS. 如果从 LUIS 应用中删除某个示例陈述，则会将其从 LUIS Web 服务中删除，导致其无法导出。If you delete an example utterance from your LUIS app, it is removed from the LUIS web service and is unavailable for export.
从主动学习中删除审核中的话语Delete utterances in review from active learning
可以从 LUIS 在“查看终结点陈述”页中建议的用户陈述列表中删除陈述。You can delete utterances from the list of user utterances that LUIS suggests in the Review endpoint utterances page. 从此列表中删除表述可以防止系统再将其作为建议提出来，但不会将其从日志中删除。Deleting utterances from this list prevents them from being suggested, but doesn't delete them from logs.
禁止记录话语Disable logging utterances
删除帐户Delete an account
如果你未迁移，则可以删除你的帐户，你的所有应用及其示例言语和日志都将被删除。If you are not migrated, you can delete your account and all your apps will be deleted along with their example utterances and logs. 帐户和数据被永久删除之前，数据将保留 90 天。The data is retained for 90 days before the account and data are deleted permanently.
从“设置”页可以删除帐户。Deleting account is available from the Settings page. 在右上角导航栏中选择帐户名可转到“设置”页。Select your account name in the top right navigation bar to get to the Settings page.
删除创作资源Delete an authoring resource
如果已迁移到创作资源，则从 Azure 门户删除资源本身将删除与该资源关联的所有应用程序及其示例言语和日志。If you have migrated to an authoring resource, deleting the resource itself from the Azure portal will delete all your applications associated with that resource, along with their example utterances and logs. 数据将保留 90 天，然后会被永久删除。The data is retained for 90 days before it is deleted permanently.
若要删除资源，请转到 Azure 门户，然后选择你的 LUIS 创作资源。To delete your resource, go to the Azure portal and select your LUIS authoring resource. 请访问“概述”选项卡，然后单击页面顶部的“删除”按钮。Go to the Overview tab and click on the Delete button on the top of the page. 然后确认资源已删除。Then confirm your resource was deleted.
数据处于非活动状态会被视为过期订阅Data inactivity as an expired subscription
出于数据保留和删除的原因，Microsoft 有权自行将处于非活动状态的 LUIS 应用视为过期订阅。For the purposes of data retention and deletion, an inactive LUIS app may at Microsoft’s discretion be treated as an expired subscription. 如果应用在过去 90 天内满足以下条件，则将被视为处于非活动状态：An app is considered inactive if it meets the following criteria for the last 90 days:
- 未对应用发出任何调用。Has had no calls made to it.
- 未进行修改。Has not been modified.
- 未分配有当前密钥。Does not have a current key assigned to it.
- 无任何用户登录应用。Has not had a user sign in to it.