SAIRA / loader.py
batalovme's picture
Data loading
15d7e65
raw
history blame
174 Bytes
from llama_index import SimpleDirectoryReader
def load_documents():
docs_dir = "./raw"
documents = SimpleDirectoryReader(docs_dir).load_data()
return documents