Skip to content

Latest commit

 

History

History
69 lines (40 loc) · 990 Bytes

File metadata and controls

69 lines (40 loc) · 990 Bytes

AI-Rag-WebApp

A fully functional web app for RAG chatbot with AWS bedrock

AI Rag Architecture

image

STEPS:

# Clone the repository
  Project repo: https://github.com/
# STEP 01- Create a virtual environment after opening the repository
python -m venv venv

source venv/Scripts/activate
# STEP 02- install the requirements
  pip install -r requirements.txt
# Run the following command

python -m uvicorn main:app --reload

Now,

open up localhost:

Techstack Used:

  • Python
  • AWS S3
  • AWS IAM
  • AWS bedrock

1. Login to AWS console.

2. Create IAM user for deployment

3. Create s3 bucket

3. Create the Knowledge base and Vector store, choose the AI model from AWS Bedrock, and sync the S3 bucket with the knowledge base

# Run the following command

python -m uvicorn web_app:app --reload