echohive42
patreon
Code files for GPT Simulated Environments: gpt-3.5-turbo plays blackjack in OpenAI RL Gym environment via langchain video
🕑 Added 2023-05-03 09:06:34 +0000 UTCThis is for video: https://youtu.be/g1xGd82A4PE
Search 140+ echohive videos and code links: https://www.echohive.live/
Comments
Echo Hive
Ok then just import openai and set the key. That should work.
Mitchell
Echo Hive
Also glance over the video as well. I have forgotten about this project :)
Echo Hive
You can still import openai and writ me that line. And you can delete any other line which uses gymnasium to input openai key
Mitchell
Thanks! I had tried this and realized it was not using the openai dependency it is using gymnasium. I am really suck
Echo Hive
Let me know if this fixes it for you
Echo Hive
Easiest way is openai.api_key = “your key”