JavaScript Helper Shortcut

Updated 08062022-191056


Social

JavaScript Helper - A simple use of Toolbox Pro's upcoming OpenAI integration - RoutineHub https://routinehub.co/shortcut/12761/

here's a quick shortcut using the upcoming @ToolboxProApp's integration with @OpenAI to form a chatbot-esque single-query, single-response flow stored in @cheatsheet_app, @simplenoteapp, or both! https://t.co/Ip40IUaRUc pic.twitter.com/JJ9LjeDkcg

— ⓓⓐⓥⓘⓓ ⓑⓛⓤⓔ (@NeoYokel) August 7, 2022

here's a quick shortcut using the upcoming @ToolboxProApp's integration with @OpenAI to form a chatbot-esque single-query, single-response flow stored in @cheatsheet_app, @Simplenote, or both! https://routinehub.co/shortcut/12761

Using the (currently in beta) OpenAI integration in Toolbox Pro to answer simple JS questions.

JavaScript Helper Shortcut
JavaScript Helper Shortcut

Requirements

This shortcut uses Toolbox Pro Beta's upcoming OpenAI integration to constitute a single-query, single-response "chatbot" integrating with the OpenAI API directly emulating the "JavaScript helper chatbot" example in the OpenAI documentation.

At install, you will be prompted to specify the default response length of replies. As the OpenAI example playground is configured, this length is "60 tokens," but I have personally found great success with 200. You will also be asked to specify a Cheatsheet folder in which to store responses.

By default, the shortcut will store the responses in both Cheatsheet for iOS and Simplenote for iOS. You may choose either/or by retaining or deleting the appropriate actions.

OpenAI Integration Token Input in Toolbox Pro Beta
OpenAI Integration Token Input in Toolbox Pro Beta

If you intend to use this shortcut repeatedly, you'll want to signup for a free OpenAI developer account to take advantage of its much higher usage cap.