- {item.role === MessageType.User ? (
-
- ) : (
-
- )}
-
- {isAssistant ? '' : 'You'}
-
- {}}
- content={content}
- >
-
- {isAssistant && referenceDocumentList.length > 0 && (
- {
- const fileThumbnail = fileThumbnails[item.doc_id];
- const fileExtension = getExtension(item.doc_name);
- return (
-
-
- {fileThumbnail ? (
-
- ) : (
-
- )}
-
-
- {item.doc_name}
-
-
-
- );
- }}
- />
- )}
-
-
-