Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

yankeexe/llm-rag-with-reranker-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

10 Commits

Repository files navigation

πŸ“‘ RAG with Cross-Encoders Re-ranking Demo Application

Demo LLM app with RAG for the YouTube video.

🚨 NOTE: Requires Python > 3.10 with SQLite > 3.35

Watch the video πŸ‘‡


Part II: Watch Optimizing RAG with Semantic Cache ⚑️

πŸ™ Codebase

πŸ€– Prerequisites

πŸ”¨ Setting up locally

Create virtualenv and install dependencies.

make setup

⚑️ Running the application

make run

✨ Linters and Formatters

Check for linting rule violations:

make check

Auto-fix linting violations:

make fix

πŸ€Έβ€β™€οΈ Getting Help

make
# OR
make help

πŸ”§ Common Issues and Fixes

  • If you run into any errors with incompatible version of ChromaDB/Sqlite3, refer to this solution.

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /