Generalize from health-specific to universal personal assistant

The app manages multiple life areas (health, finance, personal, work),
not just health. Updated all health-specific language throughout:

Backend:
- Default system prompt: general personal assistant (not health-only)
- AI tool descriptions: generic (not health records/medications)
- Memory categories: health, finance, personal, work, document_summary, other
  (replaces condition, medication, allergy, vital)
- PDF template: "Prepared for" (not "Patient"), "Key Information" (not "Health Profile")
- Renamed generate_health_pdf -> generate_pdf_report, health_report.html -> report.html
- Renamed run_daily_health_review -> run_daily_review
- Context assembly: "User Profile" (not "Health Profile")
- OpenAPI: generic descriptions

Frontend:
- Dashboard subtitle: "Your personal AI assistant"
- Memory categories: Health, Finance, Personal, Work
- Document types: Report, Contract, Receipt, Certificate (not lab_result, etc.)
- Updated en + ru translations throughout

Documentation:
- README: general personal assistant description
- Removed health-only feature descriptions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-19 15:15:39 +03:00
parent 03dc42e74a
commit b0790d719c
14 changed files with 63 additions and 64 deletions

View File

@@ -32,7 +32,7 @@ async def lifespan(app: FastAPI):
def create_app() -> FastAPI:
app = FastAPI(
title="AI Assistant API",
description="Personal AI health assistant with document management, chat, and notifications.",
description="Personal AI assistant with document management, chat, memory, and notifications.",
version="0.1.0",
lifespan=lifespan,
docs_url="/api/docs" if settings.DOCS_ENABLED else None,
@@ -41,8 +41,8 @@ def create_app() -> FastAPI:
openapi_tags=[
{"name": "auth", "description": "Authentication and registration"},
{"name": "chats", "description": "AI chat conversations"},
{"name": "documents", "description": "Health document management"},
{"name": "memory", "description": "Health memory entries"},
{"name": "documents", "description": "Document management"},
{"name": "memory", "description": "Memory entries"},
{"name": "skills", "description": "AI specialist skills"},
{"name": "notifications", "description": "User notifications"},
{"name": "pdf", "description": "PDF report generation"},