Find answers from the community

Updated 4 months ago

Loader

At a glance

The post is about the deprecation of the download_loader function in the latest version of llama_index and how to use the PagedCSVReader instead. Community members suggest installing the required package directly from PyPI and provide a migration guide and package registry link. They also recommend starting with a fresh virtual environment if the user had a previous version of llama-index installed. The community members suggest using pip install llama-index-readers-file and then importing PagedCSVReader from llama_index.readers.file.paged_csv.

Useful resources
Hello..
how to use PagedCSVReader with latest version of llama_index
download_loader is deprecated ,

/Users/ahsan/Desktop/SageByte/lloyed/lloyed-aidev/load_vector.py:203: DeprecationWarning: Call to deprecated function (or staticmethod) download_loader. (download_loader() is deprecated. Please install tool using pip install directly instead.) loader = PagedCSVReader(encoding="utf-8")
W
A
L
9 comments
You can install it directly from pypi
Search for the loader, install it via pip
PagedCSVReader not found on pypi? could you please share url for this loader?
pip install llama-index-readers-file
Then you can try importing it like
from llama_index.readers.file.paged_csv import PagedCSVReader
thank you so much guys
Add a reply
Sign up and join the conversation on Discord