Skip to content

Commit 791be74

Browse files
committed
feat: Add natural language analytics dashboard with text-to-SQL
Add an analytics feature where property owners can ask questions about their booking data in natural language. The system uses an LLM to generate SQL queries that are executed against a SQLite database. New files: - src/routes/analytics.ts - Analytics endpoint with LLM-based SQL generation - src/scripts/init-analytics-db.ts - Database initialization script Dependencies: - better-sqlite3 for SQLite database access
1 parent 96fd2f4 commit 791be74

6 files changed

Lines changed: 631 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ node_modules/
44
.DS_Store
55
dist/
66

7+
src/data/*.db

0 commit comments

Comments
 (0)