mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 17:35:07 +01:00
Use single db migration script for transcribe model, related updates
This commit is contained in:
parent
28090216f6
commit
897170ab15
2 changed files with 10 additions and 15 deletions
|
@ -1,12 +0,0 @@
|
|||
# Generated by Django 4.2.7 on 2023-11-26 06:50
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("database", "0020_reflectivequestion"),
|
||||
("database", "0020_speechtotextmodeloptions_and_more"),
|
||||
]
|
||||
|
||||
operations: list = []
|
|
@ -1,11 +1,11 @@
|
|||
# Generated by Django 4.2.7 on 2023-11-22 08:51
|
||||
# Generated by Django 4.2.7 on 2023-11-26 09:37
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("database", "0019_alter_googleuser_family_name_and_more"),
|
||||
("database", "0020_reflectivequestion"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
@ -30,6 +30,13 @@ class Migration(migrations.Migration):
|
|||
migrations.AlterField(
|
||||
model_name="chatmodeloptions",
|
||||
name="chat_model",
|
||||
field=models.CharField(default="gpt-4", max_length=200),
|
||||
field=models.CharField(default="mistral-7b-instruct-v0.1.Q4_0.gguf", max_length=200),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="chatmodeloptions",
|
||||
name="model_type",
|
||||
field=models.CharField(
|
||||
choices=[("openai", "Openai"), ("offline", "Offline")], default="offline", max_length=200
|
||||
),
|
||||
),
|
||||
]
|
Loading…
Reference in a new issue