public class Assistant
extends com.ibm.cloud.sdk.core.service.BaseService
| Constructor and Description |
|---|
Assistant(java.lang.String versionDate)
Constructs a new `Assistant` client.
|
Assistant(java.lang.String versionDate,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs a new `Assistant` client with the specified Authenticator.
|
| 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, createServiceCall, getAuthenticator, getClient, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, processServiceCall, setAuthentication, setClient, setDefaultHeaders, setDefaultHeaders, setEndPoint, setServiceUrl, toStringpublic 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 com.ibm.cloud.sdk.core.http.ServiceCall<MessageResponse> message(MessageOptions messageOptions)
messageOptions - the MessageOptions containing the options for the callServiceCall with a response type of MessageResponsepublic com.ibm.cloud.sdk.core.http.ServiceCall<WorkspaceCollection> listWorkspaces(ListWorkspacesOptions listWorkspacesOptions)
listWorkspacesOptions - the ListWorkspacesOptions containing the options for the callServiceCall with a response type of WorkspaceCollectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<WorkspaceCollection> listWorkspaces()
ServiceCall with a response type of WorkspaceCollectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> createWorkspace(CreateWorkspaceOptions createWorkspaceOptions)
createWorkspaceOptions - the CreateWorkspaceOptions containing the options for the callServiceCall with a response type of Workspacepublic com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> createWorkspace()
ServiceCall with a response type of Workspacepublic com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> getWorkspace(GetWorkspaceOptions getWorkspaceOptions)
getWorkspaceOptions - the GetWorkspaceOptions containing the options for the callServiceCall with a response type of Workspacepublic com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> updateWorkspace(UpdateWorkspaceOptions updateWorkspaceOptions)
updateWorkspaceOptions - the UpdateWorkspaceOptions containing the options for the callServiceCall with a response type of Workspacepublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteWorkspace(DeleteWorkspaceOptions deleteWorkspaceOptions)
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)
listIntentsOptions - the ListIntentsOptions containing the options for the callServiceCall with a response type of IntentCollectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<Intent> createIntent(CreateIntentOptions createIntentOptions)
createIntentOptions - the CreateIntentOptions containing the options for the callServiceCall with a response type of Intentpublic com.ibm.cloud.sdk.core.http.ServiceCall<Intent> getIntent(GetIntentOptions getIntentOptions)
getIntentOptions - the GetIntentOptions containing the options for the callServiceCall with a response type of Intentpublic com.ibm.cloud.sdk.core.http.ServiceCall<Intent> updateIntent(UpdateIntentOptions updateIntentOptions)
updateIntentOptions - the UpdateIntentOptions containing the options for the callServiceCall with a response type of Intentpublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteIntent(DeleteIntentOptions deleteIntentOptions)
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)
listExamplesOptions - the ListExamplesOptions containing the options for the callServiceCall with a response type of ExampleCollectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<Example> createExample(CreateExampleOptions createExampleOptions)
createExampleOptions - the CreateExampleOptions containing the options for the callServiceCall with a response type of Examplepublic com.ibm.cloud.sdk.core.http.ServiceCall<Example> getExample(GetExampleOptions getExampleOptions)
getExampleOptions - the GetExampleOptions containing the options for the callServiceCall with a response type of Examplepublic com.ibm.cloud.sdk.core.http.ServiceCall<Example> updateExample(UpdateExampleOptions updateExampleOptions)
updateExampleOptions - the UpdateExampleOptions containing the options for the callServiceCall with a response type of Examplepublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteExample(DeleteExampleOptions deleteExampleOptions)
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)
listCounterexamplesOptions - the ListCounterexamplesOptions containing the options for the callServiceCall with a response type of CounterexampleCollectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<Counterexample> createCounterexample(CreateCounterexampleOptions createCounterexampleOptions)
createCounterexampleOptions - the CreateCounterexampleOptions containing the options for the callServiceCall with a response type of Counterexamplepublic com.ibm.cloud.sdk.core.http.ServiceCall<Counterexample> getCounterexample(GetCounterexampleOptions getCounterexampleOptions)
getCounterexampleOptions - the GetCounterexampleOptions containing the options for the callServiceCall with a response type of Counterexamplepublic com.ibm.cloud.sdk.core.http.ServiceCall<Counterexample> updateCounterexample(UpdateCounterexampleOptions updateCounterexampleOptions)
updateCounterexampleOptions - the UpdateCounterexampleOptions containing the options for the callServiceCall with a response type of Counterexamplepublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteCounterexample(DeleteCounterexampleOptions deleteCounterexampleOptions)
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)
listEntitiesOptions - the ListEntitiesOptions containing the options for the callServiceCall with a response type of EntityCollectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<Entity> createEntity(CreateEntityOptions createEntityOptions)
createEntityOptions - the CreateEntityOptions containing the options for the callServiceCall with a response type of Entitypublic com.ibm.cloud.sdk.core.http.ServiceCall<Entity> getEntity(GetEntityOptions getEntityOptions)
getEntityOptions - the GetEntityOptions containing the options for the callServiceCall with a response type of Entitypublic com.ibm.cloud.sdk.core.http.ServiceCall<Entity> updateEntity(UpdateEntityOptions updateEntityOptions)
updateEntityOptions - the UpdateEntityOptions containing the options for the callServiceCall with a response type of Entitypublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteEntity(DeleteEntityOptions deleteEntityOptions)
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)
listMentionsOptions - the ListMentionsOptions containing the options for the callServiceCall with a response type of EntityMentionCollectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<ValueCollection> listValues(ListValuesOptions listValuesOptions)
listValuesOptions - the ListValuesOptions containing the options for the callServiceCall with a response type of ValueCollectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<Value> createValue(CreateValueOptions createValueOptions)
createValueOptions - the CreateValueOptions containing the options for the callServiceCall with a response type of Valuepublic com.ibm.cloud.sdk.core.http.ServiceCall<Value> getValue(GetValueOptions getValueOptions)
getValueOptions - the GetValueOptions containing the options for the callServiceCall with a response type of Valuepublic com.ibm.cloud.sdk.core.http.ServiceCall<Value> updateValue(UpdateValueOptions updateValueOptions)
updateValueOptions - the UpdateValueOptions containing the options for the callServiceCall with a response type of Valuepublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteValue(DeleteValueOptions deleteValueOptions)
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)
listSynonymsOptions - the ListSynonymsOptions containing the options for the callServiceCall with a response type of SynonymCollectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<Synonym> createSynonym(CreateSynonymOptions createSynonymOptions)
createSynonymOptions - the CreateSynonymOptions containing the options for the callServiceCall with a response type of Synonympublic com.ibm.cloud.sdk.core.http.ServiceCall<Synonym> getSynonym(GetSynonymOptions getSynonymOptions)
getSynonymOptions - the GetSynonymOptions containing the options for the callServiceCall with a response type of Synonympublic com.ibm.cloud.sdk.core.http.ServiceCall<Synonym> updateSynonym(UpdateSynonymOptions updateSynonymOptions)
updateSynonymOptions - the UpdateSynonymOptions containing the options for the callServiceCall with a response type of Synonympublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteSynonym(DeleteSynonymOptions deleteSynonymOptions)
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)
listDialogNodesOptions - the ListDialogNodesOptions containing the options for the callServiceCall with a response type of DialogNodeCollectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<DialogNode> createDialogNode(CreateDialogNodeOptions createDialogNodeOptions)
createDialogNodeOptions - the CreateDialogNodeOptions containing the options for the callServiceCall with a response type of DialogNodepublic com.ibm.cloud.sdk.core.http.ServiceCall<DialogNode> getDialogNode(GetDialogNodeOptions getDialogNodeOptions)
getDialogNodeOptions - the GetDialogNodeOptions containing the options for the callServiceCall with a response type of DialogNodepublic com.ibm.cloud.sdk.core.http.ServiceCall<DialogNode> updateDialogNode(UpdateDialogNodeOptions updateDialogNodeOptions)
updateDialogNodeOptions - the UpdateDialogNodeOptions containing the options for the callServiceCall with a response type of DialogNodepublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteDialogNode(DeleteDialogNodeOptions deleteDialogNodeOptions)
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)
listLogsOptions - the ListLogsOptions containing the options for the callServiceCall with a response type of LogCollectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<LogCollection> listAllLogs(ListAllLogsOptions listAllLogsOptions)
listAllLogsOptions - the ListAllLogsOptions containing the options for the callServiceCall with a response type of LogCollectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteUserData(DeleteUserDataOptions deleteUserDataOptions)
deleteUserDataOptions - the DeleteUserDataOptions containing the options for the callServiceCall with a response type of Void