Pankaj10346's picture
Upload README.md with huggingface_hub
e855fd6 verified
|
Raw History Blame Contribute Delete
1.13 kB
---
title: Predii-RAG-Assignment
emoji: 🤖
colorFrom: blue
colorTo: green
sdk: docker
app_port: 7860
pinned: false
license: mit
short_description: Ford F-150 Service Manual RAG System
---
# Ford F-150 Service Manual RAG System
A production-ready Retrieval-Augmented Generation (RAG) system for querying Ford F-150 service manual information.
## Features
- **Query Rewriting**: Step-back prompting for better retrieval
- **Hybrid Search**: Dense (vector) + Sparse (BM25) retrieval
- **Cohere Reranking**: Precision ranking of results
- **Dynamic Chunk Selection**: 1-20 chunks based on query complexity
- **MMR Diversification**: Reduced redundancy in results
- **Faithfulness Evaluation**: Quality assurance using LLM-as-judge
- **Comprehensive Audit Logging**: Track all queries and responses
## Usage
Simply type your question about Ford F-150 suspension and repair procedures in the interface above.
## Technology Stack
- **LLM**: OpenAI GPT-4o-mini
- **Embeddings**: OpenAI text-embedding-3-large
- **Vector DB**: ChromaDB
- **Reranking**: Cohere rerank-english-v3.0
- **Web Framework**: Gradio
- **Deployment**: Docker