Nog een paar laatste kleine bugfixes

This commit is contained in:
Josako
2025-09-22 14:56:48 +02:00
parent 2afee41c2a
commit 53bfc6bb23
4 changed files with 28 additions and 18 deletions

View File

@@ -101,6 +101,19 @@ erDiagram
int updated_by FK
}
EVE_AI_DATA_CAPSULE {
int id PK
int chat_session_id FK
string type
string type_version
jsonb configuration
jsonb data
datetime created_at
int created_by FK
datetime updated_at
int updated_by FK
}
DISPATCHER {
int id PK
string name
@@ -188,24 +201,28 @@ erDiagram
%% Main conversation flow
USER ||--o{ CHAT_SESSION : "has many"
CHAT_SESSION ||--o{ INTERACTION : "has many"
CHAT_SESSION ||--o{ EVE_AI_DATA_CAPSULE : "has many"
SPECIALIST ||--o{ INTERACTION : "processes"
%% Specialist composition (EveAI components)
SPECIALIST ||--o{ EVE_AI_AGENT : "has many"
SPECIALIST ||--o{ EVE_AI_TASK : "has many"
SPECIALIST ||--o{ EVE_AI_TOOL : "has many"
%% Specialist connections
SPECIALIST ||--o{ SPECIALIST_RETRIEVER : "uses retrievers"
RETRIEVER ||--o{ SPECIALIST_RETRIEVER : "used by specialists"
SPECIALIST ||--o{ SPECIALIST_DISPATCHER : "uses dispatchers"
DISPATCHER ||--o{ SPECIALIST_DISPATCHER : "used by specialists"
%% Interaction results
INTERACTION ||--o{ INTERACTION_EMBEDDING : "references embeddings"
EMBEDDING ||--o{ INTERACTION_EMBEDDING : "used in interactions"
%% Magic links for specialist access
SPECIALIST ||--o{ SPECIALIST_MAGIC_LINK : "has magic links"
TENANT_MAKE ||--o{ SPECIALIST_MAGIC_LINK : "branded links"
TENANT_MAKE ||--o{ SPECIALIST_MAGIC_LINK : "branded links"
%% User relationships for audit trails
USER ||--o{ EVE_AI_DATA_CAPSULE : "created/updated by"