Find answers from the community

Updated 2 years ago

Outdated tutorial?

it's the guide i tried to follow, but it's outdated.for example the langchain agents module doesn't exist
L
m
5 comments
Which import exactly is giving you issues?
from llama_index.langchain_helpers.agents import LlamaToolkit, create_llama_chat_agent, IndexToolConfig, GraphToolConfig
agents doesn't exist
llama-index ver 0.4.26
Ohhh your llama index version is from before the tutorial was made actually.

Try updating, and the tutorial should work πŸ‘

pip install --upgrade llama_index langchain
my bad! you're right, upgrading solved the issue, thank you. can't beleive i missed that πŸ™‚
Easy to miss! Glad it works πŸ’ͺπŸ’ͺ
Add a reply
Sign up and join the conversation on Discord