Open aaronjolson opened 4 months ago
point of no return confirmed in new 0.10.9 hub will no longer work after this bump https://github.com/run-llama/llama_index/issues/10914
Please update hub documentation after 0.10 update with reference to llama_index (probably best than leaving it broken) https://llamahub.ai/l/readers/llama-index-readers-youtube-transcript?from=
#from llama_index.youtube_transcript import YoutubeTranscriptReader
from llama_index.readers.youtube_transcript import YoutubeTranscriptReader
loader = YoutubeTranscriptReader()
documents = loader.load_data(
ytlinks=["https://www.youtube.com/watch?v=i3OYlaoj-BM"]
)
@aaronjolson try dropping completely hub references in favour of index as per above example. i'm assuming github readers are in similar situation
Confluence reader is in the same situation. When installed it references to llama_index.readers.base
despite it's OK at the source project
I'm not that experienced in Python packages, is there a way to fix this?
https://github.com/run-llama/llama-hub
With the launch of LlamaIndex v0.10, we are deprecating this llama_hub repo - all integrations (data loaders, tools) and packs are now in the core llama-index Python repository. LlamaHub will continue to exist. We are revamping llamahub.ai point to all integrations/packs/datasets available in the llama-index repo.
Bug Description
I am trying to work through a script for indexing a github repo. I determined that the script was written for an earlier version of llama_index (pre 0.10) I thought I would try and bring it up to date with the latest version of llama_index and llama_hub. I installed both llama-index and llama-hub via pip and pypi
This is the
pip freeze
of my llama depsThese are the imports at the top of my script ( and the place where my script is erroring)
This is the error I am getting
which looks like the latest version of llama_hub in pypi is not yet aware of the changes in llama_index. This is a case where llama_hub relies on a specific version (or range of versions) of llama_index and this should really be called out in the deps. https://github.com/run-llama/llama-hub/blob/main/pyproject.toml#L19 Should likely be changed to
llama-index = ">=0.9.41, <0.10.0"
as llama-index is a dependency of llama-hub, and if this is a known place of incompatibility, this should be called out in the pyproject.tomlVersion
0.10.6
Steps to Reproduce
install the same versions of llama-index and llama-hub as noted above
Relevant Logs/Tracbacks
No response