Prepare for html document validation (added wanted tags to tenant)

This commit is contained in:
Josako
2024-05-12 21:58:42 +02:00
parent 699de951e8
commit 011bdce38d
6 changed files with 146 additions and 45 deletions

View File

@@ -29,6 +29,9 @@ class Tenant(db.Model):
default_llm_model = db.Column(db.String(50), nullable=True)
allowed_llm_models = db.Column(ARRAY(sa.String(50)), nullable=True)
# Embedding variables
html_tags = db.Column(ARRAY(sa.String(10)), nullable=True, default=['p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'li'])
# Licensing Information
license_start_date = db.Column(db.Date, nullable=True)
license_end_date = db.Column(db.Date, nullable=True)