From 92782a13ea388df92262b8685e2f56d72b1aac96 Mon Sep 17 00:00:00 2001 From: HongCheng Date: Fri, 3 May 2024 00:29:05 +0900 Subject: [PATCH] Update data_processing.py --- rag/src/data_processing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rag/src/data_processing.py b/rag/src/data_processing.py index 6c4103b..ca6174b 100644 --- a/rag/src/data_processing.py +++ b/rag/src/data_processing.py @@ -4,7 +4,7 @@ import os from loguru import logger from langchain_community.vectorstores import FAISS -from rag.src.config.config import ( +from config.config import ( embedding_path, embedding_model_name, doc_dir, qa_dir, @@ -246,4 +246,4 @@ if __name__ == "__main__": logger.info("After reranking...") for i in range(len(scores)): logger.info(str(scores[i]) + '\n') - logger.info(passages[i]) \ No newline at end of file + logger.info(passages[i])