Find answers from the community

Updated 2 months ago

is there a way to load one single txt

is there a way to load one single txt file ? i cant find that in any connectors and simpledirectoryreader works but for the dir :/
F
S
W
5 comments
You can just pass the filename directly in the path.
Plain Text
loader.load_data(file=Path('file.html'))
then whats the loader obj ?
I used a loader from llama hub, it might be different for yours ^
Add a reply
Sign up and join the conversation on Discord