Open charlie-2201 opened 2 years ago
@charlie-2201 Have you added the Watson Assistant credentials in the watson-assistant-credentials.json
file?
{
"apikey": "<YOUR_API_KEY_HERE>",
"url": "<URL_HERE>",
"assistant-id": "<ASSISTANT_ID_HERE>"
}
Just replace the <YOUR_API_KEY_HERE>
, <URL_HERE>
and <ASSISTANT_ID_HERE>
by referring to 7. Add the Credentials to the Application. It should look something like this:
{
"apikey": "xxxxxxxxx",
"url": "https://api.eu-gb.assistant.watson.cloud.ibm.com",
"assistant-id": "xxxxx-xxxx-xxxx-xxxx-xxxxxx"
}
I did the changes but the problem is still the same
@charlie-2201 Did you run the ’ibmcloud cf push’ after adding the credentials?
Yes
Can you run ibmcloud cf logs covid-19-help-desk --recent
in your terminal and send me the logs?
These are the preview of the desired statement
@charlie-2201 The problem is with the Watson Assistant credentials that you are adding. Go to IBM Cloud Resources and select Watson Assistant service and click on launch Watson Assistant. Select the Assistant that you have created and make sure you have linked the skill to the assistant. Click on the three dots and select settings. Here you will find the Assistant ID, URL and API Key. Copy these three things in the watson-assistant-credentials.json
.
Also note that URL is only upto https://api.eu-gb.assistant.watson.cloud.ibm.com
not the entire URL.
If you still have issue let me know when can we get on a call and solve the issue. I have tried this in my setup and it works fine for me.
Thank you so much for your help.
Can you please tell me that how can I access the database for the same?
Goto IBM Cloud resources and select Db2 service. Select the Service credentials tab and create a service credentials if not exists. Paste the copied json in the ibm-db2-credentials.json
file and run the ibmcloud cf push
command in your terminal it should work.
Actually I want to ask that if we want to implement the same for our chatbot then how can we modify the table and store the values of that table as well in our system in the same format as you implemented over dashboard.
Can you help me fix this issue @manojjahgirdar This is the route link that got created https://covid-19-help-desk-fantastic-roan-jp.mybluemix.net/