> For the complete documentation index, see [llms.txt](https://docs.boltai.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.boltai.com/docs/ai-command/customize-an-ai-command.md).

# Customize an AI Command

## How to customize an AI Command

You can customize any AI command to fit your needs.  Go to **Settings > AI Command > Select the command** then click "**Edit**"

1. **Command Label**: give it a friendly name
2. **Command Template**: this will be used as the prompt. You can use `{input}` placeholder for the highlighted text
3. **Behavior:** choose how BoltAI should proceed your request
   1. **Answer in a new window**: BoltAI start a new chat window with your prompt
   2. **Insert answer before selection:** BoltAI attempts to insert the answer before your highlighted tex
   3. **Insert answer after selection:** BoltAI attempts to insert the answer after your highlighted text. (Note: do not change your selection during AI is processing)
   4. **Replace current selection:** BoltAI attemps to replace your highlighted text  (Note: do not change your selection during AI is processing)
   5. **Copy to clipboard**: pretty self-explanatory
4. **API Provider:** which AI Provider should be used. Choose "Default" to always use the default AI service in **Settings > Models**
5. **Model:** which LLM model should be used
6. **Answer in language:** by default, BoltAI will answer in the same language as the input. However you can change this to your preferred language.
7. **Icon:** use an emoji as the icon for this AI Command
8. **Keyboard Shortcut:** assign a keyboard shortcut for this command. So instead of pressing `Command + Space` and then choose the command, you can trigger this shortcut directly. Save you 2 clicks

<figure><img src="/files/ZeadgowmxnNLLIzmaPwD" alt=""><figcaption><p>Customize an AI Command</p></figcaption></figure>

### Advanced Configuration

1. **System Instruction:** choose a system instruction to improve the AI output
2. **Temperature**: tweak the GPT `temperature` parameter

<figure><img src="/files/nQnYg7RAthg2YPht6dTw" alt=""><figcaption><p>AI Command Advanced Configuration</p></figcaption></figure>
