Update travel/rag_tool.py
Browse files- travel/rag_tool.py +2 -1
travel/rag_tool.py
CHANGED
@@ -8,7 +8,8 @@ from tqdm import tqdm
|
|
8 |
from langchain_community.document_loaders import Docx2txtLoader, CSVLoader
|
9 |
from langchain.text_splitter import CharacterTextSplitter
|
10 |
from pymilvus import MilvusClient
|
11 |
-
|
|
|
12 |
|
13 |
class RAGTool(object):
|
14 |
|
|
|
8 |
from langchain_community.document_loaders import Docx2txtLoader, CSVLoader
|
9 |
from langchain.text_splitter import CharacterTextSplitter
|
10 |
from pymilvus import MilvusClient
|
11 |
+
from dotenv import load_dotenv
|
12 |
+
_ = load_dotenv()
|
13 |
|
14 |
class RAGTool(object):
|
15 |
|