Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
sairaproject
/
SAIRA
like
2
Sleeping
App
Files
Files
Community
6c36ba1
SAIRA
/
loader.py
batalovme
Data loading
15d7e65
11 months ago
raw
Copy download link
history
blame
Safe
174 Bytes
from
llama_index
import
SimpleDirectoryReader
def
load_documents
():
docs_dir =
"./raw"
documents = SimpleDirectoryReader(docs_dir).load_data()
return
documents