Standard Templates
Last updated
Last updated
Bito Inc. (c) 2024
Generating the best possible response is as much science as art. The Bito AI models are built on the same technology as ChatGPT handles the science part. Crafting a good prompt is the art part. The Templates in Bito takes the burden off your shoulder in being crafty. You can select a piece of code and use one of the eight prompts, whether you want to check the code for performance or add error handling. Behind-the-scene actor "Bito Prompt Manager" crafts a well-versed prompt that squeezes the best response out of the machine. You can also save your favorite prompts for quick access anytime. Check out Custom Prompt Templates.
Click on the Templates button to expand or collapse Templates menu.
/
Command in Bito Chat BoxType a forward slash /
right at the start in the Bito chat box. Once you do, the template menu will open from where you can quickly select and use the template you want.
Want to narrow down your choices? Simply start typing after the /
slash, and it'll only show you templates that match your words. And hey, you can also use the arrow keys, or Tab and Shift + Tab, to navigate the templates menu.
Select code, right click, and click Bito AI to access shortcuts
Go to View -> Command Palette -> Type "Bito" to access the templates
The following Loom demonstrates Standard Templates in Bito:
Bito includes the following standard templates out of the box.
Explain Code
Explains what the code does and how it works.
Generate Comment
Generate a comment for the selected code
Performance Check
Checks code for the performance, and rewrites the code with suggested optimization.
Security Check
Check code for the basic security checks, and rewrites the code with suggested fixes.
Style Check
Check the code for the common style issues, and rewrites with suggested fixes.
Improve Readability
Refactor the code for better readability
Clean Code
Remove debug statements
Generate Unit Tests
Generate the unit tests for the selected code,