feat: Add NaliiaBot API

This commit is contained in:
2026-02-09 15:59:54 -05:00
parent 69b0dad14d
commit adda2a3e5e
11 changed files with 1087 additions and 182 deletions

18
src/naliiabotapi/main.py Normal file
View File

@@ -0,0 +1,18 @@
from fastapi import FastAPI
from src.naliiabotapi.api.v1.endpoints.chat import router as chat_router
app = FastAPI(
title="NaliiaBot API",
description="API for NaliiaBot, a chatbot that provides customer service and related topics.",
version="1.0.0"
)
app.include_router(chat_router)
@app.get("/")
def read_root():
return {"Hello": "World"}
@app.get("/health")
def health_check():
return {"status": "ok"}