Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 09 20:44
    cleemullins synchronize #2665
  • Jan 09 20:44
    cleemullins synchronize #2669
  • Jan 09 20:44
    cleemullins synchronize #2679
  • Jan 09 20:44
    cleemullins synchronize #2698
  • Jan 09 20:44
    cleemullins synchronize #4985
  • Jan 09 20:44

    cleemullins on master

    Adding General Activity Flow UM… (compare)

  • Jan 09 20:44

    cleemullins on ActivityFlowUmlDiagram

    (compare)

  • Jan 09 20:44
    cleemullins closed #5708
  • Jan 09 19:23

    scheyal on esbfsdk

    (compare)

  • Jan 09 19:22
    scheyal review_requested #5709
  • Jan 09 19:22
    scheyal opened #5709
  • Jan 09 19:21

    scheyal on esbfsdk2

    added Ashley (compare)

  • Jan 09 19:17

    scheyal on esbfsdk2

    (compare)

  • Jan 09 19:15

    scheyal on esbfsdk

    adding ashley (compare)

  • Jan 09 01:30
    Zerryth review_requested #5708
  • Jan 09 01:27
    Zerryth opened #5708
  • Jan 09 01:24

    Zerryth on ActivityFlowUmlDiagram

    Bundled the markdown file sourc… (compare)

  • Jan 09 01:12

    Zerryth on ActivityFlowUmlDiagram

    Added GeneralActivityFlow (compare)

  • Jan 08 19:32
    cleemullins synchronize #2665
  • Jan 08 19:32
    cleemullins synchronize #2669
