View Source aws_wisdom (aws v0.7.14)
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 the Amazon Connect Wisdom APIs 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 association between an Amazon Connect Wisdom assistant and another resource.
Creates Wisdom content.
Creates a knowledge base.
Creates a session.
Deletes the knowledge base.
Retrieves recommendations for the specified session.
Removes the specified recommendations from the specified assistant's queue of newly available recommendations.
Performs a manual search against the specified assistant.
Searches for content in a specified knowledge base.
Get a URL to upload content to a knowledge base.
Updates the template URI of a knowledge base.
Link to this section Functions
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.create_assistant_association(Client, AssistantId, Input0, Options0)
View SourceCreates 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.
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.delete_assistant_association(Client, AssistantAssociationId, AssistantId, Input)
View Sourcedelete_assistant_association(Client, AssistantAssociationId, AssistantId, Input0, Options0)
View Sourcedelete_content(Client, ContentId, KnowledgeBaseId, Input0, Options0)
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.get_assistant(Client, AssistantId, QueryMap, HeadersMap, Options0)
View Sourceget_assistant_association(Client, AssistantAssociationId, AssistantId)
View Sourceget_assistant_association(Client, AssistantAssociationId, AssistantId, QueryMap, HeadersMap)
View Sourceget_assistant_association(Client, AssistantAssociationId, AssistantId, QueryMap, HeadersMap, Options0)
View Sourceget_content(Client, ContentId, KnowledgeBaseId, QueryMap, HeadersMap)
View Sourceget_content(Client, ContentId, KnowledgeBaseId, QueryMap, HeadersMap, Options0)
View Sourceget_content_summary(Client, ContentId, KnowledgeBaseId, QueryMap, HeadersMap)
View Sourceget_content_summary(Client, ContentId, KnowledgeBaseId, QueryMap, HeadersMap, Options0)
View Sourceget_knowledge_base(Client, KnowledgeBaseId, QueryMap, HeadersMap, Options0)
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 thewaitTimeSeconds
parameter. Short poll is the default behavior and only returns recommendations already available. To perform a manual query against an assistant, use QueryAssistant.
get_recommendations(Client, AssistantId, SessionId, QueryMap, HeadersMap)
View Sourceget_recommendations(Client, AssistantId, SessionId, QueryMap, HeadersMap, Options0)
View Sourceget_session(Client, AssistantId, SessionId, QueryMap, HeadersMap, Options0)
View Sourcelist_assistant_associations(Client, AssistantId, QueryMap, HeadersMap)
View Sourcelist_assistant_associations(Client, AssistantId, QueryMap, HeadersMap, Options0)
View Sourcelist_contents(Client, KnowledgeBaseId, QueryMap, HeadersMap, Options0)
View Sourcelist_tags_for_resource(Client, ResourceArn, QueryMap, HeadersMap, Options0)
View Sourcenotify_recommendations_received(Client, AssistantId, SessionId, Input)
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 awaitTimeSeconds
input for long-polling behavior and avoiding duplicate recommendations.
notify_recommendations_received(Client, AssistantId, SessionId, Input0, Options0)
View SourcePerforms a manual search against the specified assistant.
To retrieve recommendations for an assistant, use GetRecommendations.remove_knowledge_base_template_uri(Client, KnowledgeBaseId, Input)
View Sourceremove_knowledge_base_template_uri(Client, KnowledgeBaseId, Input0, Options0)
View SourceSearches for content in a specified knowledge base.
Can be used to get a specific content resource by its name.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.update_content(Client, ContentId, KnowledgeBaseId, Input0, Options0)
View Sourceupdate_knowledge_base_template_uri(Client, KnowledgeBaseId, Input)
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
.