Upload app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
"""
|
| 2 |
LibBee - Main Application Entry Point
|
| 3 |
-
Phase
|
| 4 |
"""
|
| 5 |
import logging
|
| 6 |
from contextlib import asynccontextmanager
|
|
@@ -42,7 +42,7 @@ async def lifespan(app: FastAPI):
|
|
| 42 |
app = FastAPI(
|
| 43 |
title="LibBee - KU Library AI",
|
| 44 |
description="Khalifa University Library AI Assistant",
|
| 45 |
-
version="2.
|
| 46 |
lifespan=lifespan,
|
| 47 |
)
|
| 48 |
|
|
@@ -72,7 +72,7 @@ app.include_router(feedback.router, prefix="/feedback", tags=["Feedback"])
|
|
| 72 |
def health_check():
|
| 73 |
return {
|
| 74 |
"status": "ok",
|
| 75 |
-
"version": "2.
|
| 76 |
"service": "LibBee KU Library AI",
|
| 77 |
"rag_ready": rag_service.is_ready(),
|
| 78 |
"endpoints": ["/agent", "/search", "/admin", "/feedback"],
|
|
|
|
| 1 |
"""
|
| 2 |
LibBee - Main Application Entry Point
|
| 3 |
+
Phase 2: research snapshot + smarter AI-source handoff
|
| 4 |
"""
|
| 5 |
import logging
|
| 6 |
from contextlib import asynccontextmanager
|
|
|
|
| 42 |
app = FastAPI(
|
| 43 |
title="LibBee - KU Library AI",
|
| 44 |
description="Khalifa University Library AI Assistant",
|
| 45 |
+
version="2.2.0",
|
| 46 |
lifespan=lifespan,
|
| 47 |
)
|
| 48 |
|
|
|
|
| 72 |
def health_check():
|
| 73 |
return {
|
| 74 |
"status": "ok",
|
| 75 |
+
"version": "2.2.0",
|
| 76 |
"service": "LibBee KU Library AI",
|
| 77 |
"rag_ready": rag_service.is_ready(),
|
| 78 |
"endpoints": ["/agent", "/search", "/admin", "/feedback"],
|