feat: 对话纪要添加详情字段
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

This commit is contained in:
shaohuzhang1 2024-06-24 09:59:17 +08:00
parent c568d26d7e
commit 7fd4fb08c4

View File

@ -424,7 +424,8 @@ class ChatRecordSerializer(serializers.Serializer):
'padding_problem_text': chat_record.details.get('problem_padding').get(
'padding_problem_text') if 'problem_padding' in chat_record.details else None,
'dataset_list': dataset_list,
'paragraph_list': paragraph_list
'paragraph_list': paragraph_list,
'details': chat_record.details
}
def page(self, current_page: int, page_size: int, with_valid=True):