-
-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: cannot import name 'Chatbot' from 'EdgeGPT' #138
Comments
It's the same error of #136 issue. I have a workaround for it |
there are too many errors in the code. It does not worth to repair only this one. I know that this error is appearing when you are using bing chat, it's not the only error, there is also cookie path error that I don't know if the fix is correct and an error with the loading of huggingchat... too many errors that make this repo not usable at all |
@Dex94 @m4conSpeed @xyzaf1 here is the fix (got this via email and don't see it mentioned even where I originally reported the issue) Use the command "python -m pip install EdgeGPT==0.4.1". You are right, there are lots of things that are currently not working. Some of those are because dependencies shifted since this version was released. I personally hate the Python environment for this reason. But that's what the AI community is primarily using right now. 🤷 |
@DaveMBush thx for the fix man, i'll try it laiter. Did you get it fully to work, or "only" fixed that issue? is it realy a alternative to AutoGPT (things like directly saving the response in files, or reading and editing files)? |
@DaveMBush you can use also EdgeGPT==0.9.2 or the latest version
, then in line 47 if you delete cookie_path=self.cookiepath the error for cookie path disappear but it persists an error for loading the model... too many errors and time to repair it |
Is there a better project that more well maintained and up to date? |
for autogpt with no api using autogpt as llm there isn't for now other repo... other error is that in the readme page ther is written to use python but using it there's a syntax error, so to use autogpt with the terminal there's the need to use python3 |
What if we use an older realise would that work, this version has many errors. |
https://github.com/aorumbayev/autogpt4all there is this |
it's not the same thing, this repo uses a token for chatgpt other common Ai, that one uses different model and it uses local resources, not an alternative of the api. In the actual state EdgeGPT with the recent update doesn't need a correction, so EdgeGPT.EdgeGPT is not valid, it was a temporary fix. Maybe someone has langchain error. To fix langchain error you need to install 0.0.189: pip install langchain==0.0.189, I don't know what happens from 0.0.190 version. Need further research. Maybe we can discuss about all error in the conversation section to find and list them and try to search a correction. |
neverinstall is a free linux machine in your browser we could try running this on that I'm on windows at the moment. |
@DaveMBush @iamashwin99 @Dex94 @m4conSpeed @Fitsbit We apologize if the code is not perfect and has errors, redundancies, etc... But I'm only 20 years old, I manage the largest Italian site on AI https://www.intelligenzaartificialeitalia.net/ , I work as a consultant for large companies, I deal with three large open source projects, and now I'm also trying with this project to break down the economic barriers imposed by bigtechs like Google, OpenAI, BING. (In all this I also attend university and am about to graduate) If you want to use the paid APIs you will naturally have fewer problems. But with this repository you can use the same LLMs that OpenAI, BARD and BIng use to test your projects before putting them into production. All for free! Let me know if the problems persist :) A hug and thanks to all for the interest🤗🤗 |
Is this online or offline? im guessing its offline |
yay new error... i had to install a bunch of more modules just to get another error, I asked copilot and saw no file. any ideas? Traceback (most recent call last): |
I tried clearing my cache but windows provided an error: is unavailable. If the location is on |
the core logic has changed, try reinstalling all over again. |
Thank you for being very active again, your project has a noble cause. Is this version of autogpt connected to the internet? |
I keep getting the same error even after clearing my cache, any ideas, I installed the modules etc, this time I feel its a problem with my machine but its giving an error for a nonexistant file. |
Then you need to understand a difference. Autonomous Agents are based on two great pillars. 1- LLM models and tools . Thanks to the LLM model, agents can choose the tool to use, produce outputs and run the autonomous agent. To answer your question now internet access can be given either through LLMs (for example bard , Bing and Gpt4 with browsing ) they all already have internet access, while huggingchat or gpt3 do not. So to give gpt3 or huggingchat internet access we use tools like Duckduck , which isn't great because it's free. |
@Fitsbit we can't figure out what your mistake is. Please give us as much detail as possible, telling us you cleared the cache we can't pinpoint the error |
I've been working with LLM's for a while, I apologize if my answer was "vague" its currently 12am for me. I noticed the Duckduckgo in the autogpt.py file, but I noticed its running via cookies. |
@Fitsbit what do you mean when you say duckduck works via cookeis ? |
Here's my full error: That is the cache, and there's a lock file, I do not see the lock file when I open up my file explorer, this isn't an issue with the code its an issue with me, but I cannot figure out how to fix it |
which LLM model did you select? |
I've been trying with all of them, each time i select I get the same error. in this one, chatgpt thank you for being here and helping me |
you can try running it on colab and see if it gives you the same error, or try running Babyagi and let us know |
Colab gives me an import error, but I don't have colab pro so i cannot access the terminal, I will try babyagi now. |
Or try installing python 3.11 version and running the following command |
it dont need colab pro, share the error in colab with screeshot |
Babyagi is also provding an error, but its related to a login issue, it is very late for me, I need to go to bed, will you be online at the same time tomorrow? |
go easy don't worry, today we are still working on the project and trying to understand the error. Don't worry about writing to us . |
Thank you for being supportive, I support this project and its goal. I am a big fan of the AutoGPT project. |
now the minimal version of python is 3.9 ... I read somewhere another thing... but with the introduction of revchatgpt the things are changed. |
There is the reverse proxy api key thingy |
running in colab gives the og error of EdgeGPT |
BREAKING NEWS: I got HF to work, but nothing else everything else is providing errors, is this normal? |
Update: its not doing anything related to my prompt. well kind of, it understands, but is doing its own tinggyyyyyyyyyy;alkdfad |
This doesn't work anymore because Microsoft pulled EdgeGPT. |
You might as well figure that you are going to have to use OpenAI. Hugging face models in Langchain don't even work properly. |
Yes. |
Replace |
I´m getting this error by using Python 3.11.4. The requirements.txt is of course installed
The text was updated successfully, but these errors were encountered: