gg 1.0.0
dotnet add package gg --version 1.0.0
NuGet\Install-Package gg -Version 1.0.0
<PackageReference Include="gg" Version="1.0.0" />
paket add gg --version 1.0.0
#r "nuget: gg, 1.0.0"
// Install gg as a Cake Addin #addin nuget:?package=gg&version=1.0.0 // Install gg as a Cake Tool #tool nuget:?package=gg&version=1.0.0
Health Bot Container
A simple web page that allows users to communicate with the Microsoft Health Bot service through a WebChat.
Note: In order to use this Web Chat with the Health Bot service, you will need to obtain your Web Chat secret by going to "Integration/Secrets" on the navigation panel.
1.Deploy the website:
Note: It is recommended you use the default Linux host type when deploying the container. However, if you wish to enable online file editing using the App Service Editor, select 'Windows'.
2.Set the following environment variables:
APP_SECRET
WEBCHAT_SECRET
3.Configure scenario invocation (optional):
The Healthcare Bot service uses language models to interpret end user utterances and trigger the relevant scenario logic in response.
Alternatively, you can programmaticaly invoke a scenario before the end user provides any input.
To implement this behavior, uncomment the following code from the function initBotConversation()
in the /public/index.js
file:
triggeredScenario: {
trigger: "{scenario_id}",
args: {
myVar1: "{custom_arg_1}",
myVar2: "{custom_arg_2}"
}
}
Replace {scenario_id} with the scenario ID of the scenario you would like to invoke. You can also pass different values through the "args" object.
You can read more about programmatic client side scenario invocation here
4.Set the Bot service direct line channel endpoint (optional)
In some cases it is required to set the endpoint URI so that it points to a specific geography. The geographies supported by the bot service each have a unique direct line endpoint URI:
directline.botframework.com
routes your client to the nearest datacenter. This is the best option if you do not know where your client is located.asia.directline.botframework.com
routes only to Direct Line servers in Eastern Asia.europe.directline.botframework.com
routes only to Direct Line servers in Europe.northamerica.directline.botframework.com
routes only to Direct Line servers in North America.
Pass your preferred geographic endpoint URI by setting the environment variable: DIRECTLINE_ENDPOINT_URI
in your deployment. If no variable is found it will default to directline.botframework.com
Note: If you are deploying the code sample using the "Deploy to Azure" option, you should add the above secrets to the application settings for your App Service.
Agent webchat
If the agent webchat sample is also required, switch to the live agent handoff branch
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 231 | 2/22/2023 |