Skip to content

jessieweiyi/kendra-query-api-example

Repository files navigation

Kendra Query API Example

Amazon Kendra is a highly accurate and easy to use enterprise search service that’s powered by machine learning. This example demostrates how to build a query api endpoint for Amazon Kendra.

The stack uses

Prerequisites

Set up

npm install

And you need to update the kendra index configuration in the ./bin/kendra-query-api.ts file.

Deploy

cdk bootstrap
cdk deploy

Usage

Now you can query the kendra index by sending get request to

https://<api_gateway_url>/?queryText=<queryText>&pageNumber=1

UI Example

You can use kendra-ui-example as a starting point to build a UI interacting with the query api endpoint.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published