feat(cortex): add intake suggestions to chat UI
Add intake-related suggestions to both chat interfaces: 1. Cortex Command Center (lib/cortex/suggestions.ts): - New "Intake" category with status, risico, diagnose examples - Triggers intake_status, risico_query, diagnose_query, intake_navigeer 2. Docs Chat Widget (components/docs-chat/chat-suggestions.tsx): - Updated CLIENT_SUGGESTION_CATEGORIES with intake options - Categories: Intake Status, Risicotaxatie, Diagnoses, Navigatie Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -24,7 +24,7 @@ export interface SuggestionExample {
|
||||
|
||||
/**
|
||||
* Suggestion categories with examples
|
||||
* Based on the 7 implemented intents:
|
||||
* Based on the 11 implemented intents:
|
||||
* - dagnotitie
|
||||
* - zoeken
|
||||
* - overdracht
|
||||
@@ -32,8 +32,24 @@ export interface SuggestionExample {
|
||||
* - create_appointment
|
||||
* - cancel_appointment
|
||||
* - reschedule_appointment
|
||||
* - intake_status (MVP)
|
||||
* - risico_query (MVP)
|
||||
* - diagnose_query (MVP)
|
||||
* - intake_navigeer (MVP)
|
||||
*/
|
||||
export const SUGGESTION_CATEGORIES: SuggestionCategory[] = [
|
||||
{
|
||||
id: 'intake',
|
||||
label: 'Intake',
|
||||
icon: '📋',
|
||||
description: 'Intake status, risico\'s en diagnoses bekijken',
|
||||
examples: [
|
||||
{ text: 'Wat moet ik nog doen?', intent: 'intake_status' },
|
||||
{ text: 'Wat zijn de risico\'s?', intent: 'risico_query' },
|
||||
{ text: 'Welke diagnoses?', intent: 'diagnose_query' },
|
||||
{ text: 'Ga naar risicotaxatie', intent: 'intake_navigeer' },
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'notities',
|
||||
label: 'Notities',
|
||||
@@ -73,7 +89,7 @@ export const SUGGESTION_CATEGORIES: SuggestionCategory[] = [
|
||||
{
|
||||
id: 'overdracht',
|
||||
label: 'Overdracht',
|
||||
icon: '📋',
|
||||
icon: '🔄',
|
||||
description: 'Dienstoverdrachten en samenvattingen',
|
||||
examples: [
|
||||
{ text: 'Overdracht', intent: 'overdracht' },
|
||||
|
||||
Reference in New Issue
Block a user