microsoft / PromptCraft-Robotics

Community for applying LLMs to robotics and a robot simulator with ChatGPT integration
https://aka.ms/ChatGPT-Robotics
MIT License
1.84k stars 195 forks source link

Not connecting to chat-gpt when running chatgpt_airsim.py #8

Open MayankD409 opened 1 year ago

MayankD409 commented 1 year ago

I have been attempting to try the drone simulation but when I run the chatgpt_airsim.py it gives error. I tried reinitializing everything and performed all basic debugging still no success.

image

gullipalli-suneetha commented 1 year ago

I am also getting the same error. Someone help me to fix it. Thank you

saihv commented 1 year ago

Hi, is the AirSim simulation running along side? Can you see the environment and the drone initialized properly?

MayankD409 commented 1 year ago

Hi, is the AirSim simulation running along side? Can you see the environment and the drone initialized properly?

Yes the simulation is running in the background and I can see the drone and environment working.

gullipalli-suneetha commented 1 year ago

@Snorlax104 Chatgpt_aursim.py file running successfully without any errors?

MayankD409 commented 1 year ago

@Snorlax104 Chatgpt_aursim.py file running successfully without any errors?

No the above screenshot is for the same. These are the errors I am getting when I run chatgpt_airsim.py.

uiseoklee commented 1 year ago

I also had the same problem as above. After putting the access_token in the config.json file, I ran airsim and ran chatgpt_airsim.py. I also take a screenshot of my problem.

image

shamitb commented 1 year ago

Upgrade the revChatGPT package: pip install revChatGPT - it worked fine after this for me!

gullipalli-suneetha commented 1 year ago

after upgrade also getting same error.

huazai665 commented 1 year ago

I am also getting the same error.

yuan-alex commented 1 year ago

Connection was failing due to a change in the revChatGPT package's proxy. The latest release now uses the official OpenAI API.

huazai665 commented 1 year ago

@yuan-alex thank you. I can run the demo successfully. It is amazing.

langxinspieder commented 5 months ago

Initializing ChatGPT... Done. Initializing AirSim... no question response! what should I do?