mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-06 21:29:12 +00:00
31 lines
1.1 KiB
Python
31 lines
1.1 KiB
Python
# Generated by Django 4.2.5 on 2023-11-16 01:13
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("database", "0017_searchmodel"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="SearchModelConfig",
|
|
fields=[
|
|
("id", models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")),
|
|
("created_at", models.DateTimeField(auto_now_add=True)),
|
|
("updated_at", models.DateTimeField(auto_now=True)),
|
|
("name", models.CharField(default="default", max_length=200)),
|
|
("model_type", models.CharField(choices=[("text", "Text")], default="text", max_length=200)),
|
|
("bi_encoder", models.CharField(default="thenlper/gte-small", max_length=200)),
|
|
("cross_encoder", models.CharField(default="cross-encoder/ms-marco-MiniLM-L-6-v2", max_length=200)),
|
|
],
|
|
options={
|
|
"abstract": False,
|
|
},
|
|
),
|
|
migrations.DeleteModel(
|
|
name="SearchModel",
|
|
),
|
|
]
|