{"id":13801148,"url":"https://github.com/watson-developer-cloud/java-sdk","last_synced_at":"2025-05-14T04:08:14.855Z","repository":{"id":31262838,"uuid":"34824538","full_name":"watson-developer-cloud/java-sdk","owner":"watson-developer-cloud","description":":1st_place_medal: Java SDK to use the IBM Watson services.","archived":false,"fork":false,"pushed_at":"2025-05-07T17:31:29.000Z","size":407361,"stargazers_count":593,"open_issues_count":5,"forks_count":533,"subscribers_count":102,"default_branch":"master","last_synced_at":"2025-05-07T18:29:07.597Z","etag":null,"topics":["bluemix","gradle","hacktoberfest","iam","ibm-cloud","ibm-watson-services","java","java-sdk","sdk","watson-apis","watson-services"],"latest_commit_sha":null,"homepage":"http://watson-developer-cloud.github.io/java-sdk/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/watson-developer-cloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-04-29T23:55:13.000Z","updated_at":"2025-05-07T17:19:55.000Z","dependencies_parsed_at":"2024-01-05T20:57:47.147Z","dependency_job_id":"388ca5b5-b196-40bf-a5bc-239a697a1b9b","html_url":"https://github.com/watson-developer-cloud/java-sdk","commit_stats":{"total_commits":3297,"total_committers":99,"mean_commits":"33.303030303030305","dds":0.6308765544434334,"last_synced_commit":"2fc3d6da1c84a8db20161591ac8e3fc47bb8ae89"},"previous_names":[],"tags_count":126,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson-developer-cloud%2Fjava-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson-developer-cloud%2Fjava-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson-developer-cloud%2Fjava-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson-developer-cloud%2Fjava-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/watson-developer-cloud","download_url":"https://codeload.github.com/watson-developer-cloud/java-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254069647,"owners_count":22009558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bluemix","gradle","hacktoberfest","iam","ibm-cloud","ibm-watson-services","java","java-sdk","sdk","watson-apis","watson-services"],"created_at":"2024-08-04T00:01:20.035Z","updated_at":"2025-05-14T04:08:09.835Z","avatar_url":"https://github.com/watson-developer-cloud.png","language":"Java","readme":"# Watson APIs Java SDK\n[![Build and Test](https://github.com/watson-developer-cloud/java-sdk/actions/workflows/build-test.yml/badge.svg)](https://github.com/watson-developer-cloud/java-sdk/actions/workflows/build-test.yml)\n[![Deploy and Publish](https://github.com/watson-developer-cloud/java-sdk/actions/workflows/deploy.yml/badge.svg)](https://github.com/watson-developer-cloud/java-sdk/actions/workflows/deploy.yml)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.ibm.watson/ibm-watson/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.ibm.watson/ibm-watson)\n[![CLA assistant](https://cla-assistant.io/readme/badge/watson-developer-cloud/java-sdk)](https://cla-assistant.io/watson-developer-cloud/java-sdk)\n\n## Deprecated builds\n[![Build Status](https://travis-ci.org/watson-developer-cloud/java-sdk.svg?branch=master)](https://travis-ci.org/watson-developer-cloud/java-sdk)\n\nJava client library to use the [Watson APIs][wdc].\n\n## Before you begin\n* You need an [IBM Cloud][ibm-cloud-onboarding] account.\n\n## Installation\n\n##### Maven\nAll the services:\n\n```xml\n\u003cdependency\u003e\n\t\u003cgroupId\u003ecom.ibm.watson\u003c/groupId\u003e\n\t\u003cartifactId\u003eibm-watson\u003c/artifactId\u003e\n\t\u003cversion\u003e14.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nOnly Discovery:\n\n```xml\n\u003cdependency\u003e\n\t\u003cgroupId\u003ecom.ibm.watson\u003c/groupId\u003e\n\t\u003cartifactId\u003ediscovery\u003c/artifactId\u003e\n\t\u003cversion\u003e14.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n##### Gradle\nAll the services:\n\n```gradle\n'com.ibm.watson:ibm-watson:14.0.0'\n```\n\nOnly Assistant:\n\n```gradle\n'com.ibm.watson:assistant:14.0.0'\n```\n\nNow, you are ready to see some [examples](https://github.com/watson-developer-cloud/java-sdk/tree/master/examples/src/main/java/com/ibm/watson).\n\n## Usage\n\nThe examples within each service assume that you already have service credentials. If not,\nyou will have to [create a service](#getting-credentials) in IBM Cloud.\n\nIf you are running your application in IBM Cloud (or other platforms based on Cloud Foundry), you don't need to specify the\ncredentials; the library will get them for you by looking at the [`VCAP_SERVICES`][vcap_services] environment variable.\n\n## Running in IBM Cloud\n\nWhen running in IBM Cloud (or other platforms based on Cloud Foundry), the library will automatically get the credentials from [`VCAP_SERVICES`][vcap_services].\nIf you have more than one plan, you can use `CredentialUtils` to get the service credentials for an specific plan.\n\n## Authentication\n\nWatson services are migrating to token-based Identity and Access Management (IAM) authentication.\n\nAs of `v9.2.1`, the preferred approach of initializing an authenticator is the builder pattern. This pattern supports \nconstructing the authenticator with only the properties that you need. Also, if you're authenticating to a Watson service \non Cloud Pak for Data that supports IAM, you must use the builder pattern.\n\n- You can initialize the authenticator with either of the following approaches:\n    - In the builder of the authenticator (builder pattern).\n    - In the constructor of the authenticator (deprecated, but still available).\n- With some service instances, you authenticate to the API by using **[IAM](#iam)**.\n- In other instances, you authenticate by providing the **[username and password](#username-and-password)** for the service instance.\n- If you're using a Watson service on Cloud Pak for Data, you'll need to authenticate in a [specific way](#cloud-pak-for-data).\n\n### Getting credentials\n\nTo find out which authentication to use, view the service credentials. You find the service credentials for authentication the same way for all Watson services:\n\n1.  Go to the IBM Cloud [Dashboard](https://cloud.ibm.com/) page.\n1.  Either click an existing Watson service instance in your [resource list](https://cloud.ibm.com/resources) or click [**Create resource \u003e AI**](https://cloud.ibm.com/catalog?category=ai) and create a service instance.\n1. Click on the **Manage** item in the left nav bar of your service instance.\n\nOn this page, you should be able to see your credentials for accessing your service instance.\n\nIn your code, you can use these values in the service constructor or with a method call after instantiating your service.\n\n### Supplying credentials\n\nThere are two ways to supply the credentials you found above to the SDK for authentication.\n\n#### Credential file (easier!)\n\nWith a credential file, you just need to put the file in the right place and the SDK will do the work of parsing it and authenticating. You can get this file by clicking the **Download** button for the credentials in the **Manage** tab of your service instance.\n\nThe file downloaded will be called `ibm-credentials.env`. This is the name the SDK will search for and **must** be preserved unless you want to configure the file path (more on that later). The SDK will look for your `ibm-credentials.env` file in the following places (in order):\n\n- Your system's home directory\n- The top-level directory of the project you're using the SDK in\n\nAs long as you set that up correctly, you don't have to worry about setting any authentication options in your code. So, for example, if you created and downloaded the credential file for your Discovery instance, you just need to do the following:\n\n```java\nDiscovery service = new Discovery(\"2023-03-31\");\n```\n\nAnd that's it!\n\nIf you're using more than one service at a time in your code and get two different `ibm-credentials.env` files, just put the contents together in one `ibm-credentials.env` file and the SDK will handle assigning credentials to their appropriate services.\n\nIf you would like to configure the location/name of your credential file, you can set an environment variable called `IBM_CREDENTIALS_FILE`. **This will take precedence over the locations specified above.** Here's how you can do that:\n\n```bash\nexport IBM_CREDENTIALS_FILE=\"\u003cpath\u003e\"\n```\n\nwhere `\u003cpath\u003e` is something like `/home/user/Downloads/\u003cfile_name\u003e.env`.\n\n#### Manually\n\nIf you'd prefer to set authentication values manually in your code, the SDK supports that as well. The way you'll do this depends on what type of credentials your service instance gives you.\n\n##### IAM\n\nSome services use token-based Identity and Access Management (IAM) authentication. IAM authentication uses a service API key to get an access token that is passed with the call. Access tokens are valid for approximately one hour and must be regenerated.\n\nYou supply either an IAM service **API key** or an **access token**:\n\n- Use the API key to have the SDK manage the lifecycle of the access token. The SDK requests an access token, ensures that the access token is valid, and refreshes it if necessary.\n- Use the access token if you want to manage the lifecycle yourself. For details, see [Authenticating with IAM tokens](https://cloud.ibm.com/docs/watson?topic=watson-iam).\n\n\nSupplying the IAM API key:\n\nBuilder pattern approach:\n\n```java\n// letting the SDK manage the IAM token\nAuthenticator authenticator = new IamAuthenticator.Builder()\n            .apikey(\"\u003ciam_api_key\u003e\")\n            .build();\nDiscovery service = new Discovery(\"2023-03-31\", authenticator);\n```\n\nDeprecated constructor approach:\n\n```java\n// letting the SDK manage the IAM token\nAuthenticator authenticator = new IamAuthenticator(\"\u003ciam_api_key\u003e\");\nDiscovery service = new Discovery(\"2023-03-31\", authenticator);\n```\n\nSupplying the access token:\n\n```java\n// assuming control of managing IAM token\nAuthenticator authenticator = new BearerTokenAuthenticator(\"\u003caccess_token\u003e\");\nDiscovery service = new Discovery(\"2023-03-31\", authenticator);\n```\n\n#### Username and password\n\nBuilder pattern approach:\n\n```java\nAuthenticator authenticator = new BasicAuthenticator.Builder()\n            .username(\"\u003cusername\u003e\")\n            .password(\"\u003cpassword\u003e\")\n            .build();\nDiscovery service = new Discovery(\"2023-03-31\", authenticator);\n```\n\nDeprecated constructor approach:\n\n```java\nAuthenticator authenticator = new BasicAuthenticator(\"\u003cusername\u003e\", \"\u003cpassword\u003e\");\nDiscovery service = new Discovery(\"2023-03-31\", authenticator);\n```\n\n#### ICP\nAuthenticating with ICP is similar to the basic username and password method, except that you need to make sure to disable SSL verification to authenticate properly. See [here](#configuring-the-http-client) for more information.\n\n```java\nAuthenticator authenticator = new BasicAuthenticator(\"\u003cusername\u003e\", \"\u003cpassword\u003e\");\nDiscovery service = new Discovery(\"2023-03-31\", authenticator);\n\nHttpConfigOptions options = new HttpConfigOptions.Builder()\n  .disableSslVerification(true)\n  .build();\n\nservice.configureClient(options);\n```\n\n#### Cloud Pak for Data\nLike IAM, you can pass in credentials to let the SDK manage an access token for you or directly supply an access token to do it yourself.\n\nBuilder pattern approach:\n\n```java\n// letting the SDK manage the token\nAuthenticator authenticator = new CloudPakForDataAuthenticator.Builder()\n            .url(\"\u003cCP4D token exchange base URL\u003e\")\n            .username(\"\u003cusername\u003e\")\n            .password(\"\u003cpassword\u003e\")\n            .disableSSLVerification(true)\n            .headers(null)\n            .build();\nDiscovery service = new Discovery(\"2023-03-31\", authenticator);\nservice.setServiceUrl(\"\u003cservice CP4D URL\u003e\");\n```\n\nDeprecated constructor approach:\n\n```java\n// letting the SDK manage the token\nAuthenticator authenticator = new CloudPakForDataAuthenticator(\n  \"\u003cCP4D token exchange base URL\u003e\",\n  \"\u003cusername\u003e\",\n  \"\u003cpassword\u003e\",\n  true, // disabling SSL verification\n  null,\n);\nDiscovery service = new Discovery(\"2023-03-31\", authenticator);\nservice.setServiceUrl(\"\u003cservice CP4D URL\u003e\");\n```\n\n```java\n// assuming control of managing the access token\nAuthenticator authenticator = new BearerTokenAuthenticator(\"\u003caccess_token\u003e\");\nDiscovery service = new Discovery(\"2023-03-31\", authenticator);\nservice.setServiceUrl(\"\u003cservice CP4D URL\u003e\");\n```\n\nBe sure to both disable SSL verification when authenticating and set the endpoint explicitly to the URL given in Cloud Pak for Data.\n\n#### MCSP\nTo use the SDK through a third party cloud provider (such as AWS), use the `MCSPAuthenticator`. This will require the base endpoint URL for the MCSP token service (e.g. https://iam.platform.saas.ibm.com) and an apikey. \n\n```java\n// letting the SDK manage the token\nAuthenticator authenticator = new MCSPAuthenticator.Builder()\n            .apikey(\"apikey\")\n            .url(\"token_service_endpoint\")\n            .build();\nAssistant service = new Assistant(\"2023-06-15\", authenticator);\nservice.setServiceUrl(\"\u003curl_as_per_region\u003e\");\n```\n\n## Using the SDK\n\n### Parsing responses\n\nNo matter which method you use to make an API request (`execute()`, `enqueue()`, or `reactiveRequest()`), you'll get back an object of form `Response\u003cT\u003e`, where `T` is the model representing the specific response model.\n\nHere's an example of how to parse that response and get additional information beyond the response model:\n\n```java\n// listing our workspaces with an instance of the Assistant v1 service\nResponse\u003cWorkspaceCollection\u003e response = service.listWorkspaces().execute();\n\n// pulling out the specific API method response, which we can manipulate as usual\nWorkspaceCollection collection = response.getResult();\nSystem.out.println(\"My workspaces: \" + collection.getWorkspaces());\n\n// grabbing headers that came back with our API response\nHeaders responseHeaders = response.getHeaders();\nSystem.out.println(\"Response header names: \" + responseHeaders.names());\n```\n\n### Configuring the HTTP client\n\nThe HTTP client can be configured by using the `setProxy()` method on your authenticator and using the `configureClient()` method on your service object, passing in an `HttpConfigOptions` object. For a full list of configurable options look at this linked Builder class for [HttpConfigOptions](https://github.com/IBM/java-sdk-core/blob/c053e1ccf4bc4267b0ce0be5538564fac088f57b/src/main/java/com/ibm/cloud/sdk/core/http/HttpConfigOptions.java#L95). Currently, the following options are supported:\n- Disabling SSL verification (only do this if you really mean to!) ⚠️\n- Setting gzip compression\n- Setting max retry and retry interval\n- Using a proxy (more info here: [OkHTTPClient Proxy authentication how to?](https://stackoverflow.com/a/35567936/456564))\n- Setting HTTP logging verbosity\n\nHere's an example of setting the above:\n\n```java\nProxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(\"proxyHost\", 8080));\nIamAuthenticator authenticator = new IamAuthenticator(apiKey);\nauthenticator.setProxy(proxy);\n\nDiscovery service = new Discovery(\"2023-03-31\", authenticator);\n\n// setting configuration options\nHttpConfigOptions options = new HttpConfigOptions.Builder()\n  .disableSslVerification(true)\n  .proxy(proxy)\n  .loggingLevel(HttpConfigOptions.LoggingLevel.BASIC)\n  .build();\n\nservice.configureClient(options);\n```\n\n### Making asynchronous API calls\n\nThe basic, synchronous way to make API calls with this SDK is through the use of the `execute()` method. Using this method looks something like this:\n```java\n// make API call\nResponse\u003cListEnvironmentsResponse\u003e response = service.listEnvironments().execute();\n\n// continue execution\n```\n\nHowever, if you need to perform these calls in the background, there are two other methods to do this asynchronously: `enqueue()` and `reactiveRequest()`.\n\n#### `enqueue()`\n\nThis method allows you to set a callback for the service response through the use of the `ServiceCallback` object. Here's an example:\n```java\n// make API call in the background\nservice.listEnvironments().enqueue(new ServiceCallback\u003cListEnvironmentsResponse\u003e() {\n  @Override\n  public void onResponse(Response\u003cListEnvironmentsResponse\u003e response) {\n    System.out.println(\"We did it! \" + response);\n  }\n\n  @Override\n  public void onFailure(Exception e) {\n    System.out.println(\"Whoops...\");\n  }\n});\n\n// continue working in the meantime!\n```\n\n#### `reactiveRequest()`\n\nIf you're a fan of the [RxJava](https://github.com/ReactiveX/RxJava) library, this method lets you leverage that to allow for \"reactive\" programming. The method will return a `Single\u003cT\u003e` which you can manipulate how you please. Example:\n```java\n// get stream with request\nSingle\u003cResponse\u003cListEnvironmentsResponse\u003e\u003e observableRequest\n  = service.listEnvironments().reactiveRequest();\n\n// make API call in the background\nobservableRequest\n  .subscribeOn(Schedulers.single())\n  .subscribe(response -\u003e System.out.println(\"We did it with s~t~r~e~a~m~s! \" + response));\n\n// continue working in the meantime!\n```\n\n### Default headers\n\nDefault headers can be specified at any time by using the `setDefaultHeaders(Map\u003cString, String\u003e headers)` method.\n\nThe example below sends the `X-Watson-Learning-Opt-Out` header in every request preventing Watson from using the payload to improve the service.\n\n```java\nPersonalityInsights service = new PersonalityInsights(\"2017-10-13\", new NoAuthAuthenticator());\n\nMap\u003cString, String\u003e headers = new HashMap\u003cString, String\u003e();\nheaders.put(WatsonHttpHeaders.X_WATSON_LEARNING_OPT_OUT, \"true\");\n\nservice.setDefaultHeaders(headers);\n\n// All the api calls from now on will send the default headers\n```\n\n### Sending request headers\n\nCustom headers can be passed with any request. To do so, add the header to the `ServiceCall` object before executing the request. For example, this is what it looks like to send the header `Custom-Header` along with a call to the Watson Assistant service:\n\n```java\nResponse\u003cWorkspaceCollection\u003e workspaces = service.listWorkspaces()\n  .addHeader(\"Custom-Header\", \"custom_value\")\n  .execute();\n```\n\n### Canceling requests\n\nIt's possible that you may want to cancel a request you make to a service. For example, you may set some timeout threshold and just want to cancel an asynchronous if it doesn't respond in time. You can do that by calling the `cancel()` method on your `ServiceCall` object. For example:\n\n```java\n// time to consider timeout (in ms)\nlong timeoutThreshold = 3000;\n\n// storing ServiceCall object we'll use to list our Assistant v1 workspaces\nServiceCall\u003cWorkspaceCollection\u003e call = service.listWorkspaces();\n\nlong startTime = System.currentTimeMillis();\ncall.enqueue(new ServiceCallback\u003cWorkspaceCollection\u003e() {\n  @Override\n  public void onResponse(Response\u003cWorkspaceCollection\u003e response) {\n    // store the result somewhere\n    fakeDb.store(\"my-key\", response.getResult());\n  }\n\n  @Override\n  public void onFailure(Exception e) {\n    System.out.println(\"The request failed :(\");\n  }\n});\n\n// keep waiting for the call to complete while we're within the timeout bounds\nwhile ((fakeDb.retrieve(\"my-key\") == null) \u0026\u0026 (System.currentTimeMillis() - startTime \u003c timeoutThreshold)) {\n  Thread.sleep(500);\n}\n\n// if we timed out and it's STILL not complete, we'll just cancel the call\nif (fakeDb.retrieve(\"my-key\") == null) {\n    call.cancel();\n}\n```\n\nDoing so will call your `onFailure()` implementation.\n\n### Transaction IDs\n\nEvery SDK call returns a response with a transaction ID in the `X-Global-Transaction-Id` header. This transaction ID is useful for troubleshooting and accessing relevant logs from your service instance.\n\n```java\nAssistant service = new Assistant(\"2019-02-28\");\nListWorkspacesOptions options = new ListWorkspacesOptions.Builder().build();\nResponse\u003cWorkspaceCollection\u003e response;\n\ntry {\n  // In a successful case, you can grab the ID with the following code.\n  response = service.listWorkspaces(options).execute();\n  String transactionId = response.getHeaders().values(\"X-Global-Transaction-Id\").get(0);\n} catch (ServiceResponseException e) {\n  // This is how you get the ID from a failed request.\n  // Make sure to use the ServiceResponseException class or one of its subclasses!\n  String transactionId = e.getHeaders().values(\"X-Global-Transaction-Id\").get(0);\n}\n```\n\nHowever, the transaction ID isn't available when the API doesn't return a response for some reason. In that case, you can set your own transaction ID in the request. For example, replace `\u003cmy-unique-transaction-id\u003e` in the following example with a unique transaction ID.\n```java\nAuthenticator authenticator = new IamAuthenticator(\"apiKey\");\nservice = new Assistant(\"{version-date}\", authenticator);\nservice.setServiceUrl(\"{serviceUrl}\");\n\nMap\u003cString, String\u003e headers = new HashMap\u003c\u003e();\nheaders.put(\"X-Global-Transaction-Id\", \"\u003cmy-unique-transaction-id\u003e\");\nservice.setDefaultHeaders(headers);\n\nMessageOptions options = new MessageOptions.Builder(workspaceId).build();\nMessageResponse result = service.message(options).execute().getResult();\n```\n\n## FAQ\n\n### Does this SDK play well with Android?\n\nIt does! You should be able to plug this dependency into your Android app without any issue. In addition, we have an Android SDK meant to be used with this library that adds some Android-specific functionality, which you can find [here](https://github.com/watson-developer-cloud/android-sdk).\n\n### How can I contribute?\n\nGreat question (and please do)! You can find contributing information [here](.github/CONTRIBUTING.md).\n\n### Where can I get more help with using Watson APIs?\n\nIf you have issues with the APIs or have a question about the Watson services, see [Stack Overflow](https://stackoverflow.com/questions/tagged/ibm-watson+java).\n\n### Does IBM have any other open source work?\n\nWe do :sunglasses:  http://ibm.github.io/\n\n[wdc]: https://www.ibm.com/watson/developer/\n[ibm_cloud]: https://cloud.ibm.com\n[apache_maven]: http://maven.apache.org/\n[vcap_services]: https://cloud.ibm.com/docs/watson?topic=watson-vcapServices\n[ibm-cloud-onboarding]: http://cloud.ibm.com/registration?target=/developer/watson\u0026cm_sp=WatsonPlatform-WatsonServices-_-OnPageNavLink-IBMWatson_SDKs-_-Java\n\n## Featured projects\nWe'd love to highlight cool open-source projects that use this SDK! If you'd like to get your project added to the list, feel free to make an issue linking us to it.\n\n[jar]: https://github.com/watson-developer-cloud/java-sdk/releases/download/v14.0.0/ibm-watson-14.0.0-jar-with-dependencies.jar\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://www.linkedin.com/in/logan-patino/\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/8710772?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eLogan Patino\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/commits?author=lpatino10\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#design-lpatino10\" title=\"Design\"\u003e🎨\u003c/a\u003e \u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/issues?q=author%3Alpatino10\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/mediumTaj\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/4381558?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAjiemar Santiago\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/commits?author=mediumTaj\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#design-mediumTaj\" title=\"Design\"\u003e🎨\u003c/a\u003e \u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/issues?q=author%3AmediumTaj\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://germanattanasio.com\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/313157?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eGerman Attanasio\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/commits?author=germanattanasio\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#design-germanattanasio\" title=\"Design\"\u003e🎨\u003c/a\u003e \u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/commits?author=germanattanasio\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/commits?author=germanattanasio\" title=\"Tests\"\u003e⚠️\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/kevinkowa\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/15097482?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eKevin Kowalski\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/commits?author=kevinkowa\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#design-kevinkowa\" title=\"Design\"\u003e🎨\u003c/a\u003e \u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/issues?q=author%3Akevinkowa+\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e \u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/commits?author=kevinkowa\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/commits?author=kevinkowa\" title=\"Tests\"\u003e⚠️\u003c/a\u003e \u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/issues?q=mentions%3Akevinkowa+is%3Aclosed+\" title=\"questions\"\u003e💬️\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/jeff-arn\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/4694018?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eJeff Arn\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/commits?author=jeff-arn\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#design-jeff-arn\" title=\"Design\"\u003e🎨\u003c/a\u003e \u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/issues?q=author%3Ajeff-arn+\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e \u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/commits?author=jeff-arn\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/commits?author=jeff-arn\" title=\"Tests\"\u003e⚠️\u003c/a\u003e \u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/issues?q=mentions%3Ajeff-arn+is%3Aclosed+\" title=\"questions\"\u003e💬️\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/apaparazzi0329\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/26935099?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAngelo Paparazzi\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/commits?author=apaparazzi0329\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#design-apaparazzi0329\" title=\"Design\"\u003e🎨\u003c/a\u003e \u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/issues?q=author%3Aapaparazzi0329+\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e \u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/commits?author=apaparazzi0329\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/commits?author=apaparazzi0329\" title=\"Tests\"\u003e⚠️\u003c/a\u003e \u003ca href=\"https://github.com/watson-developer-cloud/java-sdk/issues?q=mentions%3Aapaparazzi0329+is%3Aclosed+\" title=\"questions\"\u003e💬️\u003c/a\u003e \u003ca title=\"ninja\"\u003e🥷🏼\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-enable --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","funding_links":[],"categories":["Java","Data \u0026 AI","人工智能"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatson-developer-cloud%2Fjava-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwatson-developer-cloud%2Fjava-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatson-developer-cloud%2Fjava-sdk/lists"}