- {chunkItem.content_with_weight}
+ {chunkItem?.content_with_weight}
{documentId && (
{document?.doc_name}
@@ -156,7 +163,9 @@ const MessageItem = ({
dataSource={referenceDocumentList}
renderItem={(item) => (
- [ITEM]
+
+ {/* */}
+
{item.doc_name}
@@ -179,6 +188,8 @@ const ChatContainer = () => {
'completeConversation',
'getConversation',
]);
+ const ref = useScrollToBottom();
+ useGetFileIcon();
const handlePressEnter = () => {
setValue('');
@@ -210,6 +221,7 @@ const ChatContainer = () => {
);
})}
+