INNER CODE UNIT · Python

get_rag_pipeline

ai-infra-curriculum/ai-infra-engineer-learning · projects/project-103-llm-deployment/src/api/main.py:190

def get_rag_pipeline() -> RAGPipeline:
    """
    Dependency to get RAG pipeline instance.

    Returns:
        RAG pipeline

    TODO: Return RAG pipeline from app state
    """
    # TODO: return app.state.rag
    pass


# ============================================================================
# API Endpoints
# ============================================================================

@app.get("/", response_model=dict)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…