Improvements on the chat UI, prepare for supporting multiple models, and adding feedback to interactions.

This commit is contained in:
Josako
2024-06-14 15:05:46 +02:00
parent b77e1ab321
commit c5370c8026
8 changed files with 301 additions and 95 deletions

View File

@@ -25,7 +25,7 @@ class Interaction(db.Model):
answer = db.Column(db.Text, nullable=True)
algorithm_used = db.Column(db.String(20), nullable=True)
language = db.Column(db.String(2), nullable=False)
appreciation = db.Column(db.Integer, nullable=True, default=100)
appreciation = db.Column(db.Integer, nullable=True)
# Timing information
question_at = db.Column(db.DateTime, nullable=False)