An open API service indexing awesome lists of open source software.

https://github.com/webexp0528/chatbot


https://github.com/webexp0528/chatbot

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# Exemplo de Chatbot com Watson Conversation em Node.js

Este aplicação é um demo de cliente de Chatbot em Node.js que utiliza Watson Conversation. Basta criar um conversation, colocar as credenciais neste app e fazer o deploy no Bluemix. (Exemplo de criação de Watson Conversation no arquivo: https://github.com/sergiogama/chatbot/blob/master/TUTORIAL%20ChatBot.pdf).

[![Deploy to Bluemix](https://bluemix.net/deploy/button.png)](https://bluemix.net/deploy?repository=https://github.com/sergiogama/chatbot)

OU

## Para executar o app localmente

1. [Instalar Node.js][]
+ cd no diret'roio raiz do projeto
+ Execute `npm install` para instalar as dependências do app
+ Altere o aquivo config/bot.js e coloque as credenciais e workspace_id do conversation nas lilnhas à seguir:
   
username = "";
password = "";
conversationWorkspace = "";

+ Execute `npm start` para o iniciar o app
+ Acesse a aplicação no browser no link

[Instale Node.js]: https://nodejs.org/en/download/
"# Conversation-demo"