mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 07:12:08 +01:00
- Added processingScheduler.js and processingScheduler.ts to handle session transcript processing using OpenAI API. - Implemented a new scheduler (scheduler.js and schedulers.ts) for refreshing sessions every 15 minutes. - Updated Prisma migrations to add new fields for processed sessions, including questions, sentimentCategory, and summary. - Created scripts (process_sessions.mjs and process_sessions.ts) for manual processing of unprocessed sessions. - Enhanced server.js and server.mjs to initialize schedulers on server start.
14 lines
446 B
Plaintext
14 lines
446 B
Plaintext
# Development environment settings
|
|
# This file ensures NextAuth always has necessary environment variables in development
|
|
|
|
# NextAuth.js configuration
|
|
NEXTAUTH_URL=http://192.168.1.2:3000
|
|
NEXTAUTH_SECRET=this_is_a_fixed_secret_for_development_only
|
|
NODE_ENV=development
|
|
|
|
# OpenAI API key for session processing
|
|
# Add your API key here: OPENAI_API_KEY=sk-...
|
|
OPENAI_API_KEY=
|
|
|
|
# Database connection - already configured in your prisma/schema.prisma
|