Git Product home page Git Product logo

dialogflow-angular5's Introduction

SmartBot

ChatBot with Angular 5 & DialogFlow demo

Run

ng serve
  • Make sure to update the environments/environment.ts with your own DialogFlow Client Access Token.

Further help

Chatbot with Angular 5 & DialogFlow

dialogflow-angular5's People

Contributors

angular-cli avatar dhormale avatar mlabouardy avatar ultrarunner 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  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dialogflow-angular5's Issues

Further Help

The Further help is missing, Can you republish the post please?

Impossible to pass special character into post in dialogflow.service.ts

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

AutoScroll to bottom after adding item to list

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.');
}

}

AutoScroll to bottom after adding item to list

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.

Dialogflow V2

Do you have any example which use Dialogflow v2?
At the moment you call V1 by rest api.

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.