IBM / sms-analysis-with-wks

Analyzing SMS offers for domain specific entities using Watson Knowledge Studio and Watson's Natural Language Understanding
https://developer.ibm.com/code/patterns/analyze-sms-messages-with-watson-knowledge-studio/
Apache License 2.0
15 stars 27 forks source link

Error:com.ibm.watson.developer_cloud.service.exception.NotFoundException: model not found #57

Open aliyag opened 6 years ago

aliyag commented 6 years ago

I carefully added the correct MODEL_ID when deploying to IBM and it is not working.

I am getting the following error:

Error:com.ibm.watson.developer_cloud.service.exception.NotFoundException: model not found

Any ideas? It worked when I tested with CURL.

rhagarty commented 6 years ago

@aliyag - need a few more details.

Did you use the "Deploy to IBM Cloud" button? If so, is the app connected to your existing NLU service, or did it create a new one for you?

If it created a new service for you, that one needs to be tied to the WKS service via the "Deploy" button in the WKS setup. One thing to check here is if the name of your NLU service matches the name in the manifest.yml file. If not, change your service name to match, then try again.

One other thing to try is to simple invoke ibmcloud cf push from the root directory of the repo. This will simply push your app to the cloud and connect to the NLU service name listed in your manifest.yml file. Note that you first need to ibmcloud login and then specify your cloud deployment environment.