Files
AmazingDoc/app/main.py
2025-08-11 14:20:56 +02:00

20 lines
561 B
Python

# app/main.py
import uvicorn
from fastapi import FastAPI
from .routers import documents
app = FastAPI(
title="Hybrid Mode Document Processing AI Agent",
description="An AI application framework for automatic document classification, extraction, and processing.",
version="0.9.0",
)
app.include_router(documents.router)
@app.get("/", tags=["Root"])
async def read_root():
return {"message": "Welcome to the Document Processing AI Agent API!"}
if __name__ == "__main__":
uvicorn.run("app.main:app", host="0.0.0.0", port=8000, reload=True)