mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Unable to export dialogue log data due to error (#4298)
This commit is contained in:
parent
2a15017523
commit
a0d3031b4f
|
|
@ -151,7 +151,7 @@ class ApplicationChatQuerySerializers(serializers.Serializer):
|
|||
@staticmethod
|
||||
def to_row(row: Dict):
|
||||
details = row.get('details') or {}
|
||||
padding_problem_text = ' '.join(node.get("answer", "") for key, node in details.items() if
|
||||
padding_problem_text = ' '.join((node.get("answer", "") or "") for key, node in details.items() if
|
||||
node.get("type") == 'question-node')
|
||||
search_dataset_node_list = [(key, node) for key, node in details.items() if
|
||||
node.get("type") == 'search-dataset-node' or node.get(
|
||||
|
|
|
|||
Loading…
Reference in New Issue