/rag-langchain-aws

Builds a simple RAG chatbot that will answer questions regarding my resume.

Primary LanguageJupyter NotebookMIT LicenseMIT

Retrieval-Augmented Generation on AWS

A foray into AWS Sagemaker, Amazon Textract, LangChain, HuggingFace. and FAISS.

Project Description

The goal of this project is to build a simple RAG chatbot that will answer questions regarding my resume.

This project follows the code from
https://gitlab.com/juliensimon/huggingface-demos/-/blob/main/langchain/rag-demo-sagemaker-textract/Building%20a%20simple%20RAG%20chatbot.ipynb

Usage

Written in Python 3.9.9. Some packages used:

  • sagemaker
  • langchain
  • amazon-textract-caller
  • amazon-textract-textractor
  • sentence-transformers
  • pypdf
  • faiss-cpu

Meta

Ednalyn C. De Dios – @ecdedios

Distributed under the MIT license. See LICENSE for more information.

Contributing

  1. Fork it (https://github.com/ecdedios/rag-langchain-aws/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

2024