turbozapekanka
@turbozapekanka
How do I restart a chat session in facebook channel?
FlorenciaNodar
@FlorenciaNodar
Hi! Can you use bot framework v4 with .net core 3.0?
Ali
@Aliandi
Is there anyone here deploying python bots to azure? I am getting a 502 when testing every time :(
Alberto Dallagiacoma
@albertodall
@FlorenciaNodar Yes. I'm using it, no problems at all..
Aveek
@aveek22
@dinobrago You can relate it to an FAQ page of a website. In addition to that, you can also design your own questions and answers from which users can conversate with.
FlorenciaNodar
@FlorenciaNodar
@albertodall Muchas gracias!
Dean Goddette
@dinobrago
@aveek22 Yes, I should have been clearer. I have been trying it out and it seems overkill for a simple FAQ and more tailored to creating knowledge bases from large sets of documents. But that's my uninformed opinion. I was interested in people's hands on experience with it. Any users of it out there?
PaoloWork
@PaoloWork
Hello! Question about protect a bot in Azure. I created a Web App Bot and related App Service, registered the Bot in Azure Active Directory with MS id and psw.
I want to protect the endpoint of my bot (https://<bot_name>.azurewebsites.net) switching on the Authentication setting of the app service (AAD provider). What i need to configure to allow botframework to continue to work correctly? Thanks in advance
wmendoza107
@wmendoza107
@dinobrago QnAMaker now allows for multi-turn questions & answers, so you can actually use it for troubleshooting steps with a user. (E.g. Instructional steps in product manual.) I've used QnA Maker to create a bot that points me (and my teammates) to multiple internal resources (e.g. Booking travel, links to corporate perks, links to marketing dashboards and other tools).
Christopher Anderson
@christopheranderson
@Aliandi - 502 usually means your process is crashing/not starting. Have you checked your application logs for some exception messages or clues as to what is happening?
Ali
@Aliandi
@christopheranderson I've checked the logs and the issue was when the app runs it does not have the requirements installed (e.g. botbuilder-core) even though I have a requirements.txt file. I've been stuck with this deploy for a week. Is there any guide for python bot deployment I could have missed out?
Kyle Delaney
@v-kydela
@Aliandi - I recommend asking a question on Stack Overflow so you can provide more details
Christopher Anderson
@christopheranderson
quick workaround is to run python -m pip install --upgrade -r /home/site/wwwroot/requirements.txt from kudu console to install your packages
As Kyle said, a SO post with some details on how you tried to deploy/etc. would help to understand why the packages weren't installed when you deployed.
Ali
@Aliandi
@v-kydela @christopheranderson I'll be looking into that workaround and if I still can't make it work I'll be posting on SO. Thanks for the help :heart: !
Eric Dahlvang
@EricDahlvang
@Aliandi i deployed some python bots to Azure Thursday. What steps are you following?
Eric Dahlvang
@EricDahlvang
@PaoloWork Azure Bot Service authentication is described here: https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-authentication?view=azure-bot-service-4.0#authentication-technologies the protocol ssl/tls, oath 2.0, jwt tokens
The sdks are written to validate these tokens
Eric Dahlvang
@EricDahlvang
Locking down the aad app associated with the bot would prevent the connector services messages from making it to the endpoint.
It is possible to use a separate aad app registration, and require signing into that from the bot: https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-authentication?view=azure-bot-service-4.0&tabs=csharp
Eric Dahlvang
@EricDahlvang
Ali
@Aliandi
Eric Dahlvang
@EricDahlvang
Just tried it again, and successfully deployed the echo bot using az cli and template-with-new-rg.json from https://github.com/microsoft/BotBuilder-Samples/tree/master/samples/python/02.echo-bot/deploymentTemplates with the following steps:
az login
az account set --subscription "My Subscription Name"
az configure --defaults group=MyDefaultResourceGroup location=westus
az ad app create --display-name "EricPython02Echo" --password "MyPython02EchoPassword" --available-to-other-tenants
[ad app create will generate an appid for next step '2b7d57cf-6185-4fc6-accb-eb24dd1e6931']
az deployment create --name "EricPython02Echo" --template-file "template-with-new-rg.json" --location "westus" --parameters appId="2b7d57cf-6185-4fc6-accb-eb24dd1e6931" appSecret="MyPython02EchoPassword" botId="EricPython02Echo" botSku=S1 newAppServicePlanName="EricPython02EchoAppServicePlan" newWebAppName="EricPython02Echo" groupName="EricPython02EchoGroup" groupLocation="westus" newAppServicePlanLocation="westus"
[zip up the code and deploy with the following]
az webapp deployment source config-zip --resource-group "EricPython02EchoGroup" --name "EricPython02Echo" --src "code.zip"

Deploying to an existing resource group also works, but there is a restriction where it can only have linux resources. If there are windows resources in the resource group, the deployment will fail.
Ali
@Aliandi
@EricDahlvang that worked like a charm! I have an echo bot deployed and answering right now! Thanks!
Eric Dahlvang
@EricDahlvang
:)
Lars Schumachenko
@larsschumachenko

Hello!
I recently did my first steps around building a bot.
While doing that, I ran into an authentication issue which I'm unable to solve on my own.
I'm using python and started some tests with the echo bot: https://github.com/microsoft/BotBuilder-Samples/tree/master/samples/python/02.echo-bot
I registered an application and configured the bot with APP_ID and APP_PASSWORD.
After starting the bot, it works fine for a while. After an hour or so it stops working (means: doesn't send messages anymore to MS Teams) and I see this in the logs:

DEBUG urllib3.connectionpool https://smba.trafficmanager.net:443 "POST /emea/v3/conversations/19%3Ae9aa9e96861[...] HTTP/1.1" 401 61 DEBUG msrest.exceptions Operation returned an invalid status code 'Unauthorized'

I assume the token which has been received when during the initial interaction is expired and the bot is not allowed to send messages anymore.
I guess I need to configure some kind of authentication refresh, eg telling the underlying framework
to fetch a new token in case the current one is expired is about to expire.
However, I can't find a way of achieving that.
Do you have any hints where I need to look at?

Eric Dahlvang
@EricDahlvang
Hi @larsschumachenko ... I ran into the same issue: microsoft/botbuilder-python#596
The fix was merged yesterday: microsoft/botbuilder-python#600
Lars Schumachenko
@larsschumachenko
Ah, nice! Thanks for the info.
Eric Dahlvang
@EricDahlvang
We will be pushing a 4.7.1 patch soon
Eric Dahlvang
@EricDahlvang
Lars Schumachenko
@larsschumachenko
@EricDahlvang I updated the library, it works properly now. Thank you for the fast fix.
Eric Dahlvang
@EricDahlvang
:)
JRN
@rjgmail88
Can anyone help with this question ? This is about Bot Timeout solution in V4 bot. https://stackoverflow.com/questions/59776589/botbuilder-timeout-for-typescript-virtual-assistant
Christopher Anderson
@christopheranderson
@rjgmail88 - I'm gonna forward your SO post to the VA team and see if they have any advice. If not, I'll try to help out.
if you could share anything you've tried/etc. it might help give more specific advice.
FlorenciaNodar
@FlorenciaNodar
I need to bring all the extreme expressions of LUIS, what does it bring?
image.png
Kyle Delaney
@v-kydela
@FlorenciaNodar - In English that means "review endpoint utterances"
Alexp2019
@Alexp2019
Hi, does anyone know how a teams bot can access the replies in a conversation?