public class Assistant
extends com.ibm.cloud.sdk.core.service.BaseService
The Assistant v1 API provides authoring methods your application can use to create or update a workspace.
Constructor and Description |
---|
Assistant(java.lang.String versionDate)
Constructs a new `Assistant` client using the DEFAULT_SERVICE_NAME.
|
Assistant(java.lang.String versionDate,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs a new `Assistant` client with the DEFAULT_SERVICE_NAME and the specified
Authenticator.
|
Assistant(java.lang.String versionDate,
java.lang.String serviceName)
Constructs a new `Assistant` client with the specified serviceName.
|
Assistant(java.lang.String versionDate,
java.lang.String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs a new `Assistant` client with the specified Authenticator and serviceName.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<Counterexample> |
createCounterexample(CreateCounterexampleOptions createCounterexampleOptions)
Create counterexample.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DialogNode> |
createDialogNode(CreateDialogNodeOptions createDialogNodeOptions)
Create dialog node.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Entity> |
createEntity(CreateEntityOptions createEntityOptions)
Create entity.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Example> |
createExample(CreateExampleOptions createExampleOptions)
Create user input example.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Intent> |
createIntent(CreateIntentOptions createIntentOptions)
Create intent.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Synonym> |
createSynonym(CreateSynonymOptions createSynonymOptions)
Create entity value synonym.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Value> |
createValue(CreateValueOptions createValueOptions)
Create entity value.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> |
createWorkspace()
Create workspace.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> |
createWorkspace(CreateWorkspaceOptions createWorkspaceOptions)
Create workspace.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteCounterexample(DeleteCounterexampleOptions deleteCounterexampleOptions)
Delete counterexample.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteDialogNode(DeleteDialogNodeOptions deleteDialogNodeOptions)
Delete dialog node.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteEntity(DeleteEntityOptions deleteEntityOptions)
Delete entity.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteExample(DeleteExampleOptions deleteExampleOptions)
Delete user input example.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteIntent(DeleteIntentOptions deleteIntentOptions)
Delete intent.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteSynonym(DeleteSynonymOptions deleteSynonymOptions)
Delete entity value synonym.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteUserData(DeleteUserDataOptions deleteUserDataOptions)
Delete labeled data.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteValue(DeleteValueOptions deleteValueOptions)
Delete entity value.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteWorkspace(DeleteWorkspaceOptions deleteWorkspaceOptions)
Delete workspace.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Counterexample> |
getCounterexample(GetCounterexampleOptions getCounterexampleOptions)
Get counterexample.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DialogNode> |
getDialogNode(GetDialogNodeOptions getDialogNodeOptions)
Get dialog node.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Entity> |
getEntity(GetEntityOptions getEntityOptions)
Get entity.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Example> |
getExample(GetExampleOptions getExampleOptions)
Get user input example.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Intent> |
getIntent(GetIntentOptions getIntentOptions)
Get intent.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Synonym> |
getSynonym(GetSynonymOptions getSynonymOptions)
Get entity value synonym.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Value> |
getValue(GetValueOptions getValueOptions)
Get entity value.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> |
getWorkspace(GetWorkspaceOptions getWorkspaceOptions)
Get information about a workspace.
|
com.ibm.cloud.sdk.core.http.ServiceCall<LogCollection> |
listAllLogs(ListAllLogsOptions listAllLogsOptions)
List log events in all workspaces.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CounterexampleCollection> |
listCounterexamples(ListCounterexamplesOptions listCounterexamplesOptions)
List counterexamples.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DialogNodeCollection> |
listDialogNodes(ListDialogNodesOptions listDialogNodesOptions)
List dialog nodes.
|
com.ibm.cloud.sdk.core.http.ServiceCall<EntityCollection> |
listEntities(ListEntitiesOptions listEntitiesOptions)
List entities.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ExampleCollection> |
listExamples(ListExamplesOptions listExamplesOptions)
List user input examples.
|
com.ibm.cloud.sdk.core.http.ServiceCall<IntentCollection> |
listIntents(ListIntentsOptions listIntentsOptions)
List intents.
|
com.ibm.cloud.sdk.core.http.ServiceCall<LogCollection> |
listLogs(ListLogsOptions listLogsOptions)
List log events in a workspace.
|
com.ibm.cloud.sdk.core.http.ServiceCall<EntityMentionCollection> |
listMentions(ListMentionsOptions listMentionsOptions)
List entity mentions.
|
com.ibm.cloud.sdk.core.http.ServiceCall<SynonymCollection> |
listSynonyms(ListSynonymsOptions listSynonymsOptions)
List entity value synonyms.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ValueCollection> |
listValues(ListValuesOptions listValuesOptions)
List entity values.
|
com.ibm.cloud.sdk.core.http.ServiceCall<WorkspaceCollection> |
listWorkspaces()
List workspaces.
|
com.ibm.cloud.sdk.core.http.ServiceCall<WorkspaceCollection> |
listWorkspaces(ListWorkspacesOptions listWorkspacesOptions)
List workspaces.
|
com.ibm.cloud.sdk.core.http.ServiceCall<MessageResponse> |
message(MessageOptions messageOptions)
Get response to user input.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Counterexample> |
updateCounterexample(UpdateCounterexampleOptions updateCounterexampleOptions)
Update counterexample.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DialogNode> |
updateDialogNode(UpdateDialogNodeOptions updateDialogNodeOptions)
Update dialog node.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Entity> |
updateEntity(UpdateEntityOptions updateEntityOptions)
Update entity.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Example> |
updateExample(UpdateExampleOptions updateExampleOptions)
Update user input example.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Intent> |
updateIntent(UpdateIntentOptions updateIntentOptions)
Update intent.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Synonym> |
updateSynonym(UpdateSynonymOptions updateSynonymOptions)
Update entity value synonym.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Value> |
updateValue(UpdateValueOptions updateValueOptions)
Update entity value.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> |
updateWorkspace(UpdateWorkspaceOptions updateWorkspaceOptions)
Update workspace.
|
configureClient, configureHttpClient, configureService, createServiceCall, getAuthenticator, getClient, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, processServiceCall, setAuthentication, setClient, setDefaultHeaders, setDefaultHeaders, setEndPoint, setServiceUrl, toString
public Assistant(java.lang.String versionDate)
versionDate
- The version date (yyyy-MM-dd) of the REST API to use. Specifying this value
will keep your API calls from failing when the service introduces breaking changes.public Assistant(java.lang.String versionDate, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
versionDate
- The version date (yyyy-MM-dd) of the REST API to use. Specifying this value
will keep your API calls from failing when the service introduces breaking changes.authenticator
- the Authenticator instance to be configured for this servicepublic Assistant(java.lang.String versionDate, java.lang.String serviceName)
versionDate
- The version date (yyyy-MM-dd) of the REST API to use. Specifying this value
will keep your API calls from failing when the service introduces breaking changes.serviceName
- The name of the service to configure.public Assistant(java.lang.String versionDate, java.lang.String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
versionDate
- The version date (yyyy-MM-dd) of the REST API to use. Specifying this value
will keep your API calls from failing when the service introduces breaking changes.serviceName
- The name of the service to configure.authenticator
- the Authenticator instance to be configured for this servicepublic com.ibm.cloud.sdk.core.http.ServiceCall<MessageResponse> message(MessageOptions messageOptions)
Send user input to a workspace and receive a response.
**Important:** This method has been superseded by the new v2 runtime API. The v2 API offers significant advantages, including ease of deployment, automatic state management, versioning, and search capabilities. For more information, see the [documentation](https://cloud.ibm.com/docs/assistant?topic=assistant-api-overview).
There is no rate limit for this operation.
messageOptions
- the MessageOptions
containing the options for the callServiceCall
with a response type of MessageResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<WorkspaceCollection> listWorkspaces(ListWorkspacesOptions listWorkspacesOptions)
List the workspaces associated with a Watson Assistant service instance.
This operation is limited to 500 requests per 30 minutes. For more information, see **Rate limiting**.
listWorkspacesOptions
- the ListWorkspacesOptions
containing the options for the
callServiceCall
with a response type of WorkspaceCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<WorkspaceCollection> listWorkspaces()
List the workspaces associated with a Watson Assistant service instance.
This operation is limited to 500 requests per 30 minutes. For more information, see **Rate limiting**.
ServiceCall
with a response type of WorkspaceCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> createWorkspace(CreateWorkspaceOptions createWorkspaceOptions)
Create a workspace based on component objects. You must provide workspace components defining the content of the new workspace.
This operation is limited to 30 requests per 30 minutes. For more information, see **Rate limiting**.
createWorkspaceOptions
- the CreateWorkspaceOptions
containing the options for the
callServiceCall
with a response type of Workspace
public com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> createWorkspace()
Create a workspace based on component objects. You must provide workspace components defining the content of the new workspace.
This operation is limited to 30 requests per 30 minutes. For more information, see **Rate limiting**.
ServiceCall
with a response type of Workspace
public com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> getWorkspace(GetWorkspaceOptions getWorkspaceOptions)
Get information about a workspace, optionally including all workspace content.
With **export**=`false`, this operation is limited to 6000 requests per 5 minutes. With **export**=`true`, the limit is 20 requests per 30 minutes. For more information, see **Rate limiting**.
getWorkspaceOptions
- the GetWorkspaceOptions
containing the options for the callServiceCall
with a response type of Workspace
public com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> updateWorkspace(UpdateWorkspaceOptions updateWorkspaceOptions)
Update an existing workspace with new or modified data. You must provide component objects defining the content of the updated workspace.
This operation is limited to 30 request per 30 minutes. For more information, see **Rate limiting**.
updateWorkspaceOptions
- the UpdateWorkspaceOptions
containing the options for the
callServiceCall
with a response type of Workspace
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteWorkspace(DeleteWorkspaceOptions deleteWorkspaceOptions)
Delete a workspace from the service instance.
This operation is limited to 30 requests per 30 minutes. For more information, see **Rate limiting**.
deleteWorkspaceOptions
- the DeleteWorkspaceOptions
containing the options for the
callServiceCall
with a response type of Voidpublic com.ibm.cloud.sdk.core.http.ServiceCall<IntentCollection> listIntents(ListIntentsOptions listIntentsOptions)
List the intents for a workspace.
With **export**=`false`, this operation is limited to 2000 requests per 30 minutes. With **export**=`true`, the limit is 400 requests per 30 minutes. For more information, see **Rate limiting**.
listIntentsOptions
- the ListIntentsOptions
containing the options for the callServiceCall
with a response type of IntentCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<Intent> createIntent(CreateIntentOptions createIntentOptions)
Create a new intent.
If you want to create multiple intents with a single API call, consider using the **[Update workspace](#update-workspace)** method instead.
This operation is limited to 2000 requests per 30 minutes. For more information, see **Rate limiting**.
createIntentOptions
- the CreateIntentOptions
containing the options for the callServiceCall
with a response type of Intent
public com.ibm.cloud.sdk.core.http.ServiceCall<Intent> getIntent(GetIntentOptions getIntentOptions)
Get information about an intent, optionally including all intent content.
With **export**=`false`, this operation is limited to 6000 requests per 5 minutes. With **export**=`true`, the limit is 400 requests per 30 minutes. For more information, see **Rate limiting**.
getIntentOptions
- the GetIntentOptions
containing the options for the callServiceCall
with a response type of Intent
public com.ibm.cloud.sdk.core.http.ServiceCall<Intent> updateIntent(UpdateIntentOptions updateIntentOptions)
Update an existing intent with new or modified data. You must provide component objects defining the content of the updated intent.
If you want to update multiple intents with a single API call, consider using the **[Update workspace](#update-workspace)** method instead.
This operation is limited to 2000 requests per 30 minutes. For more information, see **Rate limiting**.
updateIntentOptions
- the UpdateIntentOptions
containing the options for the callServiceCall
with a response type of Intent
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteIntent(DeleteIntentOptions deleteIntentOptions)
Delete an intent from a workspace.
This operation is limited to 2000 requests per 30 minutes. For more information, see **Rate limiting**.
deleteIntentOptions
- the DeleteIntentOptions
containing the options for the callServiceCall
with a response type of Voidpublic com.ibm.cloud.sdk.core.http.ServiceCall<ExampleCollection> listExamples(ListExamplesOptions listExamplesOptions)
List the user input examples for an intent, optionally including contextual entity mentions.
This operation is limited to 2500 requests per 30 minutes. For more information, see **Rate limiting**.
listExamplesOptions
- the ListExamplesOptions
containing the options for the callServiceCall
with a response type of ExampleCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<Example> createExample(CreateExampleOptions createExampleOptions)
Add a new user input example to an intent.
If you want to add multiple examples with a single API call, consider using the **[Update intent](#update-intent)** method instead.
This operation is limited to 1000 requests per 30 minutes. For more information, see **Rate limiting**.
createExampleOptions
- the CreateExampleOptions
containing the options for the
callServiceCall
with a response type of Example
public com.ibm.cloud.sdk.core.http.ServiceCall<Example> getExample(GetExampleOptions getExampleOptions)
Get information about a user input example.
This operation is limited to 6000 requests per 5 minutes. For more information, see **Rate limiting**.
getExampleOptions
- the GetExampleOptions
containing the options for the callServiceCall
with a response type of Example
public com.ibm.cloud.sdk.core.http.ServiceCall<Example> updateExample(UpdateExampleOptions updateExampleOptions)
Update the text of a user input example.
If you want to update multiple examples with a single API call, consider using the **[Update intent](#update-intent)** method instead.
This operation is limited to 1000 requests per 30 minutes. For more information, see **Rate limiting**.
updateExampleOptions
- the UpdateExampleOptions
containing the options for the
callServiceCall
with a response type of Example
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteExample(DeleteExampleOptions deleteExampleOptions)
Delete a user input example from an intent.
This operation is limited to 1000 requests per 30 minutes. For more information, see **Rate limiting**.
deleteExampleOptions
- the DeleteExampleOptions
containing the options for the
callServiceCall
with a response type of Voidpublic com.ibm.cloud.sdk.core.http.ServiceCall<CounterexampleCollection> listCounterexamples(ListCounterexamplesOptions listCounterexamplesOptions)
List the counterexamples for a workspace. Counterexamples are examples that have been marked as irrelevant input.
This operation is limited to 2500 requests per 30 minutes. For more information, see **Rate limiting**.
listCounterexamplesOptions
- the ListCounterexamplesOptions
containing the options
for the callServiceCall
with a response type of CounterexampleCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<Counterexample> createCounterexample(CreateCounterexampleOptions createCounterexampleOptions)
Add a new counterexample to a workspace. Counterexamples are examples that have been marked as irrelevant input.
If you want to add multiple counterexamples with a single API call, consider using the **[Update workspace](#update-workspace)** method instead.
This operation is limited to 1000 requests per 30 minutes. For more information, see **Rate limiting**.
createCounterexampleOptions
- the CreateCounterexampleOptions
containing the
options for the callServiceCall
with a response type of Counterexample
public com.ibm.cloud.sdk.core.http.ServiceCall<Counterexample> getCounterexample(GetCounterexampleOptions getCounterexampleOptions)
Get information about a counterexample. Counterexamples are examples that have been marked as irrelevant input.
This operation is limited to 6000 requests per 5 minutes. For more information, see **Rate limiting**.
getCounterexampleOptions
- the GetCounterexampleOptions
containing the options for
the callServiceCall
with a response type of Counterexample
public com.ibm.cloud.sdk.core.http.ServiceCall<Counterexample> updateCounterexample(UpdateCounterexampleOptions updateCounterexampleOptions)
Update the text of a counterexample. Counterexamples are examples that have been marked as irrelevant input.
If you want to update multiple counterexamples with a single API call, consider using the **[Update workspace](#update-workspace)** method instead.
This operation is limited to 1000 requests per 30 minutes. For more information, see **Rate limiting**.
updateCounterexampleOptions
- the UpdateCounterexampleOptions
containing the
options for the callServiceCall
with a response type of Counterexample
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteCounterexample(DeleteCounterexampleOptions deleteCounterexampleOptions)
Delete a counterexample from a workspace. Counterexamples are examples that have been marked as irrelevant input.
This operation is limited to 1000 requests per 30 minutes. For more information, see **Rate limiting**.
deleteCounterexampleOptions
- the DeleteCounterexampleOptions
containing the
options for the callServiceCall
with a response type of Voidpublic com.ibm.cloud.sdk.core.http.ServiceCall<EntityCollection> listEntities(ListEntitiesOptions listEntitiesOptions)
List the entities for a workspace.
With **export**=`false`, this operation is limited to 1000 requests per 30 minutes. With **export**=`true`, the limit is 200 requests per 30 minutes. For more information, see **Rate limiting**.
listEntitiesOptions
- the ListEntitiesOptions
containing the options for the callServiceCall
with a response type of EntityCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<Entity> createEntity(CreateEntityOptions createEntityOptions)
Create a new entity, or enable a system entity.
If you want to create multiple entities with a single API call, consider using the **[Update workspace](#update-workspace)** method instead.
This operation is limited to 1000 requests per 30 minutes. For more information, see **Rate limiting**.
createEntityOptions
- the CreateEntityOptions
containing the options for the callServiceCall
with a response type of Entity
public com.ibm.cloud.sdk.core.http.ServiceCall<Entity> getEntity(GetEntityOptions getEntityOptions)
Get information about an entity, optionally including all entity content.
With **export**=`false`, this operation is limited to 6000 requests per 5 minutes. With **export**=`true`, the limit is 200 requests per 30 minutes. For more information, see **Rate limiting**.
getEntityOptions
- the GetEntityOptions
containing the options for the callServiceCall
with a response type of Entity
public com.ibm.cloud.sdk.core.http.ServiceCall<Entity> updateEntity(UpdateEntityOptions updateEntityOptions)
Update an existing entity with new or modified data. You must provide component objects defining the content of the updated entity.
If you want to update multiple entities with a single API call, consider using the **[Update workspace](#update-workspace)** method instead.
This operation is limited to 1000 requests per 30 minutes. For more information, see **Rate limiting**.
updateEntityOptions
- the UpdateEntityOptions
containing the options for the callServiceCall
with a response type of Entity
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteEntity(DeleteEntityOptions deleteEntityOptions)
Delete an entity from a workspace, or disable a system entity.
This operation is limited to 1000 requests per 30 minutes. For more information, see **Rate limiting**.
deleteEntityOptions
- the DeleteEntityOptions
containing the options for the callServiceCall
with a response type of Voidpublic com.ibm.cloud.sdk.core.http.ServiceCall<EntityMentionCollection> listMentions(ListMentionsOptions listMentionsOptions)
List mentions for a contextual entity. An entity mention is an occurrence of a contextual entity in the context of an intent user input example.
This operation is limited to 200 requests per 30 minutes. For more information, see **Rate limiting**.
listMentionsOptions
- the ListMentionsOptions
containing the options for the callServiceCall
with a response type of EntityMentionCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<ValueCollection> listValues(ListValuesOptions listValuesOptions)
List the values for an entity.
This operation is limited to 2500 requests per 30 minutes. For more information, see **Rate limiting**.
listValuesOptions
- the ListValuesOptions
containing the options for the callServiceCall
with a response type of ValueCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<Value> createValue(CreateValueOptions createValueOptions)
Create a new value for an entity.
If you want to create multiple entity values with a single API call, consider using the **[Update entity](#update-entity)** method instead.
This operation is limited to 1000 requests per 30 minutes. For more information, see **Rate limiting**.
createValueOptions
- the CreateValueOptions
containing the options for the callServiceCall
with a response type of Value
public com.ibm.cloud.sdk.core.http.ServiceCall<Value> getValue(GetValueOptions getValueOptions)
Get information about an entity value.
This operation is limited to 6000 requests per 5 minutes. For more information, see **Rate limiting**.
getValueOptions
- the GetValueOptions
containing the options for the callServiceCall
with a response type of Value
public com.ibm.cloud.sdk.core.http.ServiceCall<Value> updateValue(UpdateValueOptions updateValueOptions)
Update an existing entity value with new or modified data. You must provide component objects defining the content of the updated entity value.
If you want to update multiple entity values with a single API call, consider using the **[Update entity](#update-entity)** method instead.
This operation is limited to 1000 requests per 30 minutes. For more information, see **Rate limiting**.
updateValueOptions
- the UpdateValueOptions
containing the options for the callServiceCall
with a response type of Value
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteValue(DeleteValueOptions deleteValueOptions)
Delete a value from an entity.
This operation is limited to 1000 requests per 30 minutes. For more information, see **Rate limiting**.
deleteValueOptions
- the DeleteValueOptions
containing the options for the callServiceCall
with a response type of Voidpublic com.ibm.cloud.sdk.core.http.ServiceCall<SynonymCollection> listSynonyms(ListSynonymsOptions listSynonymsOptions)
List the synonyms for an entity value.
This operation is limited to 2500 requests per 30 minutes. For more information, see **Rate limiting**.
listSynonymsOptions
- the ListSynonymsOptions
containing the options for the callServiceCall
with a response type of SynonymCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<Synonym> createSynonym(CreateSynonymOptions createSynonymOptions)
Add a new synonym to an entity value.
If you want to create multiple synonyms with a single API call, consider using the **[Update entity](#update-entity)** or **[Update entity value](#update-entity-value)** method instead.
This operation is limited to 1000 requests per 30 minutes. For more information, see **Rate limiting**.
createSynonymOptions
- the CreateSynonymOptions
containing the options for the
callServiceCall
with a response type of Synonym
public com.ibm.cloud.sdk.core.http.ServiceCall<Synonym> getSynonym(GetSynonymOptions getSynonymOptions)
Get information about a synonym of an entity value.
This operation is limited to 6000 requests per 5 minutes. For more information, see **Rate limiting**.
getSynonymOptions
- the GetSynonymOptions
containing the options for the callServiceCall
with a response type of Synonym
public com.ibm.cloud.sdk.core.http.ServiceCall<Synonym> updateSynonym(UpdateSynonymOptions updateSynonymOptions)
Update an existing entity value synonym with new text.
If you want to update multiple synonyms with a single API call, consider using the **[Update entity](#update-entity)** or **[Update entity value](#update-entity-value)** method instead.
This operation is limited to 1000 requests per 30 minutes. For more information, see **Rate limiting**.
updateSynonymOptions
- the UpdateSynonymOptions
containing the options for the
callServiceCall
with a response type of Synonym
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteSynonym(DeleteSynonymOptions deleteSynonymOptions)
Delete a synonym from an entity value.
This operation is limited to 1000 requests per 30 minutes. For more information, see **Rate limiting**.
deleteSynonymOptions
- the DeleteSynonymOptions
containing the options for the
callServiceCall
with a response type of Voidpublic com.ibm.cloud.sdk.core.http.ServiceCall<DialogNodeCollection> listDialogNodes(ListDialogNodesOptions listDialogNodesOptions)
List the dialog nodes for a workspace.
This operation is limited to 2500 requests per 30 minutes. For more information, see **Rate limiting**.
listDialogNodesOptions
- the ListDialogNodesOptions
containing the options for the
callServiceCall
with a response type of DialogNodeCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<DialogNode> createDialogNode(CreateDialogNodeOptions createDialogNodeOptions)
Create a new dialog node.
If you want to create multiple dialog nodes with a single API call, consider using the **[Update workspace](#update-workspace)** method instead.
This operation is limited to 500 requests per 30 minutes. For more information, see **Rate limiting**.
createDialogNodeOptions
- the CreateDialogNodeOptions
containing the options for
the callServiceCall
with a response type of DialogNode
public com.ibm.cloud.sdk.core.http.ServiceCall<DialogNode> getDialogNode(GetDialogNodeOptions getDialogNodeOptions)
Get information about a dialog node.
This operation is limited to 6000 requests per 5 minutes. For more information, see **Rate limiting**.
getDialogNodeOptions
- the GetDialogNodeOptions
containing the options for the
callServiceCall
with a response type of DialogNode
public com.ibm.cloud.sdk.core.http.ServiceCall<DialogNode> updateDialogNode(UpdateDialogNodeOptions updateDialogNodeOptions)
Update an existing dialog node with new or modified data.
If you want to update multiple dialog nodes with a single API call, consider using the **[Update workspace](#update-workspace)** method instead.
This operation is limited to 500 requests per 30 minutes. For more information, see **Rate limiting**.
updateDialogNodeOptions
- the UpdateDialogNodeOptions
containing the options for
the callServiceCall
with a response type of DialogNode
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteDialogNode(DeleteDialogNodeOptions deleteDialogNodeOptions)
Delete a dialog node from a workspace.
This operation is limited to 500 requests per 30 minutes. For more information, see **Rate limiting**.
deleteDialogNodeOptions
- the DeleteDialogNodeOptions
containing the options for
the callServiceCall
with a response type of Voidpublic com.ibm.cloud.sdk.core.http.ServiceCall<LogCollection> listLogs(ListLogsOptions listLogsOptions)
List the events from the log of a specific workspace.
If **cursor** is not specified, this operation is limited to 40 requests per 30 minutes. If **cursor** is specified, the limit is 120 requests per minute. For more information, see **Rate limiting**.
listLogsOptions
- the ListLogsOptions
containing the options for the callServiceCall
with a response type of LogCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<LogCollection> listAllLogs(ListAllLogsOptions listAllLogsOptions)
List the events from the logs of all workspaces in the service instance.
If **cursor** is not specified, this operation is limited to 40 requests per 30 minutes. If **cursor** is specified, the limit is 120 requests per minute. For more information, see **Rate limiting**.
listAllLogsOptions
- the ListAllLogsOptions
containing the options for the callServiceCall
with a response type of LogCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteUserData(DeleteUserDataOptions deleteUserDataOptions)
Deletes all data associated with a specified customer ID. The method has no effect if no data is associated with the customer ID.
You associate a customer ID with data by passing the `X-Watson-Metadata` header with a request that passes data. For more information about personal data and customer IDs, see [Information security](https://cloud.ibm.com/docs/assistant?topic=assistant-information-security#information-security).
This operation is limited to 4 requests per minute. For more information, see **Rate limiting**.
deleteUserDataOptions
- the DeleteUserDataOptions
containing the options for the
callServiceCall
with a response type of Void