DEV Community

amlan
amlan

Posted on • Edited on

2

Talk to My Document: A Serverless RAG approach using Huggingface, Amazon Lex and Amazon DynamoDB

In this Post I demonstrate a RAG approach using Amazon Lex and DynamoDB and Hugging Face llm. This approach enables the use of a Lex bot and LLM to answer questions based on knowledge context from a document. This approach uses LlamaIndex for the whole RAG pipeline.
I have uploaded the whole code for the solution to Gumroad if anyone is interested to follow this.

💡 Post
https://amlana21.medium.com/talk-to-my-document-a-serverless-rag-approach-using-huggingface-amazon-lex-and-amazon-dynamodb-9361da3694fc

🗒 Full code
https://achaklan.gumroad.com/l/serverlessrag

📃 Demo of the Doc ingestion
https://youtu.be/G79vO7Lavww

🤖 Demo of the Lex Chatbot
https://youtu.be/Q7TtIM1jRmM

Top comments (0)

Quickstart image

Django MongoDB Backend Quickstart! A Step-by-Step Tutorial

Get up and running with the new Django MongoDB Backend Python library! This tutorial covers creating a Django application, connecting it to MongoDB Atlas, performing CRUD operations, and configuring the Django admin for MongoDB.

Watch full video →

👋 Kindness is contagious

Dive into this insightful write-up, celebrated within the collaborative DEV Community. Developers at any stage are invited to contribute and elevate our shared skills.

A simple "thank you" can boost someone’s spirits—leave your kudos in the comments!

On DEV, exchanging ideas fuels progress and deepens our connections. If this post helped you, a brief note of thanks goes a long way.

Okay