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.44k stars 384 forks source link

It returns nothing #15

Closed phamxtien closed 1 year ago

phamxtien commented 1 year ago

I run this code and get nothing :)

from ChatGPTAPI import ChatGPT

# Instantiate a ChatGPT object with your token
llm = ChatGPT(token="YOURTOKEN")

# Generate a response based on the given prompt
response = llm("Hello, how are you?")

# Print the response
print(response)
IntelligenzaArtificiale commented 1 year ago

in this line : llm = ChatGPT(token="YOURTOKEN") have you add your CHATGPT accessToken ?

You must insert only the TOKEN without anyting . For example :

llm = ChatGPT(token="YOUReyJXXGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImTOKEN")

phamxtien commented 1 year ago

Yes, i inserted my token in the test, no error but it returned nothing

IntelligenzaArtificiale commented 1 year ago

Can I have some more details? What operating system are you using? Have you tried re-downloading the repository and running the program again?

If you live in Italy, access to ChatGpt may be blocked. Let me know and I'll do what I can to fix it.

Also, a screenshot of the CMD and the code you run with the obscured token would be very helpful.

IntelligenzaArtificiale commented 1 year ago

Please visit new Plug-and-Play based on Google Colab . Visit here

IntelligenzaArtificiale commented 1 year ago

if u have fixed it pls, close the issue <3