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) {