Wisdom
import { Wisdom } from "https://aws-api-bqtgftz736ft.deno.dev/v0.5/services/wisdom.ts?docs=full";§Constructors
§Methods
Creates an Amazon Connect Wisdom assistant.
Creates an association between an Amazon Connect Wisdom assistant and another resource. Currently, the only supported association is with a knowledge base. An assistant can have only a single association.
Creates Wisdom content. Before to calling this API, use StartContentUpload to upload an asset.
Creates a knowledge base.
Note:
When using this API, you cannot reuse Amazon AppIntegrations DataIntegrations with external knowledge bases such as Salesforce and ServiceNow.
If you do, you'll get an InvalidRequestException error.
For example, you're programmatically managing your external knowledge base, and you want to add or remove one of the fields that is being ingested from Salesforce.
Do the following:
- Call DeleteKnowledgeBase.
- Call DeleteDataIntegration.
- Call CreateDataIntegration to recreate the DataIntegration or a create different one.
- Call CreateKnowledgeBase.
Creates a Wisdom quick response.
Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Wisdom session for each contact on which Wisdom is enabled.
Deletes an assistant association.
Deletes the knowledge base.
Note: When you use this API to delete an external knowledge base such as Salesforce or ServiceNow, you must also delete the Amazon AppIntegrations DataIntegration. This is because you can't reuse the DataIntegration after it's been associated with an external knowledge base. However, you can delete and recreate it. See DeleteDataIntegration and CreateDataIntegration in the Amazon AppIntegrations API Reference.
Deletes a quick response.
Retrieves information about an assistant.
Retrieves information about an assistant association.
Retrieves summary information about the content.
Retrieves the started import job.
Retrieves information about the knowledge base.
Retrieves the quick response.
Retrieves recommendations for the specified session.
To avoid retrieving the same recommendations in subsequent calls, use NotifyRecommendationsReceived.
This API supports long-polling behavior with the waitTimeSeconds parameter.
Short poll is the default behavior and only returns recommendations already available.
To perform a manual query against an assistant, use QueryAssistant.
Lists information about assistant associations.
Lists information about assistants.
Lists the content.
Lists information about import jobs.
Lists the knowledge bases.
Lists information about quick response.
Lists the tags for the specified resource.
Removes the specified recommendations from the specified assistant's queue of newly available recommendations.
You can use this API in conjunction with GetRecommendations and a waitTimeSeconds input for long-polling behavior and avoiding duplicate recommendations.
Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.
Removes a URI template from a knowledge base.
Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.
Searches existing Wisdom quick responses in a Wisdom knowledge base.
Searches for sessions.
Get a URL to upload content to a knowledge base. To upload content, first make a PUT request to the returned URL with your file, making sure to include the required headers. Then use CreateContent to finalize the content creation process or UpdateContent to modify an existing resource. You can only upload content to a knowledge base of type CUSTOM.
Start an asynchronous job to import Wisdom resources from an uploaded source file. Before calling this API, use StartContentUpload to upload an asset that contains the resource data.
- For importing Wisdom quick responses, you need to upload a csv file including the quick responses. For information about how to format the csv file for importing quick responses, see Import quick responses.
Updates information about the content.
Updates the template URI of a knowledge base.
This is only supported for knowledge bases of type EXTERNAL.
Include a single variable in ${variable} format; this interpolated by Wisdom using ingested content.
For example, if you ingest a Salesforce article, it has an Id value, and you can set the template URI to https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*${Id}*\/view.
Updates an existing Wisdom quick response.