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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay