Generation tokens are required to generate new snippets. Generation tokens can be purchased via subscription, or, as a one-time purchase with Pay As You Go tokens. Learn more about generation tokens here.

Using a Rule Set is highly recommended in order to get the best result. Without a Rule Set applied, your snippet will be generated per the AI defaults.
- Use as specific language as possible. The generated result will only be as accurate as the prompt you provide. While you can get a good result with a simple prompt, the more detailed your expectaitons, the better.
- Use proper grammar and spelling. While the AI is pretty good about handling typos, if your prompt is difficult to reason through, it can have a negative effect on the result.
- If possible, provide examples of other code that can be used as a reference or starting point. For example, if you have a function written in Python that you’d like to use in Node.js, provide the Python code as an example, specifying that you’d like that code rewritten to work with JavaScript/Node.js.
Parrot does not save what the prompt you type in. If you’re writing a longer prompt, it’s recommended that you draft it in a file on your computer and then paste it in to the “Describe the Snippet to Generate” input.
Iterating on a Snippet
While the ideal outcome is that the generated snippet fits your needs on the first try, often, you will need to provide additional prompting after the first generation.