Spaces:
Build error
Build error
Update rag.py
Browse files
rag.py
CHANGED
@@ -53,7 +53,7 @@ def document_loading():
|
|
53 |
OpenAIWhisperParser())
|
54 |
docs.extend(loader.load())
|
55 |
|
56 |
-
|
57 |
|
58 |
def document_splitting(config, docs):
|
59 |
text_splitter = RecursiveCharacterTextSplitter(chunk_overlap = config["chunk_overlap"],
|
|
|
53 |
OpenAIWhisperParser())
|
54 |
docs.extend(loader.load())
|
55 |
|
56 |
+
return docs
|
57 |
|
58 |
def document_splitting(config, docs):
|
59 |
text_splitter = RecursiveCharacterTextSplitter(chunk_overlap = config["chunk_overlap"],
|