Kevin Hu
commited on
Commit
·
66857b9
1
Parent(s):
7bcfa53
trival (#1760)
Browse files### What problem does this PR solve?
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
- api/db/db_models.py +3 -2
api/db/db_models.py
CHANGED
@@ -824,11 +824,12 @@ class Dialog(DataBaseModel):
|
|
824 |
do_refer = CharField(
|
825 |
max_length=1,
|
826 |
null=False,
|
827 |
-
help_text="it needs to insert reference index into answer or not"
|
|
|
828 |
rerank_id = CharField(
|
829 |
max_length=128,
|
830 |
null=False,
|
831 |
-
help_text="default rerank model ID"
|
832 |
|
833 |
kb_ids = JSONField(null=False, default=[])
|
834 |
status = CharField(
|
|
|
824 |
do_refer = CharField(
|
825 |
max_length=1,
|
826 |
null=False,
|
827 |
+
help_text="it needs to insert reference index into answer or not")
|
828 |
+
|
829 |
rerank_id = CharField(
|
830 |
max_length=128,
|
831 |
null=False,
|
832 |
+
help_text="default rerank model ID")
|
833 |
|
834 |
kb_ids = JSONField(null=False, default=[])
|
835 |
status = CharField(
|