Create a Virtual Agent topic

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 9분
  • Use Virtual Agent Designer to create and modify Virtual Agent topics (conversations). Build your topic to meet a specific objective or goal, such as fulfilling a user's request or helping a user complete a task.

    시작하기 전에

    Do the following:

    Role required: virtual_agent_admin or admin

    이 태스크 정보

    The topic is in the Inactive state until you publish it. Publishing a topic changes the topic state to Active and automatically deploys the topic to your Virtual Agent clients.

    The Large Language Model (LLM) topic type is faster and easier to set up compared to using Natural Language Understanding. You don't have to select NLU intents or train NLU models for your virtual agent. For more information, see LLM topic discovery in Virtual Agent.

    When NLU is enabled, the Set up Natural Language Understanding (NLU) section is displayed in the Topic Properties page. You can use this section to specify the associated NLU model and intent for the topic. You can also optionally specify keywords that Virtual Agent can use as a fallback if NLU doesn't return a matching intent and topic. For more information, see Natural Language Understanding (NLU) topic discovery in Virtual Agent.

    프로시저

    1. Navigate to All > Conversational Interfaces > Assistant Designer > Virtual Agent > Designer.
    2. Select LLM or NLU/keyword depending on the type of topic you're creating.
    3. Select the type of topic.
      • For LLM topics:
        1. Select Create asset.

          Select Create asset to create a new LLM topic on theVirtual Agent Designer Asset library page

        2. From the Create asset window, select Topic.

          중요사항:
          Selecting any of the other topics in the window will open the create flow in the respective application.
      • For NLU/Keyword topics, select Create topic.

        Assistant Designer Asset library set to NLU/Keyword view, with NLU/Keyword selection switch and Create topic button highlighted.

    4. On the form, fill in the fields.
      For a description of the field values, see Create a topic form.
    5. On the topic creation form, select Create.
    6. On the Flow tab, build the conversation flow.
      Flow steps Description
      Add controls
      To create the topic flow:
      1. Select the controls for user inputs, bot responses, or utilities from the palette and drop them onto the canvas.

        When you add a control to the canvas, it becomes a node in the conversation flow.

      2. For each node, complete the corresponding property sheet. In the topic header bar, select Save. The topic header bar displays a Saving in progress... message. The toast message Successfully saved your topic appears in the lower-right corner afterward for 4 seconds, and can be closed by selecting the X in the message.

        For details about each control and the corresponding properties that you define, see User inputs, Bot responses, and Utilities.

      As you add controls, watch for a yellow warning badge or a red error badge in the corner of the control. The number on the badge indicates the number of issues in that control, such as missing mandatory information in the property sheet. (Highlighting a badge or the "Incomplete" banner at the top of the property sheet details the items in need of correction.)

      Move a node Select the node, drag it to the new location in the flow, and Select Save.
      Delete a node

      Select the X in the upper right corner of the node. In the topic header bar, select Save. The topic header bar displays a Saving in progress... message. The toast message Successfully saved your topic appears in the lower-right corner afterward for 4 seconds, and can be closed by selecting the X in the message.

      주:
      You can't delete a node that has a script variable used by subsequent JavaScript expressions in the flow. Also, you can delete a decision node only when it has a single branch.
    7. Select Test in the header bar to test your topic in a chat window.
      You can review test results in the adjoining tabs. For detailed information, see Testing LLM topics and Testing NLU/Keyword topics.

      If the Now Assist panel, Microsoft Teams application, or Slack application is configured for your environment, preview options for those channels are displayed in the Test button list. Select Preview in Now Assist panel or Preview in Microsoft Teams in the list to test your topic in those environments. For more information, see Integrating Virtual Agent with messaging apps.

    8. When you're finished with the topic, select Save in the topic header bar.
      The topic is in the Inactive state until you publish it.
      The topic header bar displays a Saving in progress... message. The toast message Successfully saved your topic appears in the lower-right corner afterward for four seconds, and can be closed by selecting the X in the message.

    다음에 수행할 작업

    Publish the topic to deploy the topic to your Virtual Agent clients. The topic state changes to Active.

    If you created a topic that might be frequently used in certain contexts (environments), consider promoting the topic as part of the default or custom chat experience.