Edit

Share via


Create a CLU fine-tuning task

Use this article to learn how to set up these requirements and create a project.

Prerequisites

  • An Azure subscription. If you don't have one, you can create one for free.
  • An Azure AI Language resource.

Create a Language resource

Before you start using conversational language understanding (CLU), you need an Azure AI Language resource.

Note

You need to have an Owner role assigned for the resource group to create a Language resource.

Create a new resource from the Azure portal

  1. Sign in to the Azure portal to create a new Azure AI Language resource.

  2. Select Create a new resource.

  3. In the window that appears, search for Language service.

  4. Select Create.

  5. Create a Language resource with the following information:

    Instance detail Required value
    Region One of the supported regions for your Language resource.
    Name Required name for your Language resource.
    Pricing tier One of the supported pricing tiers for your Language resource.

Create a new Language resource from Language Studio

If it's your first time to sign in, you see a window in Language Studio that you can use to choose an existing Language resource or create a new one. You can also create a resource by selecting the settings icon in the upper-right corner, selecting Resources, and then selecting Create a new resource.

Create a Language resource with the following information:

Instance detail Required value
Azure subscription Your Azure subscription.
Azure resource group Your Azure resource group.
Azure resource name Your Language resource name.
Location Supported regions for your Language resource.
Pricing tier Supported pricing tiers for your Language resource.

Important

  • Make sure to enable managed identity when you create a Language resource.
  • Read and confirm the Responsible AI notice.

Sign in to Language Studio

  1. Go to the Language Studio and sign in with your Azure account.

  2. In the Choose a language resource window that appears, find your Azure subscription, and choose your Language resource. If you don't have a resource, you can create a new one.

    Instance detail Required value
    Azure subscription Your Azure subscription.
    Azure resource group Your Azure resource group name.
    Azure resource name Your Azure resource name.
    Location One of the supported regions for your Language resource. An example is West US 2.
    Pricing tier One of the valid pricing tiers for your Language resource. You can use the Free (F0) tier to try the service.

    A screenshot that shows the resource selection screen in Language Studio.

Create a conversation project

After you create a Language resource, create a CLU project.

  1. In Language Studio, find the section named Understand questions and conversational language and select Conversational Language Understanding.

    A screenshot that shows the ___location of Custom Language Understanding on the Language Studio landing page.

  2. When the Conversational Language Understanding projects page opens, select Create new project.

    A screenshot that shows the conversation project page in Language Studio.

  3. To create a new project, provide the following information:

    Value Description
    Name A name for your project. After you create it, the name can't be changed.
    Description Optional project description.
    Utterances primary language The primary language of your project. Your training data should primarily be in this language.
    Enable multiple languages Whether you want to enable your project to support multiple languages at once.
  4. After you finish, select Create. You should now see the Getting started landing page for your project.

Import a project

You can export a CLU project as a JSON file at any time. On the conversation projects page, select a project, and on the top menu, select Export.

A screenshot that shows the CLU Export button.

You can reimport that project as a new project. If you import a project with the exact same name, it replaces the project's data with the newly imported project's data.

If you have an existing Language Understanding (LUIS) application, you can import the LUIS application JSON to CLU directly. It creates a Conversation project with all the pieces that are currently available: intents, machine learning entities, and utterances. For more information, see Migrate from Language Understanding (LUIS) to conversational language understanding (CLU).

To import a project, select the arrow button next to Create a new project and select Import. Then select the LUIS or CLU JSON file.

A screenshot that shows the CLU Import button.

Export a project

You can export a CLU project as a JSON file at any time. On the conversation projects page, select a project, and then select Export.

Get CLU project details

  1. Go to your Project settings page in Language Studio.

  2. Review your project details.

  3. On this page, you can update your project description and enable or disable Multi-lingual dataset in project settings.

  4. You can also retrieve your resource primary key from this page.

    A screenshot that shows the Project settings page.

Delete a project

When you don't need your project anymore, you can use Language Studio to delete your project. On the left pane, select Projects, select the project that you want to delete, and then select Delete from the top menu.