Git Product home page Git Product logo

generalbots / botserver Goto Github PK

View Code? Open in Web Editor NEW
53.0 13.0 33.0 19.9 MB

GPT-Powered ready for Bot Framework V4 run-with-F5 in Visual Studio Code, NPM-friendly repository package based bot factory server which includes support for Excel, an React.js bot web application & several features including Whatsapp, sql-firewall-opener and auto-ngrok.

Home Page: https://gb.pragmatismo.com.br

License: Other

Batchfile 0.43% TypeScript 89.01% CSS 3.37% HTML 0.50% JavaScript 6.25% VBScript 0.18% Shell 0.26%
bot bot-server general-bots bot-packages virtual-assistant bot-platform botbuilder azure bots microsoft-cognitive-services

botserver's Introduction

botserver's People

Contributors

alanperdomo avatar arenasio avatar danielbrucutus avatar davidlerner26 avatar experimentationgarage avatar greenkeeper[bot] avatar joao-parana avatar jramos-br avatar matheus39x avatar oerlabshenrique avatar ph-nascimento avatar phpussente avatar rodrigorodriguez avatar sarahlourenco avatar webgus avatar zuilhose 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

botserver's Issues

Dialog: Subject Catcher.

As default when accuracy of intent is low, a subject catcher should run trying to find an appropriated subject from the Subject Tree and offer this an alternative.

New Answer Type: Navigate to URL

A customer wants a new answer type: Navigate to URL.
Proposed syntax on Answer column, just like dialog:vba-name:

url:http://www.domain.com

On web channel, this is shown and the browser navigates to this link on a new window/tab.
On other channels, the link is shown allowing the address to be reached by tap/click.

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on Greenkeeper branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please click the 'fix repo' button on account.greenkeeper.io.

A new security advisory on kind-of affects 2 of your repositories

Alerta da noite de 03/04
Parece se tratar de algum movimento externo a Pragmatismo.
A vulnerabilidade alertada afetaria o OppBot?


permite que a entrada do usuário externo substitua certos atributos internos por um nome conflitante, conforme demonstrado por 'constructor': {'name': 'Symbol'}. Portanto, uma carga útil criada pode substituir esse atributo interno para manipular o resultado da detecção de tipo.

GHSA-6c8f-qphg-qjgp

The automated release is failing 🚨

🚨 The automated release from the master branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this 💪.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here is some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


Invalid npm token.

The npm token configured in the NPM_TOKEN environment variable must be a valid token allowing to publish to the registry https://registry.npmjs.org/.

If you are using Two-Factor Authentication, make configure the auth-only level is supported. semantic-release cannot publish with the default auth-and-writes level.

Please make sure to set the NPM_TOKEN environment variable in your CI with the exact value of the npm token.


Good luck with your project ✨

Your semantic-release bot 📦🚀

404 em imagens do logo

While accessing the web version a 404 is thrown.

To Reproduce
Steps to reproduce the behavior:

  1. Go to bot homepage
  2. Go to console (F12)
  3. See error

Move Conversation Reference to the core

Sample code.

  public static getDialogSetup(min: GBMinInstance) {

    return {
      id: '/setup', waterfall: [
        async step => {

          const phone = step.context.activity.from.id;
          const service = new OpptService();
          const ref = await TurnContext.getConversationReference(step.context.activity);
          await service.updateConversationReference(phone, JSON.stringify(ref));

          await step.context.sendActivity('Telefone irá receber notificações.');

          return await step.next();
        }
      ]
    };
  }

  public static getDialogMessageBack(min: GBMinInstance) {

    return {
      id: '/back', waterfall: [
        async step => {

          const phone = step.context.activity.from.id;
          const service = new OpptService();
          const conversationReference = await service.getConversationReference(phone);

          await min.bot.continueConversation(conversationReference, async turnContext => {
            // TODO: MicrosoftAppCredentials.trustServiceUrl('https://directline.botframework.com',
            new Date(new Date().setFullYear(new Date().getFullYear() + 10)));

          await turnContext.sendActivity('proactive hello');

          return await step.next();
        });

        }
      ]
  }
};

Error finding dialog associated to NLP event has been thrown, but in fact the error was thrown inside a valid dialog route.

2020-02-28T12:22:28.857Z [GeneralBots] �[31merror�[39m: ERROR: Error finding dialog associated to NLP event: showReviews: connect ETIMEDOUT [IP REMOVED]: Error: Error finding dialog associated to NLP event: showReviews: connect ETIMEDOUT [IP REMOVED]:
at GBConversationalService.routeNLP (D:\home\site\wwwroot\dist\packages\core.gbapp\services\GBConversationalService.js:128:39)
at process._tickCallback (internal/process/next_tick.js:68:7)

Error on run build task in VSCode

Describe the bug
When run build task in VSCode occurs the folowing error, despite the build run succesfuly:
Error: The typescript task detection didn't contribute a task for the following configuration:
{
"type": "typescript",
"tsconfig": "tsconfig.json",
"option": "watch",
"problemMatcher": [
"$tsc-watch"
],
"group": {
"kind": "build",
"isDefault": true
}
}
The task will be ignored.

To Reproduce
Steps to reproduce the behavior:

  1. Ctrl + B
  2. Run tscwatch [BotServer path]

Expected behavior
Build without errors

Webchat Store.js error

Ref: microsoft/BotFramework-WebChat#1146

Store.js:692 Uncaught TypeError: e.ofType(...).map(...).filter(...).throttleTime is not a function
at O (Store.js:692)
at combineEpics.js:37
at Array.map ()
at combineEpics.js:36
at t.project (createEpicMiddleware.js:50)
at t._next (map.js:100)
at t.next (Subscriber.js:120)
at t.next (Subject.js:82)
at createEpicMiddleware.js:61
at applyMiddleware.js:52

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on Greenkeeper branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please click the 'fix repo' button on account.greenkeeper.io.

Webchat throttleTime is not a function error

Ref: microsoft/BotFramework-WebChat#1146

Store.js:692 Uncaught TypeError: e.ofType(...).map(...).filter(...).throttleTime is not a function
at O (Store.js:692)
at combineEpics.js:37
at Array.map ()
at combineEpics.js:36
at t.project (createEpicMiddleware.js:50)
at t._next (map.js:100)
at t.next (Subscriber.js:120)
at t.next (Subject.js:82)
at createEpicMiddleware.js:61
at applyMiddleware.js:52

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.