Giter Site home page Giter Site logo

watson's People

Contributors

charlotte-holt avatar cldocid2 avatar g-may avatar jdicarl avatar jeffpk62 avatar kmacdonald06 avatar michelle-miller avatar nickybleiel avatar rhorsfal avatar rrberry avatar scot-taylor-ibm avatar sirspidey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

watson's Issues

Incorrect labels and procedure for BYOK Premium provisioning

On this page - https://cloud.ibm.com/docs/speech-to-text?topic=watson-keyservice#keyservice-about

Step 3 reads like this:

Grant service access to Key Protect

After you add a root key to Key Protect, you use Cloud Identity and Access Management (IAM) to authorize access between the Watson service and Key Protect.
You must be the account owner or administrator on the Key Protect service instance and at least the viewer role on all instances of the Watson services.

  1. Go to the IAM Authorizations page. (From the IBM Cloud console menu bar, select Manage > Access IAM, and then click Authorizations.)
  2. Select the Watson service as the Source service. Leave All instances selected.
  3. Select the key that you added earlier as the Target service instance.
  4. Select the Key Protect as the target service and then select the key that you added earlier as the target service instance.
  5. Authorize dependent services by selecting Enable authorization to be delegated.
    Delegation allows the Key Protect instance to propagate its authorizations to this service.
  6. Make sure that the Reader role in enabled.
    Reader permissions allow the Watson service to see the root keys in the Key Protect instance.
  7. Click Authorize and confirm delegated authorization.

Step 3 SHOULD read like this: (fixes are in bold italics)

Grant service access to Key Protect

After you add a root key to Key Protect, you use Cloud Identity and Access Management (IAM) to authorize access between the Watson service and Key Protect.
You must be the account owner or administrator on the Key Protect service instance and at least the viewer role on all instances of the Watson services.

  1. Go to the IAM Authorizations page. (From the IBM Cloud console menu bar, select Manage > Access IAM, and then click Authorizations.). Click on the Create button.
  2. Select the Watson service as the Source service. Leave All Resources selected.
  3. Select the Key Protect service that you added earlier as the Target service instance and select Resources based on selected attributes.
  4. Select Instance ID as the target service attribute, and then select the Key Protect service that you added earlier as the target service instance.
  5. Authorize dependent services by selecting Enable authorization to be delegated.
    Delegation allows the Key Protect instance to propagate its authorizations to this service.
  6. Make sure that the Reader role is enabled.
    Reader permissions allow the Watson service to see the root keys in the Key Protect instance.
  7. Click Authorize and confirm delegated authorization.

IBM Watson Python docs

documentation says: "pip install --upgrade ibm-watson" but should say: "pip3 install --upgrade ibm-watson"

Billing information required

After creating my account, I can access the catalog items but can't use free proposals without completing my billing information.
My request is on that point, I entered my billing information (correctly) and authorize the "$0" verification but rejected.

Why this step is not present in the "Getting started" Ibm Cloud page tutorial?

My best regards!

@wd

IAM token example does not allow for refreshing tokens

The documentation is a bit confusing with the first 2 curl commands in the "Getting an IAM token by using a Watson service API key" section. The first curl command to get the IAM token does work, but the issue is later on when you refresh the token, it fails due to a mismatched Authorization header. If instead you use the 2nd curl command, then the refresh token call works. Is there a need to have the 1st curl command documented here, or should that be removed and all IAM token calls just use the 2nd command with --header "Authorization: Basic Yng6Yng=" ? Seems to be simpler and a best practice to always pass the Authorization header if it's just a hardcoded literal for the CLI and allows you to refresh your token

Incorrect token generation in Watson docs

https://cloud.ibm.com/docs/services/watson?topic=watson-iam#iamtoken

The first call to get an IAM token is basically correct, but is using the deprecated URL iam.bluemix.net. The second call is incorrect.

Please compare with this section from the IAM team:
https://cloud.ibm.com/docs/iam?topic=iam-iamtoken_from_apikey

Note that there is no refresh case described - in the API key case, there is no refresh token necessary, the user should always request a new access token using the API key.

API - Key

please add link to page for creating API-key

Example using fetch

Hello,
I'm trying to generate an API token using my API key by using fetch instead of curl. I'm running into what seems to be a cors issue. Attached is my fetch code... Am I missing some option or any advice? Thanks

let token_endpoint = 'https://iam.cloud.ibm.com/identity/token?grant_type=urn:ibm:params:oauth:grant-type:apikey&apikey={my_api_key}'

fetch(token_endpoint, { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'Accept': 'application/json', 'Authorization': 'Basic Yng6Yng=' } })
.then(res => console.log(res))
.catch(err => console.log(err))

Where do I find {url]?

This documentation mentions {url} several times. What is this and where do I find it? There are several sections about API keys, there needs to be a section about API URLs.

lost in hot suace

help who wants to tutor me can i run wqtson studio and open scale on lite service instance

EMERGENCY NEGOTIATIONS REQUEST, URGENT, good luck ๐Ÿ‘

I have invented "MR Natural Superintelligence software design formula ", directed to secure world peace and endless prosperity for the humanity, and your role is vital, congratulations. Please, we need to establish emailing negotiations with perfection and the possibilities are endless [email protected] ๐ŸŽŠ mrworldpeace.com

IBM Watson SDK

public class Personality {
public void invoke(){

    String VERSION = '2017-10-13';
    String service_url = 'https://gateway.watsonplatform.net/personality-insights/api';
    IBMWatsonAuthenticator authenticator = new IBMWatsonIAMAuthenticator('');
    IBMPersonalityInsightsV3 personalityInsightservice = new IBMPersonalityInsightsV3(VERSION, authenticator);
    personalityInsightservice.setServiceUrl(service_url);
    
    IBMPersonalityInsightsV3Models.ContentItem contentItem = new IBMPersonalityInsightsV3Models.ContentItemBuilder()
        .content('text/plain')
        .id('test')
        .created(1)
        .updated(1)
        .contenttype(IBMWatsonHttpMediaType.APPLICATION_JSON)
        .language('en')
        .parentid('test')
        .reply(false)
        .forward(false)
        .build();
    
    IBMPersonalityInsightsV3Models.Content content = new IBMPersonalityInsightsV3Models.ContentBuilder()
        .addContentItems(contentItem)
        .contentItems(new List<IBMPersonalityInsightsV3Models.ContentItem>{contentItem})
        .build();
    
    IBMPersonalityInsightsV3Models.ProfileOptions options = new IBMPersonalityInsightsV3Models.ProfileOptionsBuilder()
        .contentLanguage('en')
        .acceptLanguage('en')
        .rawScores(true)
        .consumptionPreferences(true)
        .content(content)
        .html('<html><body>I love Apples not oranges</body></html>')
        
        .text('Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.')
        .build();
    
    IBMPersonalityInsightsV3Models.Profile resp = personalityInsightservice.profile(options);
    
         
    System.debug('IBMNaturalLanguageUnderstandingV1FTest.testAnalyze(): ' + resp);
}

}

.text ---> in this text enter the manually text how can i pass dynamically text

Incorrect grammar

In the following section: Authenticating to Watson services the grammar of a sentence is incorrect under "Authenticate with IAM tokens".

The grammatical error is in line
The following Curl command generates and IAM access token

Should be
The following Curl command generates an IAM access token

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.