ibm-watson

libffi-d78936b1.so.6.0.4: cannot open shared object file Error on AWS Lambda function

↘锁芯ラ 提交于 2020-07-18 22:16:10
问题 I am trying to deploy a python Lambda package with watson_developer_cloud sdk. Cryptography is one of many dependencies this package have. I have build this package on Linux machine. My package includes .libffi-d78936b1.so.6.0.4 hidden file too. But it is still not accessible to my lambda function. I am still getting 'libffi-d78936b1.so.6.0.4: cannot open shared object file' Error. I have built my packages on Vagrant server, using instructions from here: https://docs.aws.amazon.com/lambda

IBM Cloud-Watson NLC - TypeError: __init__() got an unexpected keyword argument 'iam_apikey'

无人久伴 提交于 2020-07-07 07:33:28
问题 I am currently trying to deploy an application from a repo. (https://github.com/IBM/nlc-icd10-classifier#run-locally) But it gives me this error: Traceback (most recent call last): File "app.py", line 34, in <module> iam_apikey=nlc_iam_apikey TypeError: __init__() got an unexpected keyword argument 'iam_apikey' I am on Python 3.6.8 app.py: load_dotenv(os.path.join(os.path.dirname(__file__), ".env")) nlc_username = os.environ.get("NATURAL_LANGUAGE_CLASSIFIER_USERNAME") nlc_password = os

IBM Watson Text-to-speech API keeps throwing Error: 403 Forbidden

南笙酒味 提交于 2020-06-01 04:43:29
问题 I've been using the IBM Watson Text-to-speech API for quite a while now. The service credentials that was working until last night has been throwing an {"code":403, "error": "Forbidden"} since this morning. I use the lite plan and London region I tried curl requests and it still doesn't work or given any further logs. I tried with a newly created pair of credentials, it's still throwing the same error. Any ideas? Here's the curl request sample although the error persists in my original python

Are IBM Watson IAM tokens good for all services or specific to each service, e.g., Speech-to-Text?

走远了吗. 提交于 2020-05-17 03:33:04
问题 IBM's documentation says that the following Node back end code enables you to Use the API key to have the SDK manage the lifecycle of the token. The SDK requests an access token, ensures that the access token is valid, and refreshes it if necessary. const SpeechToTextV1 = require('ibm-watson/speech-to-text/v1'); const { IamAuthenticator } = require('ibm-watson/auth'); const speechToText = new SpeechToTextV1({ authenticator: new IamAuthenticator({ apikey: '{apikey}', }), url: '{url}', }); How

The old Watson Conversation API (21st Apr 2017 version) seems to have stopped working. Gives me the 401 Unauthorized error

不打扰是莪最后的温柔 提交于 2020-04-30 11:42:26
问题 My application was using the Watson Conversation API (21st Apr 2017 version) imported as a maven dependency: <dependency> <groupId>com.ibm.watson.developer_cloud</groupId> <artifactId>conversation</artifactId> <version>3.9.1</version> </dependency> I've checked the credentials (username and password) for correctness. However, it is still giving me the following error (I've replaced the actual conversation workspace id with the placeholder ACTUAL_WORKSPACE_ID in URLs): Feb 12, 2020 6:14:40 PM

use HTML date picker in IBM watson conversation dialog to get date as input from user

喜欢而已 提交于 2020-04-30 06:47:47
问题 I am trying to use <input type="date" id="birthday" name="birthday"> to display a calendar to be selected by user on IBM dialog. So, when this calendar will ask for date in the chat bot and then after user selecting the date, it should store the selected date as variable or any context variable. How I have to implement it in IBM Watson chatbot. Thanks 回答1: It really depends on how your front-end app is built to call IBM Watson API. Trying to be more generic, you would need to do: First, you

How to export model results from IBM Decision Optimizer?

我是研究僧i 提交于 2020-03-25 19:22:13
问题 I am using the IBM Decision Optimizer on IBM Watson Studio and I am trying to automatically export the results data from the dashboards to a local/external database or website. I would like to use those results to visualize them on a website. Does anyone have any experience using the Decision Optimizer? 来源: https://stackoverflow.com/questions/60095288/how-to-export-model-results-from-ibm-decision-optimizer

IBM Watson Speech-to-Text “unable to transcode data stream audio/webm -> audio/x-float-array” media MIME types

拜拜、爱过 提交于 2020-03-25 12:30:42
问题 I'm recording short audio files (a few seconds) in Chrome using mediaDevices.getUserMedia() , saving the file to Firebase Storage, and then trying to send the files to IBM Watson Speech-to-Text. I'm getting back this error message: unable to transcode data stream audio/webm -> audio/x-float-array In the browser I set up the microphone: navigator.mediaDevices.getUserMedia({ audio: true, video: false }) .then(stream => { var options = { audioBitsPerSecond : 128000, mimeType : 'audio/webm' };

How to tie a backend to Watson's Conversation service?

做~自己de王妃 提交于 2020-02-02 10:10:22
问题 I am using Conversation service in my application, at the backend I want to use the corpus I have setup so that I can ask deep technical questions since my corpus has been populated with Technical videos and articles spanning 20+ years. Can you please point me to examples where Conversation service has been integrated with backend Watson services ? 回答1: There is an example of integrating Retrieve and Rank at http://conversation-enhanced.mybluemix.net/ The code to show this integration is

How to integrate Facebook with Watson conversation

拈花ヽ惹草 提交于 2020-01-30 11:16:42
问题 I can already connect my conversation to my Facebook page and the bot is working. My Problem is that i couldn't find a single tutorial on how to make calls to a server that is owned by a company and has information about accounts and payments, for example when i type to the Chat-bot that i want to see a list of accounts, the chat-bot would reply with a list from that API; Or i can login to that server with my account by typing the account's name and password in the chat-bot. I just wanted to