| E2.S1 | Prompt engineering | System prompt + user prompt templates, evidence-based mapping
| E2.S2 | Generate endpoint | `POST /api/behandelplan/generate` retourneert JSON, < 8 sec response | E2.S3 | AI event logging | Calls loggen naar `ai_events` tabel new file: app/api/behandelplan/generate/route.ts modified: docs/specs/behandelplan/bouwplan-behandelplan-v1.md modified: docs/templates/bouwplan_template.md new file: lib/ai/behandelplan-prompt.ts new file: lib/ai/intervention-mapping.ts modified: lib/supabase/database.types.ts
This commit is contained in:
@@ -655,6 +655,7 @@ export type Database = {
|
||||
end_date: string | null
|
||||
id: string
|
||||
kindcheck_data: Json | null
|
||||
life_domains: Json | null
|
||||
notes: string | null
|
||||
patient_id: string
|
||||
psychologist_id: string | null
|
||||
@@ -670,6 +671,7 @@ export type Database = {
|
||||
end_date?: string | null
|
||||
id?: string
|
||||
kindcheck_data?: Json | null
|
||||
life_domains?: Json | null
|
||||
notes?: string | null
|
||||
patient_id: string
|
||||
psychologist_id?: string | null
|
||||
@@ -685,6 +687,7 @@ export type Database = {
|
||||
end_date?: string | null
|
||||
id?: string
|
||||
kindcheck_data?: Json | null
|
||||
life_domains?: Json | null
|
||||
notes?: string | null
|
||||
patient_id?: string
|
||||
psychologist_id?: string | null
|
||||
|
||||
Reference in New Issue
Block a user