xiongzhu 2 лет назад
Родитель
Сommit
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) {