fastapi-genai-boilerplate

    A clean and modular FastAPI boilerplate designed to kickstart your GenAI project.

    Language: python

    Author: Christopher Dąbrowski (@thechristopher)

    0 stars · 298 views

    Files

    • README.md (markdown)
    • app ()
    • __init__.py (python)
    • apis ()
    • __init__.py (python)
    • monitor ()
    • models.py (python)
    • routers.py (python)
    • service.py (python)
    • v1 ()
    • __init__.py (python)
    • constants ()
    • messages.py (python)
    • core ()
    • cache ()
    • __init__.py (python)
    • cache.py (python)
    • local_model_setup.md (markdown)
    • logging.md (markdown)
    • config.py (python)
    • enums.py (python)
    • exceptions ()
    • __init__.py (python)
    • base.py (python)
    • handle_exception.py (python)
    • extra ()
    • __init__.py (python)
    • filter_logs.py (python)
    • ATTRIBUTION.md (markdown)
    • logger.py (python)
    • lifespan.py (python)
    • middlewares ()
    • __init__.py (python)
    • rate_limiter.py (python)
    • request.py (python)
    • responses ()
    • __init__.py (python)
    • json_response.py (python)
    • stream_response.py (python)
    • server.py (python)
    • tasks ()
    • celery_main.py (python)
    • chat ()
    • __init__.py (python)
    • summary_task.py (python)
    • docker ()
    • docker-compose-langfuse.yaml (yaml)
    • docker-compose.yml (yaml)
    • prometheus ()
    • prometheus.yml (yaml)
    • promtail ()
    • promtail-config.yml (yaml)
    • docs ()
    • cache.md (markdown)
    • docker-compose.md (markdown)
    • envs.md (markdown)
    • example.env (plaintext)
    • langfuse.md (markdown)
    • makefile.md (markdown)
    • rate_limit.md (markdown)
    • main.py (python)
    • mypy.ini (plaintext)
    • pyproject.toml (toml)
    • LICENSE (plaintext)

    Loading code snippet…