intermediator-bot-sample | sample bot , built with the Microsoft Bot Framework | Bot library

 by   tompaana C# Version: v1.1 License: MIT

kandi X-RAY | intermediator-bot-sample Summary

kandi X-RAY | intermediator-bot-sample Summary

intermediator-bot-sample is a C# library typically used in Automation, Bot, Nodejs applications. intermediator-bot-sample has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

This is a sample bot, built with the Microsoft Bot Framework (v4), that routes messages between two users on different channels. This sample utilizes the Bot Message Routing (component) project. The general gist of the message routing is explained in this article: Chatbots as Middlemen blog post. A possible use case for this type of a bot would be a customer service scenario where the bot relays the messages between a customer and a customer service agent.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              intermediator-bot-sample has a low active ecosystem.
              It has 120 star(s) with 62 fork(s). There are 23 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 17 open issues and 25 have been closed. On average issues are closed in 55 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of intermediator-bot-sample is v1.1

            kandi-Quality Quality

              intermediator-bot-sample has 0 bugs and 0 code smells.

            kandi-Security Security

              intermediator-bot-sample has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              intermediator-bot-sample code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              intermediator-bot-sample is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              intermediator-bot-sample releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of intermediator-bot-sample
            Get all kandi verified functions for this library.

            intermediator-bot-sample Key Features

            No Key Features are available at this moment for intermediator-bot-sample.

            intermediator-bot-sample Examples and Code Snippets

            No Code Snippets are available at this moment for intermediator-bot-sample.

            Community Discussions

            QUESTION

            How to store user conversation of Root bot and skill bot on Bot framework SDK V4 built in Visual Studio?
            Asked 2021-Jun-30 at 14:51

            I have build a Handoff bot using Tompanna Sample intermediator bot sample https://github.com/tompaana/intermediator-bot-sample as a root bot and connected it to a dailog Skill, We followed https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/csharp_dotnetcore/81.skills-skilldialog this sample.

            Now I am trying to store user conversation, to do that I followed this https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-howto-v4-storage?view=azure-bot-service-4.0&tabs=csharp article however it only stores the conversation of the root bot. I want to store the conversation of both the bot root and skill.

            Can anyone guide me to store the conversation? Could Application insight also be used to store the log conversations? Thanks in Advance!!

            ...

            ANSWER

            Answered 2021-Jun-24 at 15:06

            In your question it contain only for bot storage document but you need to maintain bot state for each conversation. So if you want to store the bot conversation then you need to implement state management in bot flow.

            The state and storage features of the Bot Framework SDK allow you to add state to your bot. Bots use state management and storage objects to manage and persist state. The state manager provides an abstraction layer that lets you access state properties using property accessors, independent of the type of underlying storage.

            User state is available in any turn that the bot is conversing with that user on that channel, regardless of the conversation.

            Conversation state is available in any turn in a specific conversation, regardless of user (i.e. group conversations)

            If you want, you can additionally store conversation flow in Application insight as a custom event using TelemetryClient like trace,metrics,etc.

            Reference :

            1. Save user and conversation data
            2. Managing state
            3. Application Insights API for custom events and metrics

            Source https://stackoverflow.com/questions/68112811

            QUESTION

            How to share attachments from user to agent (Human handoff) using Bot?
            Asked 2020-Jan-21 at 23:10

            i have bot made using c#. It has the feature of human off. We have integrated the solution provide by tompanna of human handoff where a agent can talk to single user at a time.Here the link of solution we used for human handoff https://github.com/tompaana/intermediator-bot-sample. Our bot is working fine and able to talk with agent with the help of this solution but major issue come when a user want to share image or any kind of attachments from user to agent or from agent to user. The bot show that image is send but user is not able to see it. Simpler case happen in the case of agent. Image of agent while sending a attachment to user.

            And also the image of user ,unable to see the image send by agent.

            ...

            ANSWER

            Answered 2020-Jan-21 at 14:30

            You need to edit the source code of the library to achieve what you are trying.

            In this MessageRouter file , method RouteMessageIfSenderIsConnectedAsync , you can access message.Attachments , then pass it as a parameter to SendMessageAsync in line 432, then from SendMessageAsync in line 160 , you can pass it to CreateMessageActivity method and then in file ConnectorClientMessageBundle , you can access the attachment and attach it to messageActivity.

            Source https://stackoverflow.com/questions/59839754

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install intermediator-bot-sample

            Since this is an advanced bot scenario, the prerequisites include that you are familiar with the basic concepts of the Microsoft Bot Framework and you know the C# programming language. Before getting started it is recommended that you have the following tools installed:. Altough the bot can be practically hosted anywhere, the deployment instructions (below) are for Azure. If you don't have an Azure subscription yet, you can get one for free here: Create your Azure free account today.
            Visual Studio IDE
            ngrok
            Bot Framework Emulator (download) Debug bots with the Bot Framework Emulator

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link