Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 21 03:08

    yeze322 on main

    Add flow uischema definitions i… (compare)

  • Jan 21 03:08
    yeze322 closed #6163
  • Jan 19 18:50

    a-b-r-o-w-n on update-dri-readme

    add note about enabling SSO for… (compare)

  • Jan 15 06:09
    yeze322 ready_for_review #6163
  • Jan 15 06:08
    yeze322 edited #6163
  • Jan 15 06:05
    yeze322 edited #6163
  • Jan 15 05:53
    yeze322 review_requested #6163
  • Jan 15 05:52
    yeze322 review_requested #6163
  • Jan 15 05:51
    yeze322 edited #6163
  • Jan 15 05:51
    yeze322 opened #6163
  • Jan 14 07:37

    tsuwandy on main

    Removed RoBERTa model from nlrv… (compare)

  • Jan 14 07:37

    tsuwandy on tsuwandy-patch-3

    (compare)

  • Jan 14 07:37
    tsuwandy closed #6162
  • Jan 14 05:26
    tsuwandy edited #6162
  • Jan 14 05:26
    tsuwandy edited #6162
  • Jan 14 05:25
    tsuwandy synchronize #6162
  • Jan 14 05:25

    tsuwandy on tsuwandy-patch-3

    Update NLRModels.md Remove Rob… Merge branch 'tsuwandy-patch-4'… (compare)

  • Jan 14 05:23

    tsuwandy on tsuwandy-patch-4

    Update NLRModels.md Remove Rob… (compare)

  • Jan 14 05:22
    tsuwandy review_requested #6162
  • Jan 14 05:22
    tsuwandy review_requested #6162
rawaum
@umeshrawat
Is there a wiki explaining how to use these jars (like the JS one)
?
Andrew Clear
@clearab
@umeshrawat are you trying to build the SDK to contribute to the SDK, or just to build a bot? Each of the samples there has a readme that should help you run them individually.
Dineth Kumarasinghe
@dinethk
Hey All, I am trying to get direct line speech configured correctly but keep running into this "Error: Request failed with status code 401" from direct line speech. I have confirmed using the proper keys from the speech cognitive service and it's correctly associated with the Bot. It's failing both from webchat and the bot emulator. Any help would be greatly appreciated.
Eric Dahlvang
@EricDahlvang
@dinethk which sdk language are you using? have you gone through this document: https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk ?
volansquab
@volansquab
Hi I'm getting trouble with using slack connector in bot frame work. I know the slack not support for imback action on Hero Card. So I changed that action type from imback to post back in code. However it seems like not only this measure is not solve a this problem. Is anyone help me.
Dmitry Ganzha
@dmitry-ganzha
Hi, I want to do teams auth via oauth with https://github.com/microsoft/botbuilder-java, in samples I can't find corresponding sample. Also I found that OAuthCard class is not available but it exists in C#, Node JS. Do you know if it possible to teams auth with java sdk currently as I can do with other sdk versions ?
Dmitry Ganzha
@dmitry-ganzha
@v-kydela I said not correct class OAuthPrompt instead of OAuthCard
Kyle Delaney
@v-kydela
@dmitry-ganzha - Sorry, prompts are dialogs and the Java SDK is still in preview and doesn't have any dialogs yet. You'll either have to wait for features to be added to the Java SDK, or make them yourself, or use a different SDK.
tfarheen
@tfarheen
I need to disable text to speech in chatbot. Below are the links which I have referred,https://github.com/microsoft/BotFramework-WebChat/issues/1816https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/03.speech/g.hybrid-speechhttps://github.com/microsoft/BotFramework-WebChat/pull/2408https://github.com/microsoft/BotFramework-WebChat/issues/2379According to the above links we need to set webSpeechPonyfillFactory whose value by default is window.WebChat.createBrowserWebSpeechPonyfillFactory() which enables both text to speech and speech to text. To disable text to speech below are the details to be considered in the index file,Create a Hybrid speech engine by creating a function createHybridPonyfillFactorySet speechSynthesis and SpeechSynthesisUtterance to nullPlease refer the attached index file. In the index file below links are to be modified to disable text to speech:https://webchat-mockbot.azurewebsites.net/speechservices/tokenhttps://webchat-mockbot.azurewebsites.net/directline/tokenI'm blocked to update the above links in my project. Please guide me how to deal with this issue.
tfarheen
@tfarheen

I need to disable text to speech in chatbot. the link which I have referred,
https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/03.speech/g.hybrid-speech.

According to the above links we need to set speechSynthesis and SpeechSynthesisUtterance to null.
Please refer the attached index from the above link. In the index file below links are to be modified to disable text to speech:

  1. https://webchat-mockbot.azurewebsites.net/speechservices/token
  2. https://webchat-mockbot.azurewebsites.net/directline/token.
    I'm blocked to update the above links in my project.
    Please guide me how to deal with this issue.
