Construct a AssistantV2 object.
Name | Type | Attribute | Description |
---|---|---|---|
options |
UserOptions |
Options for the service. |
Release date of the API version you want to use. Specify dates in YYYY-MM-DD format. The current version is
2021-06-14
.
Identify intents and entities in multiple user utterances.
Send multiple user inputs to a dialog skill in a single request and receive information about the intents and entities recognized in each input. This method is useful for testing and comparing the performance of different skills or skill versions.
This method is available only with Enterprise with Data Isolation plans.
Name | Type | Attribute | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
BulkClassifyParams |
The parameters to send to the service. Properties
|
Create a session.
Create a new session. A session is used to send user input to a skill and receive responses. It also maintains the state of the conversation. A session persists until it is deleted, or until it times out because of inactivity. (For more information, see the documentation.
Name | Type | Attribute | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
CreateSessionParams |
The parameters to send to the service. Properties
|
Delete session.
Deletes a session explicitly before it times out. (For more information about the session inactivity timeout, see the documentation).
Name | Type | Attribute | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
DeleteSessionParams |
The parameters to send to the service. Properties
|
Delete labeled data.
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.
Note: This operation is intended only for deleting data associated with a single specific customer, not for deleting data associated with multiple customers or for any other purpose. For more information, see Labeling and deleting data in Watson Assistant.
Name | Type | Attribute | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
DeleteUserDataParams |
The parameters to send to the service. Properties
|
Disables retries.
Enable retries for unfulfilled requests.
Name | Type | Attribute | Description |
---|---|---|---|
retryOptions |
RetryOptions | Optional |
configuration for retries |
Get the instance of the authenticator set on the service.
Get the Axios instance set on the service. All requests will be made using this instance.
List log events for an assistant.
List the events from the log of an assistant.
This method requires Manager access, and is available only with Enterprise plans.
Name | Type | Attribute | Description | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
ListLogsParams |
The parameters to send to the service. Properties
|
Send user input to assistant (stateful).
Send user input to an assistant and receive a response, with conversation state (including context data) stored by Watson Assistant for the duration of the session.
Name | Type | Attribute | Description | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
MessageParams |
The parameters to send to the service. Properties
|
Send user input to assistant (stateless).
Send user input to an assistant and receive a response, with conversation state (including context data) managed by your application.
Name | Type | Attribute | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
MessageStatelessParams |
The parameters to send to the service. Properties
|
Turn request body compression on or off.
Name | Type | Attribute | Description |
---|---|---|---|
setting |
boolean |
Will turn it on if 'true', off if 'false'. |
Set the service URL to send requests to.
Name | Type | Attribute | Description |
---|---|---|---|
url |
string |
The base URL for the service. |
Generated using TypeDoc
The IBM Watson™ Assistant service combines machine learning, natural language understanding, and an integrated dialog editor to create conversation flows between your apps and your users. interfaces
The Assistant v2 API provides runtime methods your client application can use to send user input to an assistant and receive a response.
API Version: 2.0 See: https://cloud.ibm.com/docs/assistant