AttributeError? #1109
-
Hey, import os
# replace this with your HF key
os.environ["HUGGINGFACE_ACCESS_TOKEN"] = "hf_literal_string_blah_blaj"
from embedchain import App
app = App.from_config("mistral.yaml")
app.add("https://www.forbes.com/profile/elon-musk")
app.add("https://en.wikipedia.org/wiki/Elon_Musk")
app.query("What is the net worth of Elon Musk today?")
# Answer: The net worth of Elon Musk today is $258.7 billion. I ran this with I got the following error
Any ideas as to what is going on here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey @sethupavan12 , can you please check if you have the latest version of embedchain installed? |
Beta Was this translation helpful? Give feedback.
-
Hey @sethupavan12, I would recommend you to try to remove |
Beta Was this translation helpful? Give feedback.
Hey @sethupavan12,
I would recommend you to try to remove
embedchain
package withpip uninstall embedchain
command and clear the cache withpip cache remove embedchain
and try to install again withpip install embedchain
. Hopefully, that should solve your problem. For more info refer - https://pip.pypa.io/en/stable/cli/pip_cache/