# Obstetrics RAG Benchmark ## Docs - [Model Provider](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/api/common/model-provider.md): Model provider abstraction for LLMs and SLMs with unified interface for OpenAI and HuggingFace models - [Pricing](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/api/common/pricing.md): Centralized pricing resolution for LLM and SLM inference costs with support for token-based and endpoint-based billing - [Usage Metrics](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/api/common/usage-metrics.md): Provider-agnostic token usage and cost extraction helpers for LLM response metadata - [Utils](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/api/common/utils.md): Shared utility functions for RAG evaluation and analysis export - [RAGAS Evaluator](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/api/evaluation/ragas-evaluator.md): Professional evaluation module using RAGAS fundamental metrics for RAG system assessment - [Hybrid RAG](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/api/rag/hybrid.md): Hybrid RAG pipeline combining BM25 lexical search and semantic search using EnsembleRetriever - [Hybrid RAG with RRF](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/api/rag/hybrid-rrf.md): Advanced hybrid RAG using Reciprocal Rank Fusion and MMR for diversity - [HyDE RAG](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/api/rag/hyde.md): RAG pipeline using Hypothetical Document Embeddings for improved retrieval - [PageIndex RAG](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/api/rag/pageindex.md): RAG pipeline using PageIndex retrieval API for document search - [Multi-Query Rewriter RAG](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/api/rag/rewriter.md): RAG pipeline using multi-query rewriting for enhanced retrieval coverage - [Simple Semantic RAG](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/api/rag/simple.md): Basic RAG pipeline using semantic search with ChromaDB - [create_embeddings.py](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/api/scripts/create-embeddings.md): Generate and store OpenAI embeddings for document chunks in ChromaDB - [run_evaluation.py](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/api/scripts/run-evaluation.md): CLI tool for running RAGAS evaluations on RAG systems with multiple models and configurations - [Hybrid RAG (BM25 + Semantic)](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/architectures/hybrid.md): Combines lexical BM25 search with semantic search using LangChain's EnsembleRetriever for improved retrieval - [Hybrid RAG with RRF](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/architectures/hybrid-rrf.md): Advanced hybrid retrieval using Reciprocal Rank Fusion and MMR diversification for optimal document selection - [HyDE (Hypothetical Document Embeddings)](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/architectures/hyde.md): Advanced RAG strategy that generates hypothetical answers and retrieves documents similar to them - [PageIndex RAG](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/architectures/pageindex.md): Cloud-native RAG using PageIndex's managed retrieval API for simplified document search - [Multi-Query Rewriter RAG](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/architectures/query-rewriter.md): Advanced RAG architecture that generates multiple query variations to improve retrieval coverage and diversity - [Simple Semantic RAG](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/architectures/simple-semantic.md): A basic RAG pipeline using semantic search with ChromaDB for medical document retrieval - [Data Pipeline](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/concepts/data-pipeline.md): From raw medical documents to searchable embeddings - [Evaluation Framework](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/concepts/evaluation-framework.md): Understanding RAGAS metrics for RAG system assessment - [Core Concepts Overview](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/concepts/overview.md): Understanding RAG systems for medical question-answering in obstetrics - [RAG Architectures](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/concepts/rag-architectures.md): Detailed comparison of 6 retrieval strategies for medical question-answering - [Benchmarking](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/evaluation/benchmarking.md): Best practices for comprehensive RAG architecture benchmarking - [Interpreting Results](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/evaluation/interpreting-results.md): Understanding and analyzing RAGAS evaluation results - [RAGAS Metrics](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/evaluation/ragas-metrics.md): Understanding RAGAS evaluation metrics for RAG systems - [Running Evaluations](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/evaluation/running-evaluations.md): Step-by-step guide to running RAGAS evaluations on RAG systems - [Adding RAG Architectures](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/guides/adding-rag-architectures.md): Step-by-step guide to implementing and evaluating new RAG strategies - [Customizing Evaluation Metrics](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/guides/customizing-metrics.md): Extend RAGAS evaluation with custom metrics for domain-specific assessment - [Extending the Research](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/guides/extending-research.md): Guide to extending the Obstetrics RAG Benchmark with new capabilities - [Integrating New Models](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/guides/integrating-models.md): Add and evaluate new language models in the benchmark - [Installation](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/installation.md): Complete installation guide for the Obstetrics RAG Benchmark - [Introduction](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/introduction.md): A comprehensive research project comparing RAG techniques for medical question-answering in obstetrics - [Quickstart](https://mintlify.wiki/JhonHander/obstetrics-rag-benchmark/quickstart.md): Get up and running with your first RAG evaluation in under 5 minutes