xiongzhu пре 2 година
родитељ
комит
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) {