Serverlose KI-App mit Amazon Bedrock sortiert Einkaufslisten automatisch
Mit Smart Grocery Sorter hat ein Entwickler eine Web-App gebaut, die Einkaufslisten auf Basis von Amazon Bedrock automatisch in Kategorien ordnet. So entfällt das manuelle Sortieren vor dem Supermarktbesuch.

Have you ever created a grocery shopping list only to spend extra time organizing it into categories before heading to the supermarket?
I built Smart Grocery Sorter, a lightweight AI-powered web application that automatically organizes grocery items into meaningful categories using Amazon Bedrock and AWS serverless services.
Simply enter your grocery items, click Sort List, and let AI organize everything for you.
🔗 Live Demo: https://gs-ai-jyog.netlify.app/ 💻 GitHub Repository: https://github.com/GunnerJyo/grocery-sorter-ai
A typical grocery list might contain fruits, vegetables, dairy products, grains, meat, and household supplies, all mixed together.
Manually organizing these items takes time, especially when the same task needs to be repeated every week. I wanted to solve this problem by building an application that could:
The result was Smart Grocery Sorter: a simple application that turns an unorganized list into a structured shopping list within seconds.
I chose a serverless architecture to keep the application lightweight and minimize infrastructure management.
The application follows a straightforward request-response workflow.
The user enters one item per line in the web interface.
Apples Milk Bread Tomatoes Chicken Rice Dishwashing liquid Cheese Enter fullscreen mode Exit fullscreen mode 2. Send the request
API Gateway invokes the Python Lambda function. The function extracts the grocery items and constructs a prompt for Amazon Bedrock.
Amazon Nova Lite processes the list and organizes the items into relevant grocery categories.
Lambda formats the model's response as JSON and returns it through API Gateway.
The frontend receives the response and displays the categorized grocery items in the browser.
The entire process happens within seconds, without requiring the user to manually organize the list.
One of the main goals was to experiment with generative AI in a practical application rather than building a traditional rule-based categorization system.
Amazon Bedrock provides access to foundation models through a managed service. In this project, I used Amazon Nova Lite to interpret grocery items and determine appropriate categories.
This approach helps handle different kinds of items without maintaining a large collection of manually defined categorization rules.
For example, the model can organize items into categories such as:
The exact categories depend on the items provided and the model's response.
Building the application involved a few practical debugging and integration challenges.
Initially, my Lambda function expected requests in the format generated by API Gateway.
However, when I tested the function directly through the Lambda console, the