Autocomplete
- Codeium's Autocomplete model responds best to declarative (not instructive) code, descriptive function names, and good comments with examples of the desired inputs and outputs. See the table below for examples:
- Avoid trying to manually invoke autocomplete
- Allow this modality to be a passive uplift to your normal workflow
- Writing prompts in comments is bad practice! (see command below)
- Decorating your code with quality comments and information variable / function names yields the best results
Chat
- To get the most out of Codeium's chat model, make sure to ask specific, instructive questions as shown in the table below. In addition, you can help Codeium help you by providing Codeium with context. Use Codeium's context capabilities, such as using @ mentions to guide Codeium to the relevant code snippets or using Context-Pinning to pin relevant files.
- Be simple, specific, and short in your prompt
Command
- Command is great for command based, in-line changes
- This model is training to be especially good at instruction following
- Runs on a larger model than autocomplete
- Make sure to highlight the entire block of code you want Command to apply the diff on