IntelligenzaArtificiale / Free-Auto-GPT

Free Auto GPT with NO paids API is a repository that offers a simple version of Auto GPT, an autonomous AI agent capable of performing tasks independently. Unlike other versions, our implementation does not rely on any paid OpenAI API, making it accessible to anyone.
MIT License
2.49k stars 384 forks source link

requirements.txt updated? #143

Closed xyzaf1 closed 1 year ago

xyzaf1 commented 1 year ago

After installing everything mentioned in the requirements.txt i get this error:

Traceback (most recent call last):
  File "C:\GPT-up1\AUTOGPT.py", line 12, in <module>
    from FreeLLM import ChatGPTAPI  # FREE CHATGPT API
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\GPT-up1\FreeLLM\ChatGPTAPI.py", line 1, in <module>
    from gpt4_openai import GPT4OpenAI
ModuleNotFoundError: No module named 'gpt4_openai'

The version bevor the update would work better if you would remove the following issues (i guess):

Traceback (most recent call last):
  File "C:\GPT\AUTOGPT.py", line 314, in <module>
    agent.run([input("Enter the objective of the AI system: (Be realistic!) ")])
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\experimental\autonomous_agents\autogpt\agent.py", line 95, in run
    assistant_reply = self.chain.run(
                      ^^^^^^^^^^^^^^^
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\chains\base.py", line 293, in run
    return self(kwargs, callbacks=callbacks, tags=tags)[_output_key]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\chains\base.py", line 166, in __call__
    raise e
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\chains\base.py", line 160, in __call__
    self._call(inputs, run_manager=run_manager)
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\chains\llm.py", line 92, in _call
    response = self.generate([inputs], run_manager=run_manager)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\chains\llm.py", line 102, in generate
    return self.llm.generate_prompt(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 140, in generate_prompt
    return self.generate(prompt_strings, stop=stop, callbacks=callbacks, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 206, in generate
    raise e
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 198, in generate
    self._generate(
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 500, in _generate
    else self._call(prompt, stop=stop, **kwargs)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\GPT\FreeLLM\ChatGPTAPI.py", line 53, in _call
    data = self.chatbot.send_message(prompt)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\GPT\FreeLLM\pyChatGPT.py", line 507, in send_message
    response = self.driver.find_elements(*chatgpt_small_response)[-1]
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^

image

Fitsbit commented 1 year ago

i just installed using errors, but i am still getting an error

m4conSpeed commented 1 year ago

@Fitsbit you think they even test before they release? you know what package i need to fix my error? i tried reinstalling everything but im stil getting the same thing....

IntelligenzaArtificiale commented 1 year ago

@m4conSpeed of course we tested it! Do you have any idea of the work behind it? Or do you think this repository is snake in html and javascript version?

Most of people's issues are for total incompetence to install libraries !

To risolve pls delete previus version and dowload last version .

For this error u simply need to install gpt4-openai-api

m4conSpeed commented 1 year ago

@IntelligenzaArtificiale I know the work behind it. Ofc, I have the gpt-openai-api installed, but i still get this error... Maybe you need a specific version (like edgeGPT, which seems to not be a user error, bc otherwise the issue would be closed ;) )?