Skip to content

Latest commit

 

History

History
91 lines (62 loc) · 3.46 KB

README.md

File metadata and controls

91 lines (62 loc) · 3.46 KB

RAGmap 🗺️🔍

Overview

RAGmap is a simple RAG visualization tool for exploring document chunks and queries in embedding space.

Inspired by DeepLearning.ai's short course on Advanced Retrieval for AI with Chroma and Gabriel Chua's award-winning RAGxplorer.

What's inside?

RAGmap supports the following features:

☝️⚠️ Important notice: As of January 2024, chromadb's AmazonBedrockEmbeddingFunction only works with Titan models. Feel free to upvote this PR to add support for Cohere Embed models.

How to use

Prerequisites

Enable access to the embedding (Titan Embeddings, Cohere Embed) and text (Anthropic Claude) models via Amazon Bedrock.

For more information on how to request model access, please refer to the Amazon Bedrock User Guide (Set up > Model access)

Option 1 💻

  1. Install dependencies

    pip install -r requirements.txt
  2. Run the application

    # ChromaDB
    streamlit run app.py
    
    # LanceDB (NEW!) 🧪
    streamlit run app_lancedb.py
  3. Point your browser to http://localhost:8501

Option 2 🐳

  1. Run the following command to start the application

    docker-compose up
  2. Once the service is up and running, head over to http://localhost:8501

References