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.47k stars 383 forks source link

Could not import azure.core python package. #120

Closed gameuser1982 closed 1 year ago

gameuser1982 commented 1 year ago

So I setup a fresh virtual environment with Python 3.10 and started messing around. I got my cookie token from chatGPT and placed it in the .env file.

I installed all of the requirements. I had to use faiss-cpu instead of faiss-gpu. All good.

I start python autogpt.py. It tells me Could not import azure.core python package.

But it still put me in the menu but if I select ChatGPT it complains about a lack of a huggingface token:

Select the model you want to use (1, 2, 3 or 4)
 1) ChatGPT
 2) HuggingChat
 3) BingChat
 4) Google Bard
 5) HuggingFace
 >>> 1
Traceback (most recent call last):
  File "C:\pyenv310freeautogpt\Free-Auto-GPT\autogpt.py", line 116, in <module>
    raise ValueError(
ValueError: HuggingFace Token EMPTY. Edit the .env file and put your HuggingFace token
gameuser1982 commented 1 year ago

I fixed Could not import azure.core python package. by installing it with pip install azure-core but I still have that traceback. So I guess the huggingface token is mandatory even if I use chatGPT?

gameuser1982 commented 1 year ago

Ok clearly the huggingface token was mandatory. Closing this