personality-insights

Is there a way to access IBM cloud watson personality insights service now(19.12.2020)?

不问归期 提交于 2021-01-07 02:19:18
问题 I am trying to access IBM Watson Personality Insight service through the IBM Cloud Catalog but it does not show up there. In the Personality Insight Documentation it is stated that this service will not be available from 1 December 2021 but I cannot access it now. I tried to complete Get started with AI development by using the Personality Insights service but links to the Personality Insight services redirects to IBM Cloud Catalog or Watson Natural Language Understanding I tried to access

SSL Error IBM Watson personality-insights Python

隐身守侯 提交于 2019-12-11 17:24:12
问题 I am trying to use the IBM personality insights service inside a for loop. def generateToken(username, password): r = requests.get("https://gateway.watsonplatform.net/authorization/api/v1/token?url=https://gateway.watsonplatform.net/personality-insights/api", auth=(username, password)) if r.status_code == requests.codes.ok: return r.text def personalityRequest(text, token): base_url='https://gateway.watsonplatform.net/personality-insights/api/v3/profile?version=2017-08-17&consumption

Invalid return type fragment thread

删除回忆录丶 提交于 2019-12-11 16:44:42
问题 I have created a Thread in Android IDK why it says invalid return type! All I want is to display the json I get from Profile I want to change the text in my fragment Thread thread= new Thread(){ if (getActivity()!=null) { getActivity().runOnUiThread(new Runnable() { @Override public void run() { Profile profile = service.getProfile(text); Gson gson = new Gson(); String json = gson.toJson(profile); output.setText(json.toString()); } }); } }; thread.start(); 回答1: Try this new AsyncTask<Void,

BlueMix service error with Android app - 'Unknown pattern character 'X''

跟風遠走 提交于 2019-12-11 13:37:25
问题 I'm developing an android application and am attempting to integrate the Bluemix service - Personality Insights. However, due to a conflict with dates (Bluemix service is assuming a Java SimpleDateFormat which includes the symbol 'X', while Android's SimpleDateFormat does not include this symbol) causing an error (Log below). My question is this, is there a way to brute force the app to use the Java SimpleDateFormat version as opposed the Android version? other than that I don't see how I can

Cannot Connect to gateway.watsonplatform.net:443

▼魔方 西西 提交于 2019-12-11 13:31:32
问题 i am trying to run the sample java application as described on https://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/getting_started/gs-full-java.shtml i have been able to set up my liberty server properly and i have been able to create an app on the bluemix server with my account. When i try to run the sample code in Eclipse, i can see the watson q&a app interface. But when i hit the Ask button, i get Error: Connect to gateway.watsonplatform.net:443 [gateway.watsonplatform.net

HTTP post Request to IBM Personality insights with Android

做~自己de王妃 提交于 2019-12-11 11:18:17
问题 I would like to make an HTTP post request to IBM Service Personality Insight using Android. I tried to use this code: private String mServer="gateway.watsonplatform.net"; private int mPort = 9081; private String mUser= "**USERID HIDDEN**"; private String mPassword= "**PASSWORD HIDDEN**"; private HttpResponse makeRequest(String urlPath) throws Exception { HttpClient httpclient; HttpParams httpParameters; HttpPost request; int timeoutConnection = 10000; int timeoutSocket = 10000; httpParameters

If I want to do an analysis of a single Twitter user with 1000 tweets, do I have to make 1000 API calls to the Watson Personality Insights API?

邮差的信 提交于 2019-12-11 09:59:27
问题 I want to use the Watson Personality Insights API to analyze the personality traits of a particular Twitter user. This user has 1000 tweets. Do I have to call the Personality Insights API 1000 times in order to do this? 回答1: Personality Insights can process multiple text elements in a single API call. To obtain a single result (the a meaningful output according to the service documentation) this needs to be written by an individual author. Now assuming you obtained 1000s of tweets from an