Niranjan Cholendiran
Update README.md
9b742bb unverified
|
raw
history blame
1.7 kB
metadata
title: CRAB
emoji: 🦀
colorFrom: red
colorTo: purple
sdk: streamlit
sdk_version: 1.32.2
app_file: app.py
pinned: false

CRAB- Colorado Road Assistant Bot

Alt text

CRAB is a chat assistant designed to tackle any queries straight from Colorado’s driver handbook. Powered by cutting-edge technology, CRAB utilizes Google’s Gemini language model, Pinecone vector database, and is wrapped with LangChain to provide specific and accurate answers to your road rule questions.

Find more about CRAB in this LinkedIn post and see CRAB in action here.

Architecture RAG

Installation

  1. Install Python Packages:

Use the following command to install all the required Python packages:

pip install -r requirements.txt
  1. Set Up Environment Variables:

Create a .env file in the root directory and add the following secret codes:

GOOGLE_API_KEY=your_google_api_key
PINECONE_API_KEY=your_pinecone_api_key
PINECONE_ENV=your_pinecone_environment
PINECONE_INDEX_NAME=your_pinecone_index_name
PINECONE_HOST=your_pinecone_host
  1. Create Pinecone Index:

Execute the PineconeDataPrep.ipynb notebook to create the Pinecone index.

  1. Run the application

Run the Streamlit application:

streamlit run app.py