/rag-bedrock-titan

Implementing RAG with Amazon Bedrock, Amazon Titan, and Amazon OpenSearch Serverless

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

Retrieval Augmented Generation for a Chatbot

Implementing RAG with Amazon Bedrock, Amazon Titan, and Amazon OpenSearch Serverless

Make sure you have an active AWS subscription and have access to Titan in us-west-2 region.

Create a Python virtual environment

python -m venv venv

source venv/bin/activate

Install the dependencies

pip install -r requirements.txt

Launch Jupyter Notebook

jupyter notebook

To run Gradio app, launch the script

python chatbot.py