Skip to content
/ RAGmap Public

A simple Streamlit application to visualize document chunks and queries in embedding space ๐Ÿ—บ๏ธ๐Ÿ”

License

Notifications You must be signed in to change notification settings

JGalego/RAGmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

38 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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:

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
    streamlit run app_lancedb.py
    
    # 5-day GenAI Edition (NEW!) ๐Ÿงช
    streamlit run app_5dgai.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

About

A simple Streamlit application to visualize document chunks and queries in embedding space ๐Ÿ—บ๏ธ๐Ÿ”

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published