Update rag_langchain.py
Browse files- rag_langchain.py +1 -1
rag_langchain.py
CHANGED
@@ -74,7 +74,7 @@ class LangChainRAG(BaseRAG):
|
|
74 |
collection = collection,
|
75 |
index_name = self.MONGODB_INDEX_NAME)
|
76 |
|
77 |
-
def
|
78 |
docs = self.load_documents()
|
79 |
|
80 |
chunks = self.split_documents(config, docs)
|
|
|
74 |
collection = collection,
|
75 |
index_name = self.MONGODB_INDEX_NAME)
|
76 |
|
77 |
+
def ingestion(self, config):
|
78 |
docs = self.load_documents()
|
79 |
|
80 |
chunks = self.split_documents(config, docs)
|