Initial implementation of the chat application with MariaDB and ArangoDB integration, including Docker setup and web interface.
This commit is contained in:
15
initdb/init.sql
Normal file
15
initdb/init.sql
Normal 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
|
||||
);
|
||||
Reference in New Issue
Block a user