Aleimar
@Aleimar
hi please help me with current problem, the framework is not acknowledging videos as attachment. detailed issue is posted here: https://stackoverflow.com/questions/64907776/video-upload-is-not-being-acknowledge-as-an-attachment-in-bot-framework-sdk-4
thank u!
Dmitry
@ggc820_gitlab
Hi, is it possible to use dynamic login url with OAuthPrompt based on some property(e.g. tenant, https://{tenant}.demo.com/oauth2/authorize) ? As IS I want to use thrid party provider, so I assume I should use OAuth2 Generic provider.
Kyle Delaney
@v-kydela
Yes
Dmitry
@ggc820_gitlab
@v-kydela How can I do this ? In this doc https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-concept-identity-providers?view=azure-bot-service-4.0&tabs=adv1%2Cga2 in the OAuth2 Generic provider section url is static and nothing said how I can change it in runtime
maybe you can share some example or documentation please
Kyle Delaney
@v-kydela
@ggc820_gitlab - Actually OAuthPrompt does not appear to allow you to specify a signin URL. You'll have to write your own code to do that. If you need help then Stack Overflow is the place to ask.
Vadym Kurachevskyi
@hmvs

Hey guys.
I am trying to understand how I can receive the Response from the channel.

What I want to achieve:
I want to get a response from the Telegram server when I send a custom message to the ChannelData.
Why: I want to be able to edit the telegram message that was just sent by the bot.
When you send a message Telegram responds with the object where you have message_id.

Activity textPrompt = turnContext.Activity.CreateReply();
//code to set textPrompt.ChannelData

var response = await turnContext.SendActivityAsync(textPrompt, cancellationToken);

//here I need to access response from server to save message_id which is returned by telegram API
//https://core.telegram.org/bots/api#sendmessage

Can you please help me with it? Some documentation?

Kyle Delaney
@v-kydela
Is response.Id not working?
Vadym Kurachevskyi
@hmvs
Unfortunately no. Response.id has nothing to do with response from telegram API.
Vadym Kurachevskyi
@hmvs

As far as I can see from Convesations.cs file in Bot framework. After the request to https://telegram.botframework.com/v3/conversations/xxxxxxxx/activities/281-xxxxxxx-f
Server responds with

{
  "id": "287-xxxxxxxxx-f"
}

So as far as I understand there is no way to get Telegram response as far as it is not returned by "telegram.botframework.com".
:(

Eric Dahlvang
@EricDahlvang
@hmvs if the goal is to update a message previously sent by the bot, does the response.id from the previous message work if used with UpdateActivityAsync?
            var response = await turnContext.SendActivityAsync(textPrompt, cancellationToken);

            Activity updatePrompt = new Activity { Id = response.Id, Type = ActivityTypes.Message, Text = "updated text" };
            var updateResponse = await turnContext.UpdateActivityAsync(updatePrompt, cancellationToken);
Vadym Kurachevskyi
@hmvs
@EricDahlvang Unfortunately not. Because I have to use ChannelData and custom method from Telegram. This method requires message_id from the previous response.
Eric Dahlvang
@EricDahlvang
the message_id from the previous message should be the response.id from turnContext.SendActivityAsync(message)
2 replies
Ashok pagatipalli
@ashok-dot
Hi Team,

Hi Team,Bot Info
Bot Framework SDK Version: 4.3.2
SDK Platform: .NET Core 3.1
Active Channels: Microsoft Teams Chatbot
Deployment Environment: Azure App Service (West Europe)

I am facing the below issue after migrated LUIS ,it changed appkey,appID and hostname , i have configured correctly and save. i was restart machine ,i am check local emulator not working,then i was deployed to azure server checked chatbot still showing some error message " Operation returned an invalid status code 'Gone'".

var luisApplication = new LuisApplication(
Environment.GetEnvironmentVariable("LuisAppId"),
Environment.GetEnvironmentVariable("LuisAPIKey"),
Environment.GetEnvironmentVariable("LuisAPIHostName")
);

Hi Team, Bot Info
Bot Framework SDK Version: 4.3.2
SDK Platform: .NET Core 3.1
Active Channels: Microsoft Teams Chatbot
Deployment Environment: Azure App Service (West Europe)

I am facing the below issue after migrated LUIS ,it changed appkey,appID and hostname , i have configured correctly and save. i was restart machine ,i am check local emulator not working,then i was deployed to azure server checked chatbot still showing some error message " Operation returned an invalid status code 'Gone'".

var luisApplication = new LuisApplication(
Environment.GetEnvironmentVariable("LuisAppId"),
Environment.GetEnvironmentVariable("LuisAPIKey"),
Environment.GetEnvironmentVariable("LuisAPIHostName")
); Can you please help on this issue. Thank you

Alex
@dupuis2387

Hello.

I'm using Bot Framework (botbuilder v4.5.1) and NodeJs with Restify, hosted on an Azure App Service, with the Skype (consumer Skype, not Skype for Business) channel registration.
My use case is trying to connect Call Center agents to random people that might message my bot.
I make heavy use of the continueConversation feature, within loops:

for (let i = 0; i < allAvailableAgents.length; i++) 
{

   await adapter_reference.continueConversation(agentConversationReference, async turnContext => {
       await turnContext.sendActivity(agentNotificationMessage);
   });
}

Every one in a while, the adapter.onTurnError error handler gets triggered, and i get a message that looks like:

"stack": "Error: connect ETIMEDOUT 52.114.15.98:443\n    
            at new RestError (D:\\home\\site\\wwwroot\\node_modules\\@azure\\ms-rest-js\\dist\\msRest.node.js:1397:28)\n    
            at AxiosHttpClient.<anonymous> (D:\\home\\site\\wwwroot\\node_modules\\@azure\\ms-rest-js\\dist\\msRest.node.js:1550:35)\n    
            at step (D:\\home\\site\\wwwroot\\node_modules\\tslib\\tslib.js:136:27)\n    
            at Object.throw (D:\\home\\site\\wwwroot\\node_modules\\tslib\\tslib.js:117:57)\n    
            at rejected (D:\\home\\site\\wwwroot\\node_modules\\tslib\\tslib.js:108:69)\n    
            at process._tickCallback (internal/process/next_tick.js:68:7)",

It's very sporadic, though. And looking up that IP, it seems to belong to the Microsoft servers that host the Skype service.
Is the problem that I'm trying to send too many messages at once?

Kyle Delaney
@v-kydela
You seem to be waiting for each continueConversation to finish before you process the next one
I don't know if it's your endpoint that's timing out or Skype's endpoint that's timing out. But if it's yours, the solution could be to send all the notification messages at once
Eric Dahlvang
@EricDahlvang
@dupuis2387 that looks like a port exhaustion https://blog.botframework.com/2018/03/05/fix-snat-exhaustion-node-js-bots/ Unfortunately, this blog post does not show how to resolve this issue in a v4 bot. This gits from
@joshgummersall does though :) https://gist.github.com/joshgummersall/84b96988387ba91c05517c247f23ebd0
Alex
@dupuis2387
Thanks for the info @v-kydela and @EricDahlvang , i'll have a look :D
Eric Dahlvang
@EricDahlvang
@dupuis2387 this is in 4.11.0 of the node sdk, so would require upgrading.
huyjack178
@huyjack178
HI there, I have conversation id here 19:I3RyYW5jaHVvbmc4Mi8kYW5ocGRfYnM7MzZjNzE3ZjFjMjI4YWI4MA==@p2p.thread.skype, send to bot v3 show error Failed to decrypt conversation id
Anyone can help me
I think about the ending ==@p2p.thread.skype, It's kind of abnormal conversation id
the other ones don't have ==@p2p
Aline Ribeiro de Almeida
@alinealfa
Hi there. I need to render math formulas in webchat (on the fly). Has anyone done this yet?
Content comes from database and the text has formulas properly delimited with format ASCIImath (for instance: The number `frac{7}{8}` is.... ).
I could render properly to HTML with library MathJax but for the chat we need to use Markdown. Maybe the way would be to set output to SVG file on the fly and add to markdown via ! [] (url_to_image.svg) . Any other suggestion? Thanks.
Kyle Delaney
@v-kydela
@alinealfa - I'm not aware of anyone having done that before. What is the reason why you need to use Markdown? Could you perhaps pass a renderMarkdown function to Web Chat that incorporates MathJax?
Aline Ribeiro de Almeida
@alinealfa
Thanks @v-kydela . I will check that.
Aline Ribeiro de Almeida
@alinealfa
It worked just fine! Thanks @v-kydela
Anton Koval
@psihonavt
Hi there. A question is about the botbuilder v4, python. I have a bot that is part of the MS Teams application. The extension also has a configurable tab in it. In the bot, I want to handle an event when a tab is being added to an MS Teams channel (group chat). I would expect this action to trigger on_conversation_update_activity in a way, but it doesn't do this.
Kyle Delaney
@v-kydela
@psihonavt - Why would you expect that to trigger a conversation update?
JRN
@rjgmail88
Is is possible to uninstall a bot for a user in ms teams using some MS graph api or any other method? We have a user which is not able to talk to a bot in teams. It used to work before, but lately every messages user types runs into an error. So we were thinking to delete / uninstall the bot for that user and, have him install again.
JRN
@rjgmail88
yes
it has been answered there.
Troy Kirin
@troykirin
Hi, has anyone figured out how to invoke a teams task module to render a MSFT Stream video? Trying to invoke some html with an embedded iFrame of a Stream video. Trying to understand how after a successful auth step, acquiring and storing token. How that integrates with task module for SSO.