Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/LouisRossouw/chatGPT-maya

Simple Maya tool that utilizes open AI to perform basic tasks based on descriptive instructions.
https://github.com/LouisRossouw/chatGPT-maya

ai chatgpt chatgpt-maya maya openai

Last synced: 29 days ago
JSON representation

Simple Maya tool that utilizes open AI to perform basic tasks based on descriptive instructions.

Awesome Lists containing this project

README

        

# chatGPT-maya

Just a tool that simply executes the code to maya after being generated by openai chatGPT.

Unfortunatly, complicated requests don't work,
but simple automation tasks works, specially if you communicate in a logical way and break down steps.

To test out and play with it:

- You need to navigate to your Program Files\Autodesk\Maya20**\bin,

- Inside this directory you need to open up a cmd terminal and run "mayapy -m pip install openai" to install openai python package into Maya (its important your cmd terminals path points to the Program Files\Autodesk\Maya20**\bin path. )

- you need to get an API key from https://platform.openai.com/account/api-keys

- go to my github account and copy the code into your Maya script editor,
https://github.com/LouisRossouw/chatGPT-maya/blob/master/ChatGPT_Maya.py

- either add your API key into an environment variable called "OPENAI_API_KEY", OR on line 44 where it says API = os.getenv("OPENAI_API_KEY") , replace it with your new API key from openai (Not recommended, your API keys should be kept private.).

https://user-images.githubusercontent.com/80905013/208193188-537dc08e-5482-4b8d-bf3f-7f66b3d34759.mp4