Giter Site home page Giter Site logo

tompaana / bot-message-routing Goto Github PK

View Code? Open in Web Editor NEW
51.0 7.0 23.0 27.07 MB

Message routing component for chatbots built with Microsoft Bot Framework C# SDK.

Home Page: https://tompaana.github.io/content/chatbots_as_middlemen.html

License: MIT License

C# 100.00%
chatbots microsoft-bot-framework bot-framework azure-storage

bot-message-routing's People

Contributors

codinglike-agirl avatar daltskin avatar digitaldias avatar garypretty avatar jongon avatar lcarli avatar syedhassaanahmed avatar tompaana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bot-message-routing's Issues

"Agent" using Facebook Messenger fails to send messages to "client"

First off, this package is absolutely wonderful. Great job! It works great if I use the emulator or sms but I've found a scenario where there seems to be a bug.

If I use Facebook messenger to issue the "command watch", I get the expected, "This channel/conversation is now where the requests are aggregated". Then if I use my cell phone, via sms, to request a "human" the process works great, asking to accept the conversation request. Then, after accepting, if I send messages from my cell phone (sms) those messages arrive just fine in Messenger but if I try to respond to the "client" from Messenger I receive:

"You said: hello
Type "command options" to see all command options.
Type "human" to initiate conversation with human agent."

Indicating the conversation is not connected.

routingbug

SendMessageAsync should allow use of custom bot credentials

Hi there, we're using custom bot id keys etc. (don't know if that matters). When await _messageRouterManager.SendMessageToPartyByBotAsync(
conversationClientParty, messageToConversationClient); is called it returns fine but it doesn't respond in the channel. (using web chat) I hooked up to the response of it and that is always null when it returns.

How do I get this to respond back to the channel with a please wait?

Also similarly I'm not getting notified on the watching endpoint that there is a request waiting. I'm assuming this is all related?

Optimize DB calls

The database queries should be optimized. We should optimize the number of calls required to execute an operation.

Enable N:N connections

I can't connect to multiple customer at a time.
Can I do this for multiple users?

messageRouterResult = await messageRouterManager.ConnectAsync(
senderParty,
partyToAcceptOrReject,
createNewDirectConversation);

How to handle multiple messages to single agent scenrio

Hi @tompaana , This package is superb and great work.

Can we handle multiple messages to same agent at a time and agent can answers to them one by one(Scenario which I required is something how we chant Skype for business).

Thanks in Advance.

Thanks,
Satheesh K.

Send a user a message from outside of a dialog

I want to be able to send a user a message from outside of a dialog.
I built out a human handoff API endpoint (HandoffController) which takes in a json body. An agent from there own software built out integration with this API endpoint. Once I receive that message in the controller, i want to be able to send that message over to the user. The json body includes the user_id and the message.
Is there an implementation I can use so I can send that message to the user? I am outside a dialog so I can't use the context/activity to send the message.

How can I accomplish this?

MessageRouting fails for come channels in User Handoff scenario

Message routing fails when using the combination of Messenger and Skype.
Example:
Messenger : Customer Service Agent
Skype: Customer

  • In Messenger use "command add aggregation" to aggregate all request.
  • In Skype request for User Handoff.
  • Conversation between Service Agent and Customer is established
  • Customer sends message which is received by the Service Agent
  • Service Agent sends message which is NOT received by the Customer

When testing the above scenario with Messanger to Bot Emulator or Skype to Bot Emulator it all works fine...

Let me know if you need more info :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.