Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GHScriptGPT

This plugin utilizes the OpenAI API functionality to generate source code for Grasshopper's C# scripting components.

01


Installation

  1. Download the plugin files from the Releases section of this repository.
  2. Put it in the Grasshopper/Libraries folder.

Usage

First, configure the API key and other settings from the gear button.

After setting the API key, make sure that Settings.xml is generated in the plugin folder.

02

Each setting item is described below.

  • APIKey: Put the API key of OpenAI API. If you do not have an OpenAI API account, please sign up on this page.

  • OrganizationID: Specify the OrganizationID of OpenAI API if necessary. If you do not enter anything, the default one will be used.

  • ModelName: Specify the model to be used. The names of available models are on this page.

  • PromptLanguage: Set the language to be used in the Prompt. This will change the language of the response from ChatGPT.


Be sure to use a single C# script editor open.

If you do not have an editor open or have more than one editor open, you will receive a warning. 03


Features

  • Generate

04


  • Code Completion

05


  • Fix Error

06

About

No description, website, or topics provided.

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages