Giter VIP home page Giter VIP logo

botfuel-dialog's People

Contributors

caketuzz avatar daniellepintz avatar josselinmorau avatar kevindepuydt avatar michelbl avatar tagazok avatar tcnguyen avatar windkomo avatar yangeorget 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  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  avatar  avatar  avatar  avatar

botfuel-dialog's Issues

Be careful of logging in sdk

Solution:

  • It should have been caught by the tests, investigate it's not

Original request:
Sometime unloggable objects are logged, see #207

It throws the exception "[Run] Converting circular structure to JSON TypeError: Converting circular structure to JSON" and the issue is not caught by the tests. It happened to me a couple of times now (Michel)

Get rid of phantom.js

We don't want phantom.js to pollute the sdk when we install dependencies.

It is currently used by two dependencies: mocha and charfunk.

It will be removed with the migration to jest for mocha.

We use CharFunk only to look for digit or letter character, we could easily get rid of that.

Improve extractor loading

Hello !

I faced a problem on extractors loading from Botfuel NLU. By default, all JS files into extractors directory are loaded, including files containing parent class.

The problem was that a parent class is loaded and executed while his constructor parameters are required. It returned an error.

return files.filter(file => file.match(/^.*.js$/));

I think we just have to improve this regex to allow JS files to not be loaded:

return files.filter(file => file.match(/^.*-extractor.js$/));

So, files without -extractor will not be loaded and allow us to create some-parentextractor.js for example.

Management of free tags in BotResponse

Currently many HTML tags are sanitized by sdk, we must define what is open and what is not.
Example: inclusion of an interactive GMaps

Proposal:

Add a webchat client flag that disables all tag filtering.

Support node 10

Is your feature request related to a problem? Please describe.
It's not possible to run Botfuel with node 10, message is :
error [email protected]: The engine "node" is incompatible with this module. Expected version "8.x". Got "10.15.3"

Describe the solution you'd like
I think this project must be already compatible with node 9/10/11, you should just update your "engine" section in package.json to reflect this

SDK to try EE again after 503 error

Problem is: when SDK sends request to EE, if service is being loaded, SDK gets 503 error.

Solution:
Retry entext in SDK if get 503 error (when the service is being restarted), immediately, 3 times.

SDK handle input too long โž•

Issue:
-when a big utterance is entered, any of our 3 services can crash and crash the bot or UI
-we need to set a common min of 3 services and enforce it

Solution:

SDK TEAM:
1.Make the input length check in the SDK. Don't call the services if message is too long but trigger the complex input dialog. (limit 256 chars)
2. Prevent users from entering long sentences in playgrounds + test panel (same everywhere)

NLP TEAM:
Implement a check on all services that return an error if input is too long (trainer api classify included).

default-view.es.js is missing

Describe the bug
Default view in Spanish is missing

To Reproduce
Just talk to a bot with a phrase not recognised as an intent.

Logs

Mi name is Laura
2018-10-26T11:59:31.288Z - error: [Bot] Could not resolve 'default'
> The following error occured:
> {"stack":"default: Could not find default in: chatbot/src/views/default-view.es.js,

As a bot developer I want to have more control on the entities of my dialog when reentrant

If I have an intent (research-operation) with two entities:

  • category
  • subcategory

subcategories are associated to a specific category, but at some points when we reenter in the dialog with new subcategory or category this new entity don't match this associated subcategory/category and Emmanuel have too update the dialog entities manually in his dialog to make sure that the new entities are associated to the previous matched.

It would be nice to have a new entity hook to be able to update matched entities values so that in this case Emmanuel would be able to reset the previous matched entities if they don't match with the new ones.

Provide on-boarding dialog

Need to discuss how best to do this, preliminary thought is that is should be in the SDK not a module.

onboarding dialog that's called by the webchat or automatically by the dialog manager

Impossible to start bot on windows

Describe the bug
I cam't start the bot on a windows machine in powershell

To Reproduce
The environment variables are not recognised when I try to start the bot using the line found in the back-office

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.