Skip to content

Take my spoken commands and convert them to arcpy code.

License

Notifications You must be signed in to change notification settings

liljohnak/SpeachToCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This may be useful for anyone who wants to write arcpy python code with their voice. Steps:

  1. Get a developer API key from OpenAI
    1. Right click My Computer>>Click Properties
    2. Properties Window>>Click Set the environment variables
    3. Environment Variables Window>>Click the New button under variables
    4. Name it OPENAI_API_KEY2 and set the value to the key OpenAI has given you, then click Ok.
  2. Run python speachToCode.py
  3. The Whisper AI understanding is saved as an audio here: %USERPROFILE%\Documents\Sound recordings, and arcpy python code is generated in the response.

About

Take my spoken commands and convert them to arcpy code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages