View Source AWS.Wisdom (aws-elixir v0.13.3)
Amazon Connect Wisdom delivers agents the information they need to solve customer issues as they're actively speaking with customers.
Agents can search across connected repositories from within their agent desktop to find answers quickly. Use Amazon Connect Wisdom to create an assistant and a knowledge base, for example, or manage content by uploading custom files.
Link to this section Summary
Functions
Creates an Amazon Connect Wisdom assistant.
Creates an association between an Amazon Connect Wisdom assistant and another resource.
Creates Wisdom content.
Creates a knowledge base.
Creates a session.
Deletes an assistant.
Deletes an assistant association.
Deletes the content.
Deletes the knowledge base.
Retrieves information about an assistant.
Retrieves information about an assistant association.
Retrieves content, including a pre-signed URL to download the content.
Retrieves summary information about the content.
Retrieves information about the knowledge base.
Retrieves recommendations for the specified session.
Retrieves information for a specified session.
Lists information about assistant associations.
Lists information about assistants.
Lists the content.
Lists the knowledge bases.
Lists the tags for the specified resource.
Removes the specified recommendations from the specified assistant's queue of newly available recommendations.
Performs a manual search against the specified assistant.
Removes a URI template from a knowledge base.
Searches for content in a specified knowledge base.
Searches for sessions.
Get a URL to upload content to a knowledge base.
Adds the specified tags to the specified resource.
Removes the specified tags from the specified resource.
Updates information about the content.
Updates the template URI of a knowledge base.
Link to this section Functions
Creates an Amazon Connect Wisdom assistant.
create_assistant_association(client, assistant_id, input, options \\ [])
View SourceCreates 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.
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 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.
delete_assistant_association(client, assistant_association_id, assistant_id, input, options \\ [])
View SourceDeletes an assistant association.
delete_content(client, content_id, knowledge_base_id, input, options \\ [])
View SourceDeletes the content.
delete_knowledge_base(client, knowledge_base_id, input, options \\ [])
View SourceDeletes the knowledge base.
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.
Retrieves information about an assistant.
get_assistant_association(client, assistant_association_id, assistant_id, options \\ [])
View SourceRetrieves information about an assistant association.
Retrieves content, including a pre-signed URL to download the content.
get_content_summary(client, content_id, knowledge_base_id, options \\ [])
View SourceRetrieves summary information about the content.
Retrieves information about the knowledge base.
get_recommendations(client, assistant_id, session_id, max_results \\ nil, wait_time_seconds \\ nil, options \\ [])
View SourceRetrieves 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.
Retrieves information for a specified session.
list_assistant_associations(client, assistant_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceLists information about assistant associations.
list_assistants(client, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceLists information about assistants.
list_contents(client, knowledge_base_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceLists the content.
list_knowledge_bases(client, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceLists the knowledge bases.
Lists the tags for the specified resource.
notify_recommendations_received(client, assistant_id, session_id, input, options \\ [])
View SourceRemoves 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.
remove_knowledge_base_template_uri(client, knowledge_base_id, input, options \\ [])
View SourceRemoves 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 for sessions.
start_content_upload(client, knowledge_base_id, input, options \\ [])
View SourceGet 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.
Adds the specified tags to the specified resource.
Removes the specified tags from the specified resource.
update_content(client, content_id, knowledge_base_id, input, options \\ [])
View SourceUpdates information about the content.
update_knowledge_base_template_uri(client, knowledge_base_id, input, options \\ [])
View SourceUpdates 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
.