Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ replace = {new_version}
[bumpversion:file:text-to-speech/README.md]

[bumpversion:file:docker/pom.xml]

[bumpversion:file:.github/workflows/deploy.yml]
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ jobs:
- name: Publish to Maven Central
env:
GHA_TAG: "refs/tags/v14.0.2" # for setMavenVersion_gha
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} # for .travis.settings.xml
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
CENTRAL_USERNAME: ${{ secrets.CENTRAL_USERNAME }} # for .travis.settings.xml
CENTRAL_PASSWORD: ${{ secrets.CENTRAL_PASSWORD }}
GPG_KEYNAME: ${{ secrets.SIGNING_KEY }}
GPG_PASSPHRASE: ${{ secrets.SIGNING_PASSWORD }}
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }} # for setupSigning_gha
Expand Down
21 changes: 12 additions & 9 deletions assistant/src/main/java/com/ibm/watson/assistant/v2/Assistant.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2019, 2024.
* (C) Copyright IBM Corp. 2019, 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand All @@ -12,7 +12,7 @@
*/

/*
* IBM OpenAPI SDK Code Generator Version: 3.97.0-0e90eab1-20241120-170029
* IBM OpenAPI SDK Code Generator Version: 3.105.0-3c13b041-20250605-193116
*/

package com.ibm.watson.assistant.v2;
Expand Down Expand Up @@ -110,7 +110,7 @@ public class Assistant extends BaseService {
* the client instance.
*
* @param version Release date of the API version you want to use. Specify dates in YYYY-MM-DD
* format. The current version is `2023-06-15`.
* format. The current version is `2024-08-25`.
*/
public Assistant(String version) {
this(
Expand All @@ -124,7 +124,7 @@ public Assistant(String version) {
* authenticator are used to configure the client instance.
*
* @param version Release date of the API version you want to use. Specify dates in YYYY-MM-DD
* format. The current version is `2023-06-15`.
* format. The current version is `2024-08-25`.
* @param authenticator the {@link Authenticator} instance to be configured for this client
*/
public Assistant(String version, Authenticator authenticator) {
Expand All @@ -136,7 +136,7 @@ public Assistant(String version, Authenticator authenticator) {
* configure the client instance.
*
* @param version Release date of the API version you want to use. Specify dates in YYYY-MM-DD
* format. The current version is `2023-06-15`.
* format. The current version is `2024-08-25`.
* @param serviceName the service name to be used when configuring the client instance
*/
public Assistant(String version, String serviceName) {
Expand All @@ -148,7 +148,7 @@ public Assistant(String version, String serviceName) {
* are used to configure the client instance.
*
* @param version Release date of the API version you want to use. Specify dates in YYYY-MM-DD
* format. The current version is `2023-06-15`.
* format. The current version is `2024-08-25`.
* @param serviceName the service name to be used when configuring the client instance
* @param authenticator the {@link Authenticator} instance to be configured for this client
*/
Expand All @@ -163,7 +163,7 @@ public Assistant(String version, String serviceName, Authenticator authenticator
* Gets the version.
*
* <p>Release date of the API version you want to use. Specify dates in YYYY-MM-DD format. The
* current version is `2023-06-15`.
* current version is `2024-08-25`.
*
* @return the version
*/
Expand Down Expand Up @@ -1516,8 +1516,9 @@ public ServiceCall<Skill> updateSkill(UpdateSkillOptions updateSkillOptions) {
* Export skills.
*
* <p>Asynchronously export the action skill and dialog skill (if enabled) for the assistant. Use
* this method to save all skill data so that you can import it to a different assistant using the
* **Import skills** method.
* this method to save all skill data from the draft environment so that you can import it to a
* different assistant using the **Import skills** method. Use `assistant_id` instead of
* `environment_id` to call this endpoint.
*
* <p>A successful call to this method only initiates an asynchronous export. The exported JSON
* data is not available until processing completes.
Expand Down Expand Up @@ -1562,6 +1563,8 @@ public ServiceCall<SkillsExport> exportSkills(ExportSkillsOptions exportSkillsOp
* Import skills.
*
* <p>Asynchronously import skills into an existing assistant from a previously exported file.
* This method only imports assistants into a draft environment. Use `assistant_id` instead of
* `environment_id` to call this endpoint.
*
* <p>The request body for this method should contain the response data that was received from a
* previous call to the **Export skills** method, without modification.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2020, 2024.
* (C) Copyright IBM Corp. 2020, 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down Expand Up @@ -120,8 +120,10 @@ public Builder newBuilder() {
/**
* Gets the skillId.
*
* <p>Unique identifier of the skill. To find the skill ID in the watsonx Assistant user
* interface, open the skill settings and click **API Details**.
* <p>Unique identifier of the skill. To find the action or dialog skill ID in the watsonx
* Assistant user interface, open the skill settings and click **API Details**. To find the search
* skill ID, use the Get environment API to retrieve the skill references for an environment and
* it will include the search skill info, if available.
*
* @return the skillId
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import com.google.gson.annotations.SerializedName;
import com.ibm.cloud.sdk.core.service.model.GenericModel;
import java.util.Map;

/** ClientAction. */
public class ClientAction extends GenericModel {
Expand All @@ -34,7 +35,7 @@ public interface Skill {

protected String type;
protected String skill;
protected ClientActionParameters parameters;
protected Map<String, Object> parameters;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fyi, breaking


protected ClientAction() {}

Expand All @@ -52,6 +53,8 @@ public String getName() {
/**
* Gets the resultVariable.
*
* <p>The name of the variable that the results are stored in.
*
* @return the resultVariable
*/
public String getResultVariable() {
Expand All @@ -61,6 +64,8 @@ public String getResultVariable() {
/**
* Gets the type.
*
* <p>The type of turn event.
*
* @return the type
*/
public String getType() {
Expand All @@ -81,9 +86,11 @@ public String getSkill() {
/**
* Gets the parameters.
*
* <p>An object containing arbitrary variables that are included in the turn event.
*
* @return the parameters
*/
public ClientActionParameters getParameters() {
public Map<String, Object> getParameters() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fyi, breaking

return parameters;
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2024, 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down Expand Up @@ -119,17 +119,23 @@ public Builder newBuilder() {
/**
* Gets the assistantId.
*
* <p>The assistant ID or the environment ID of the environment where the assistant is deployed,
* depending on the type of request: - For message, session, and log requests, specify the
* environment ID of the environment where the assistant is deployed. - For all other requests,
* specify the assistant ID of the assistant.
* <p>The assistant ID or the environment ID of the environment where the assistant is deployed.
* Set the value for this ID depending on the type of request:
*
* <p>To find the environment ID or assistant ID in the watsonx Assistant user interface, open the
* assistant settings and scroll to the **Environments** section.
* <p>- For message, session, and log requests, specify the environment ID of the environment
* where the assistant is deployed.
*
* <p>- For all other requests, specify the assistant ID of the assistant.
*
* <p>To get the **assistant ID** and **environment ID** in the watsonx Assistant interface, open
* the **Assistant settings** page, and scroll to the **Assistant IDs and API details** section
* and click **View Details**.
*
* <p>**Note:** If you are using the classic Watson Assistant experience, always use the assistant
* ID. To find the assistant ID in the user interface, open the assistant settings and click API
* Details.
* ID.
*
* <p>To find the **assistant ID** in the user interface, open the **Assistant settings** and
* click **API Details**.
*
* @return the assistantId
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2024.
* (C) Copyright IBM Corp. 2024, 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down Expand Up @@ -135,17 +135,23 @@ public Builder newBuilder() {
/**
* Gets the assistantId.
*
* <p>The assistant ID or the environment ID of the environment where the assistant is deployed,
* depending on the type of request: - For message, session, and log requests, specify the
* environment ID of the environment where the assistant is deployed. - For all other requests,
* specify the assistant ID of the assistant.
* <p>The assistant ID or the environment ID of the environment where the assistant is deployed.
* Set the value for this ID depending on the type of request:
*
* <p>To find the environment ID or assistant ID in the watsonx Assistant user interface, open the
* assistant settings and scroll to the **Environments** section.
* <p>- For message, session, and log requests, specify the environment ID of the environment
* where the assistant is deployed.
*
* <p>- For all other requests, specify the assistant ID of the assistant.
*
* <p>To get the **assistant ID** and **environment ID** in the watsonx Assistant interface, open
* the **Assistant settings** page, and scroll to the **Assistant IDs and API details** section
* and click **View Details**.
*
* <p>**Note:** If you are using the classic Watson Assistant experience, always use the assistant
* ID. To find the assistant ID in the user interface, open the assistant settings and click API
* Details.
* ID.
*
* <p>To find the **assistant ID** in the user interface, open the **Assistant settings** and
* click **API Details**.
*
* @return the assistantId
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2023, 2024.
* (C) Copyright IBM Corp. 2023, 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down Expand Up @@ -112,17 +112,23 @@ public Builder newBuilder() {
/**
* Gets the assistantId.
*
* <p>The assistant ID or the environment ID of the environment where the assistant is deployed,
* depending on the type of request: - For message, session, and log requests, specify the
* environment ID of the environment where the assistant is deployed. - For all other requests,
* specify the assistant ID of the assistant.
* <p>The assistant ID or the environment ID of the environment where the assistant is deployed.
* Set the value for this ID depending on the type of request:
*
* <p>To find the environment ID or assistant ID in the watsonx Assistant user interface, open the
* assistant settings and scroll to the **Environments** section.
* <p>- For message, session, and log requests, specify the environment ID of the environment
* where the assistant is deployed.
*
* <p>- For all other requests, specify the assistant ID of the assistant.
*
* <p>To get the **assistant ID** and **environment ID** in the watsonx Assistant interface, open
* the **Assistant settings** page, and scroll to the **Assistant IDs and API details** section
* and click **View Details**.
*
* <p>**Note:** If you are using the classic Watson Assistant experience, always use the assistant
* ID. To find the assistant ID in the user interface, open the assistant settings and click API
* Details.
* ID.
*
* <p>To find the **assistant ID** in the user interface, open the **Assistant settings** and
* click **API Details**.
*
* @return the assistantId
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2018, 2024.
* (C) Copyright IBM Corp. 2018, 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down Expand Up @@ -101,17 +101,23 @@ public Builder newBuilder() {
/**
* Gets the assistantId.
*
* <p>The assistant ID or the environment ID of the environment where the assistant is deployed,
* depending on the type of request: - For message, session, and log requests, specify the
* environment ID of the environment where the assistant is deployed. - For all other requests,
* specify the assistant ID of the assistant.
* <p>The assistant ID or the environment ID of the environment where the assistant is deployed.
* Set the value for this ID depending on the type of request:
*
* <p>To find the environment ID or assistant ID in the watsonx Assistant user interface, open the
* assistant settings and scroll to the **Environments** section.
* <p>- For message, session, and log requests, specify the environment ID of the environment
* where the assistant is deployed.
*
* <p>- For all other requests, specify the assistant ID of the assistant.
*
* <p>To get the **assistant ID** and **environment ID** in the watsonx Assistant interface, open
* the **Assistant settings** page, and scroll to the **Assistant IDs and API details** section
* and click **View Details**.
*
* <p>**Note:** If you are using the classic Watson Assistant experience, always use the assistant
* ID. To find the assistant ID in the user interface, open the assistant settings and click API
* Details.
* ID.
*
* <p>To find the **assistant ID** in the user interface, open the **Assistant settings** and
* click **API Details**.
*
* @return the assistantId
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2023, 2024.
* (C) Copyright IBM Corp. 2023, 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down Expand Up @@ -86,17 +86,23 @@ public Builder newBuilder() {
/**
* Gets the assistantId.
*
* <p>The assistant ID or the environment ID of the environment where the assistant is deployed,
* depending on the type of request: - For message, session, and log requests, specify the
* environment ID of the environment where the assistant is deployed. - For all other requests,
* specify the assistant ID of the assistant.
* <p>The assistant ID or the environment ID of the environment where the assistant is deployed.
* Set the value for this ID depending on the type of request:
*
* <p>To find the environment ID or assistant ID in the watsonx Assistant user interface, open the
* assistant settings and scroll to the **Environments** section.
* <p>- For message, session, and log requests, specify the environment ID of the environment
* where the assistant is deployed.
*
* <p>- For all other requests, specify the assistant ID of the assistant.
*
* <p>To get the **assistant ID** and **environment ID** in the watsonx Assistant interface, open
* the **Assistant settings** page, and scroll to the **Assistant IDs and API details** section
* and click **View Details**.
*
* <p>**Note:** If you are using the classic Watson Assistant experience, always use the assistant
* ID. To find the assistant ID in the user interface, open the assistant settings and click API
* Details.
* ID.
*
* <p>To find the **assistant ID** in the user interface, open the **Assistant settings** and
* click **API Details**.
*
* @return the assistantId
*/
Expand Down
Loading