# Generated by Django 4.1.10 on 2024-01-12 18:46

import django.contrib.postgres.fields
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('application', '0002_alter_chatrecord_dataset'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='chatrecord',
            name='dataset',
        ),
        migrations.RemoveField(
            model_name='chatrecord',
            name='paragraph',
        ),
        migrations.RemoveField(
            model_name='chatrecord',
            name='source_id',
        ),
        migrations.RemoveField(
            model_name='chatrecord',
            name='source_type',
        ),
        migrations.AddField(
            model_name='chatrecord',
            name='const',
            field=models.IntegerField(default=0, verbose_name='总费用'),
        ),
        migrations.AddField(
            model_name='chatrecord',
            name='details',
            field=models.JSONField(default=list, verbose_name='对话详情'),
        ),
        migrations.AddField(
            model_name='chatrecord',
            name='paragraph_id_list',
            field=django.contrib.postgres.fields.ArrayField(base_field=models.UUIDField(blank=True), default=list, size=None, verbose_name='引用段落id列表'),
        ),
        migrations.AddField(
            model_name='chatrecord',
            name='run_time',
            field=models.FloatField(default=0, verbose_name='运行时长'),
        ),
        migrations.AlterField(
            model_name='chatrecord',
            name='answer_text',
            field=models.CharField(max_length=4096, verbose_name='答案'),
        ),
    ]
