Personal-Bot | everyday things for me - Tasks
kandi X-RAY | Personal-Bot Summary
kandi X-RAY | Personal-Bot Summary
This is a personal project I am going to be making that will be focussing on doing menial browsing tasks and retrieve data from online forums for me. This is a direct inspiration from John Fish's project on GitHub.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Get mail
- Sends email notification
- Signs a web page
- Return the media associated with a link
- Get the xkcd content
- Check the status of the response
- Start and sign a media command
- Get a link to a given media
- Convert a command to a link link
- Convert string to command
- Format a command
Personal-Bot Key Features
Personal-Bot Examples and Code Snippets
Community Discussions
Trending Discussions on Personal-Bot
QUESTION
I am trying to deploy the latest Microsoft Virtual Assistant code. In the documentation, they describe a process to deploy and run the bot using a Visual Studio template. The whole process described in the documentation works great.
However, I don't like using a template. I don't want to loose Microsoft's Git history. Also, this deployment needs to stand the tests of time, and I want to make it as simple as possible to merge updates from Microsoft.
Inside of Microsoft's repo, there is a subdirectory containing the C# Virtual Assistant template and a sample of the code as if it were deployed by the template.
Means of preserving Git history, ability to pull new commits, etc.I'll describe my solution, which lets me preserve Microsoft's Git history, pull their latest commits with ease and still gives me a reasonably sized project for working on my client's bot deployment (the Microsoft AI repo is huge and contains many things I don't want in my bot deployment). The resulting branch/project that I'm working on very closely resembles (vide infra, appears identical to) the solution/project that I get when I create it from the template in Visual Studio.
- I forked Microsoft's entire GitHub repo.
- I setup a local Git repository with both Microsoft's repository and my fork as remotes.
- I used Git subtree, as described on this Stack Overflow post to filter the repo down to just the Virtual Assistant C# sample code. I created a branch for this subtree.
- I copied the subtree branch into a develop branch, where I intend to do all my custom development.
- I can use master on Microsoft's upstream remote and the newly created subtree branch to continually pull new commits from Microsoft into my personal develop branch.
Here's some pseudo-code that roughly walks through the process.
...ANSWER
Answered 2019-May-09 at 20:29@EricHansen and I conversed about this in his related GitHub Issue. Since the information may be valuable to others, I'll include the "answer" here:
401s are almost always caused by mismatched MicrosoftAppId
/MicrosoftAppPassword
. Ensure that they match in all of these locations:
appsettings.json
/.env
/.bot
, whatever is applicable- The App Registration
- The one you use when opening Emulator
If that doesn't work, follow the Authentication Troubleshooting Guide
You should also ensure all of your packages are up to date, including:
- NuGet/npm packages
- The ones from the BotBuilder-Tools Repo
- Emulator
OPs resolution was most likely related to this:
I've definitely had issues with some password strings. The README notes that it has trouble with passwords containing
@
. I know I've had trouble with another password, however (I don't remember what special character gave it the issue). I would guess that this was the issue.My best guess is that it was either an issue with a special character in a password, emulator caching id/pass in some unexpected way, or IIS Express caching id/pass in some way. Usually, if I'm switching bots with the same endpoints and running into trouble, I restart those and it usually works.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Personal-Bot
You can use Personal-Bot like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page