xiongzhu 3 年之前
父節點
當前提交
af4ca92b2e
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/chat-pdf/chat-pdf.service.ts

+ 2 - 0
src/chat-pdf/chat-pdf.service.ts

@@ -50,6 +50,8 @@ export class ChatPdfService {
                 Logger.error(sql)
             }
         }
+        const res = await this.dataSource.query('select * from chat_embedding')
+        return res
     }
 
     isFullSentence(str) {