Amazon Kendra · Arazzo Workflow
Amazon Kendra Create Thesaurus and Query
Version 1.0.0
Load a custom synonym thesaurus from S3 into an index, wait until it is active, then run a synonym-aware query.
View Spec
View on GitHub
AIEnterprise SearchKnowledge ManagementMachine LearningNatural LanguageArazzoWorkflows
Provider
Workflows
create-thesaurus-and-query
Create a thesaurus, confirm it via ListThesauri, then run a synonym-aware query.
Creates a custom synonym thesaurus from an S3 file, lists the index thesauri to confirm it was registered, and runs a search query that benefits from the synonym expansion.
1
createThesaurus
CreateThesaurus
Create the custom synonym thesaurus from the supplied Solr-format S3 file so the index can expand queries across the defined synonyms.
2
confirmThesaurus
ListThesauri
List the index thesauri to confirm the newly created thesaurus is registered. The spec provides no DescribeThesaurus operation, so listing is used in place of a per-thesaurus status poll.
3
query
Query
Run the search query against the index so synonym expansion from the new thesaurus is applied to the results.