ChatBot with Angular 5 & DialogFlow demo
ng serve
- Make sure to update the environments/environment.ts with your own DialogFlow Client Access Token.
๐ฌ Bot in Angular 5 & DialogFlow
Home Page: http://smartbot-mlabouardy.s3-website-us-east-1.amazonaws.com
ChatBot with Angular 5 & DialogFlow demo
ng serve
Hello ! Really nice work !
I have an issue in dialogflow.service.ts.
I can't post query with special characters.
I tried to use :
encode_utf8(s) {
return unescape(encodeURIComponent(s));
}
decode_utf8(s) {
return decodeURIComponent(escape(s));
}
But it didn't work
Do you have a suggestion ?
Thanks a lot.
Romain
It would be convenient if the list auto-scrolled to the bottom when adding a new item to the conversation so users do not have to scroll down manually. I think I can fix this one. I will submit a pull request shortly.
I am getting below error while running ng serve
Local workspace file ('angular.json') could not be found.
The Further help is missing, Can you republish the post please?
like voice typing
ad auto scroll when a message sent or receive
i notice in this file : src/master/src/app/services/dialogflow.service.ts line 19.
public getResponse(query: string){
let data = {
query : query,
lang: 'en',
sessionId: '12345'
}
how to change this variable into unique value ?
Do you have any example which use Dialogflow v2?
At the moment you call V1 by rest api.
This below code is not working. Please look into it.
private scrollToBottom(): void {
try {
this.chatList.nativeElement.scrollTop = this.chatList.nativeElement.scrollHeight;
}
catch (err) {
console.log('Could not find the "chatList" element.');
}
}
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.