Merge pull request #268 from vilaca/dotenv-called-twice

remove duplicate call 'load_dotenv()' in ingester.py
This commit is contained in:
Iván Martínez 2023-05-18 15:15:17 +02:00 committed by GitHub
commit 42046c5ec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -24,9 +24,6 @@ from langchain.docstore.document import Document
from constants import CHROMA_SETTINGS from constants import CHROMA_SETTINGS
load_dotenv()
# Map file extensions to document loaders and their arguments # Map file extensions to document loaders and their arguments
LOADER_MAPPING = { LOADER_MAPPING = {
".csv": (CSVLoader, {}), ".csv": (CSVLoader, {}),