bstraehle commited on
Commit
4a679bd
·
1 Parent(s): 340e058

Update rag.py

Browse files
Files changed (1) hide show
  1. rag.py +1 -1
rag.py CHANGED
@@ -53,7 +53,7 @@ def document_loading():
53
  OpenAIWhisperParser())
54
  docs.extend(loader.load())
55
 
56
- returns docs
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"],