Initial implementation of the chat application with MariaDB and ArangoDB integration, including Docker setup and web interface.

This commit is contained in:
st-server
2026-01-06 15:26:14 +01:00
parent f0e2fd294b
commit b3f6ecb1bc
13 changed files with 296 additions and 0 deletions

15
initdb/init.sql Normal file
View File

@@ -0,0 +1,15 @@
CREATE TABLE chats (
id INT AUTO_INCREMENT PRIMARY KEY,
project VARCHAR(255),
user_input TEXT,
llm_output TEXT,
timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE feedback (
id INT AUTO_INCREMENT PRIMARY KEY,
chat_id INT,
rating ENUM('positive','negative'),
comment TEXT,
timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);