desmarchris / docs-bot

Conversation bot using Discovery for long tail questions about Watson Conversation
9 stars 8 forks source link

Conversation and Discovery not working #3

Open AlaGarali opened 6 years ago

AlaGarali commented 6 years ago

Hello everybody, I have created the application using this code but conversation and discovery are not working. 1) I have renamed "example.env" file to ".env" 2) I fill out:

Watson conversation

CONVERSATION_USERNAME=<...> CONVERSATION_PASSWORD=<...> WORKSPACE_ID=<...>

Watson Discovery

DISCOVERY_USERNAME=<...> DISCOVERY_PASSWORD=<...> DISCOVERY_ENVIRONMENT_ID=<...> DISCOVERY_COLLECTION_ID=<...> 3) I remplaced the workspace.json by a new workspace.json that contain my intents, entities and dialogs 4) npm install 5) npm start => the application is running but when typping something, no answer is displayed. For example, when I write "hello" nothing happens.

Please let me know if I have missed any other steps and help me to run this application.

AlaGarali commented 6 years ago

image

AlaGarali commented 6 years ago

@desmarchris : Conversation is working but discovery is not working knowing that I have added the discovery intent and questions and in dialog i have discovery dialog node. The extensions of documents uploaded in discovery service are .html and .docs. Please help me to find a solution.