Find answers from the community

Updated 4 months ago

Update

can someone help me with this error?


from llama_hub.tools.arxiv import ArxivToolSpec
from llama_index.agent.openai import OpenAIAgent

tool_spec = ArxivToolSpec()

agent = OpenAIAgent.from_tools(tool_spec.to_tool_list())

agent.chat("What's going on with the superconductor lk-99")
agent.chat("what are the latest developments in machine learning")



error: File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/llama_hub/tools/arxiv/base.py", line 5, in <module>
from llama_index.readers.schema.base import Document
ModuleNotFoundError: No module named 'llama_index.readers.schema'
L
1 comment
LlamaHub is deprecated (as a package anyways). Please install the integration package

https://llamahub.ai/l/readers/llama-index-readers-papers
Add a reply
Sign up and join the conversation on Discord