Dyn OpenAI - Docs
Dyn OpenAI - Docs
Documentation
Dynamo OpenAI Package - Documentation
OpenAI Package for Dynamo. That brings the power of artificial intelligence to your design
process.
A powerful tool that allows you to easily access the vast knowledge of any ChatGPT model
right within Dynamo. Providing a simple but powerful interface to any of OpenAI models.
Making the search process faster and more efficient. Input some text as a prompt, and the
model will generate a response that attempts to match whatever context or pattern you
provided.
With this package, you can quickly get answers to any questions related to building codes,
materials, or even surprise yourself by a fun question like "What's the meaning of life?" while
taking a break from your BIM work.
No additional setup or configuration required, simply install the package and start using it!
Perfect for architects, engineers, and BIM professionals looking to enhance their Dynamo
workflow.
An open-source initiative that invites developers and enthusiasts from around the world to
join in and contribute. We're passionate about building a vibrant community of like-minded
individuals who share our vision, and we believe that open collaboration and peer review are
the keys to creating innovative and impactful solutions. So, whether you're a seasoned coder
or just starting out, we encourage you to get involved.
Features
1. Send prompts and receive response from and to any OpenAI Model.
• text-davinci-003 • code-davinci-002 • text-curie-001
• code-cushman-001 • text-babbage-001 • text-ada-001
2. Password Encrypted API Key.
3. Customizable Temperature and Max Tokens/Prompt.
4. Supported by any Dynamo or Revit Version.
2
Dynamo OpenAI Package - Documentation
How to use
1. Download and install the OpenAI package from Dynamo Package Manager.
2. Click on the "Dyn OpenAI" tab in the library section.
3. Click on and place the “ChatGPT” node.
4. Place a string node and enter you Open AI API Key or Get you own key from
Account API Keys - OpenAI API
5. Select your desired model from the OpenAi Model list.
i. Refer to table 1-1.
6. Enter temperature value
i. It must be between 0 and 1.
“0” if you are looking for straight-forward answers to easy questions. “1” means you are
asking the model to try to be creative with its responses – especially for yes or no
questions.
More Info at Temperature – OpenAI
7. Enter Maximum tokens per prompt in a number node or a slider.
i. Depends on each model, refer to table 1-1.
8. To ask a question, simply type it into a string node and press "RUN".
9. The package will send your question to the OpenAI model, which will generate
and return back a string response.
3
Dynamo OpenAI Package - Documentation
MAX TRAINING
MODEL DESCRIPTION
TOKENS DATA
Most capable GPT-3 model. Can do any task the other
text-davinci-003 models can do, often with higher quality, longer output 4,000 Up to Jun 2021
and better instruction-following.
text-curie-001 Very capable, but faster and lower cost than Davinci. 2,048 Up to Oct 2019
Capable of straightforward tasks, very fast, and lower
text-babbage-001 cost.
2,048 Up to Oct 2019
Capable of very simple tasks, usually the fastest model
text-ada-001 in the GPT-3 series, and lowest cost.
2,048 Up to Oct 2019
code-davinci-002 Most capable Codex model. Particularly good at
translating natural language to code. In addition to
8,000 Up to Jun 2021
completing code, also supports inserting completions
within code.
code-cushman-001 Almost as capable as Davinci Codex, but slightly faster.
This speed advantage may make it preferable for real- 2048
time applications.
Table1-1 More Info at Models - OpenAI