diff --git a/api/db/db_models.py b/api/db/db_models.py index 690816c8e..267c34b7b 100644 --- a/api/db/db_models.py +++ b/api/db/db_models.py @@ -824,11 +824,12 @@ class Dialog(DataBaseModel): do_refer = CharField( max_length=1, null=False, - help_text="it needs to insert reference index into answer or not", + help_text="it needs to insert reference index into answer or not") + rerank_id = CharField( max_length=128, null=False, - help_text="default rerank model ID", + help_text="default rerank model ID") kb_ids = JSONField(null=False, default=[]) status = CharField(