Bot Framework Ecosystem Frequently Asked Questions

APPLIES TO: SDK v4

This article answers commonly asked ecosystem questions.

How do I enable the Bot Framework Emulator to connect to localhost while behind a corporate proxy?

When developing a bot in a corporate environment, typically, the proxy will block the connection unless you specify that it should be bypassed for localhost. To do that on your local machine you must define the following environment variable:

NO_PROXY=localhost

For more information, see Configure proxy settings.

When will you add more conversation experiences to the Bot Framework?

We plan on making continuous improvements to the Bot Framework, including additional channels, but can't provide a schedule at this time. If you would like a specific channel added to the framework, [let us know][Support].

I have a communication channel I'd like to be configurable with Bot Framework. Can I work with Microsoft to do that?

We haven't provided a general mechanism for developers to add new channels to Bot Framework, but you can connect your bot to your app via the [Direct Line API][DirectLineAPI]. If you're a developer of a communication channel and would like to work with us to enable your channel in the Bot Framework, [we'd love to hear from you][Support].

If I want to create a bot for Microsoft Teams, what tools and services should I use?

The Bot Framework is designed to build, connect, and deploy high quality, responsive, performant and scalable bots for Teams and many other channels. The SDK can be used to create text/sms, image, button and card-capable bots (that is, most bot interactions across conversation experiences) as well as bot interactions that are Teams-specific, such as rich audio and video experiences.

If you already have a great bot and would like to reach the Teams audience, your bot can easily be connected to Teams (or any supported channel) via the Bot Framework for REST API (provided it has an internet-accessible REST endpoint).

How do I create a bot that uses the US Government data center?

What is the Direct Line channel?

Direct Line is a REST API that allows you to add your bot into your service, mobile app, or webpage. You can write a client for the Direct Line API in any language. Simply code to the [Direct Line protocol][DirectLineAPI], generate a secret in the Direct Line configuration page, and talk to your bot from wherever your code lives.

Direct Line is suitable for:

  • Mobile apps on iOS, Android, and Windows Phone, and others
  • Desktop applications on Windows, OSX, and more
  • Webpages where you need more customization than the [embeddable Web Chat channel][WebChat] offers
  • Service-to-service applications

What are the steps to configure Web Chat and Direct Line for Azure Government?

The steps to configure Web Chat and Direct Line for Azure Government are similar to those used for global Azure. In Azure Government, you set the domain to the Azure Government URL because the default domain applies to global Azure, not Azure Government. The global Azure URL (https://webchat.botframework.com/v3/directline) is different from Azure Government URL (https://webchat.botframework.azure.us/v3/directline) for the Web Chat and Direct Line configuration. The following example shows how to set the domain to the Azure Government URL:

<body>
    <div id="webchat" role="main"></div>
    <script>
      window.WebChat.renderWebChat(
        {
          directLine: window.WebChat.createDirectLine({
            token: 'YOUR_TOKEN_SECRET',
            domain: 'https://webchat.botframework.azure.us/v3/directline'
          }),
          userID: 'YOUR_USER_ID',
          username: 'Web Chat User',
          locale: 'en-US',
          botAvatarInitials: 'WC',
          userAvatarInitials: 'WW'
        },
        document.getElementById('webchat')
      );
    </script>
</body>

Learn more from the following docs:

How does the Bot Framework relate to Azure cognitive services?

Both the Bot Framework and Azure AI services are built from years of research and use in popular Microsoft products. These capabilities enable every organization to take advantage of the power of data, the cloud and intelligence to build their own intelligent systems that unlock new opportunities, increase their speed of business and lead the industries in which they serve their customers.

What are the possible machine-readable resolutions of the LUIS built-in date, time, duration, and set entities?

Note

Language Understanding (LUIS) will be retired on 1 October 2025. Beginning 1 April 2023, you won't be able to create new LUIS resources. A newer version of language understanding is now available as part of Azure AI Language.

Conversational language understanding (CLU), a feature of Azure AI Language, is the updated version of LUIS. For more information about language understanding support in the Bot Framework SDK, see Natural language understanding.

For a list of examples, see the Pre-built entities section of the LUIS documentation.

How can I use more than the maximum number of LUIS intents?

Note

Language Understanding (LUIS) will be retired on 1 October 2025. Beginning 1 April 2023, you won't be able to create new LUIS resources. A newer version of language understanding is now available as part of Azure AI Language.

Conversational language understanding (CLU), a feature of Azure AI Language, is the updated version of LUIS. For more information about language understanding support in the Bot Framework SDK, see Natural language understanding.

You might consider splitting up your model and calling the LUIS service in series or parallel.

How can I use more than one LUIS model?

Note

Language Understanding (LUIS) will be retired on 1 October 2025. Beginning 1 April 2023, you won't be able to create new LUIS resources. A newer version of language understanding is now available as part of Azure AI Language.

Conversational language understanding (CLU), a feature of Azure AI Language, is the updated version of LUIS. For more information about language understanding support in the Bot Framework SDK, see Natural language understanding.

Both the Bot Framework SDK for Node.js and the Bot Framework SDK for .NET support calling multiple LUIS models from a single LUIS intent dialog. Keep in mind the following caveats:

  • Using multiple LUIS models assumes the LUIS models have non-overlapping sets of intents.
  • Using multiple LUIS models assumes the scores from different models are comparable, to select the "best matched intent" across multiple models.
  • Using multiple LUIS models means that if an intent matches one model, it will also strongly match the "none" intent of the other models. You can avoid selecting the "none" intent in this situation; the Bot Framework SDK for Node.js will automatically scale down the score for "none" intents to avoid this issue.

Where can I get more help on LUIS?

Note

Language Understanding (LUIS) will be retired on 1 October 2025. Beginning 1 April 2023, you won't be able to create new LUIS resources. A newer version of language understanding is now available as part of Azure AI Language.

Conversational language understanding (CLU), a feature of Azure AI Language, is the updated version of LUIS. For more information about language understanding support in the Bot Framework SDK, see Natural language understanding.