Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in Opening the link #7

Open
charlie-2201 opened this issue Jan 19, 2022 · 11 comments
Open

Problem in Opening the link #7

charlie-2201 opened this issue Jan 19, 2022 · 11 comments

Comments

@charlie-2201
Copy link

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/

@manojjahgirdar
Copy link
Contributor

@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"
}

@charlie-2201
Copy link
Author

I did the changes but the problem is still the same

@manojjahgirdar
Copy link
Contributor

@charlie-2201 Did you run the ’ibmcloud cf push’ after adding the credentials?

@charlie-2201
Copy link
Author

Yes

@manojjahgirdar
Copy link
Contributor

Can you run ibmcloud cf logs covid-19-help-desk --recent in your terminal and send me the logs?

@charlie-2201
Copy link
Author

Screenshot (13)
Screenshot (14)
Screenshot (15)
These are the preview of the desired statement

@manojjahgirdar
Copy link
Contributor

@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.

Screenshot 2022-01-21 at 11 36 44 AM

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.

@charlie-2201
Copy link
Author

Thank you so much for your help.

@charlie-2201
Copy link
Author

Can you please tell me that how can I access the database for the same?

@manojjahgirdar
Copy link
Contributor

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.

@charlie-2201
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants