Find answers from the community

Updated last year

Tools

Following the "Building Better Tools" recent blog post, and running into a module issue here.
Getting ModuleNotFoundError: No module named 'llama_index.tools.base'
Attachment
Screen_Shot_2023-07-29_at_8.51.04_PM.png
L
s
9 comments
Hmmm I the correct import is llama_index.tools.tool_spec.base
thank you. Continuing to copy-paste from the blog, now it's this:
Oof. Which example/blog is this?
I'm a bit beginner with Python so it may be me, but that no argument error is coming up when I believe I'm following the blog exactly
nvm! indentation error on me sorry
got it working!
these 3 imports were also necessary
Plain Text
import requests
import urllib
from llama_index.agent import OpenAIAgent
Add a reply
Sign up and join the conversation on Discord