sidecus / zyin.intentbot Goto Github PK
View Code? Open in Web Editor NEWBuild simple bots in a simple way, with little botframework knowledge required. Focus on your biz scenario.
License: MIT License
Build simple bots in a simple way, with little botframework knowledge required. Focus on your biz scenario.
License: MIT License
...just being too lazy
NLP services like Luis supports entity extraction as part of the intent understanding.
It'll be better to connect PromptManager with those entities so that we don't have to ask user the info again.
It'll require IntentContext base class to have a new method which takes a parameter like a Dictionary and being able to automatically assign the entity value to corresponding user input properties.
Not too hard but didn't have time to implement it yet.
I create some simple classes to help json based adaptive card formatting.
Later I realized that AdaptiveCard team is working on something called AdaptiveCard templates which does exactly the same thing.
It's still in early stage, but we should switch to the new AdaptiveCard templates when it's stable.
I am just too lazy for this leisure time toy. If this turns out to be useful for others, I'll think about adding unit tests for the library to ensure quality.
OAuthPromptSettings.TimeOut configures how long the OAuth prompt will be waiting for user input. We are using 30 seconds right now. If a user doesn't authentication in time, next message will result in an empty TokenResponse.
We have code to save some user info based on the token (OAuthDialog.SaveUserInfoAsync). This code right now doesn't handle null token well so we end up with a NullReferenceException.
We should return a user friendly message instead here.
I just could not resist caching the user token, so I added some code to do that in user states.
Yeah it may not be that secure, it's not suggested.
It's just faster for "simple" single turn intents.
Opening this to track giving library user an option to turn the token caching behavior off.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.