|
| 1 | +--- |
| 2 | +title: "AIChatbot" |
| 3 | +description: "Configure the AI chatbot sidebar." |
| 4 | +category: "Content settings" |
| 5 | +--- |
| 6 | + |
| 7 | +Configure the AI chatbot sidebar, including which built-in providers are available and the ability to add custom providers. |
| 8 | +For more information, see [Access AI chatbots in Firefox](https://support.mozilla.org/en-US/kb/ai-chatbot) on support.mozilla.org. |
| 9 | + |
| 10 | +> [!NOTE] |
| 11 | +> Currently, this is only implemented in Firefox Enterprise. |
| 12 | +
|
| 13 | +**Compatibility:** Firefox Enterprise 149.0.0\ |
| 14 | +**CCK2 Equivalent:** N/A\ |
| 15 | +**Preferences Affected:** `browser.ml.chat.enabled`, `browser.ml.chat.provider`, `browser.ml.chat.providers`, `browser.ml.chat.shortcuts`, `browser.ml.chat.prompts.0`, `browser.ml.chat.prompts.1`, `browser.ml.chat.prompts.2`, `browser.ml.chat.prompts.3` |
| 16 | + |
| 17 | +## Values |
| 18 | + |
| 19 | +- `Providers`: Configures the available AI chatbot providers. |
| 20 | + - `Add`: An array of custom provider objects to add. |
| 21 | + Each object accepts the following properties: |
| 22 | + - `url` (required): The URL of the AI chatbot provider. |
| 23 | + - `name` (required): Display name for the provider. |
| 24 | + - `id` (required): Unique identifier for the provider. |
| 25 | + - `iconUrl`: URL of the provider's icon. |
| 26 | + - `queryParam`: Query parameter name used to pass prompts to the provider. |
| 27 | + - `BuiltIn`: An object to enable or disable individual built-in providers. |
| 28 | + Set a provider key to `true` to enable it or `false` to disable it. |
| 29 | + The following built-in providers are available: |
| 30 | + - `Anthropic Claude` |
| 31 | + - `ChatGPT` |
| 32 | + - `Copilot` |
| 33 | + - `Google Gemini` |
| 34 | + - `HuggingChat` |
| 35 | + - `Le Chat Mistral` |
| 36 | + - `localhost` |
| 37 | + - `Default`: The `name` of the provider to use as the default. |
| 38 | +- `Prompts`: Configures the AI chatbot prompt suggestions. |
| 39 | + - `Enabled`: Set to `true` to enable prompt suggestions or `false` to disable them. |
| 40 | + - `BuiltIn`: An object to enable or disable individual built-in prompts. |
| 41 | + Set a prompt key to `true` to enable it or `false` to disable it. |
| 42 | + The following built-in prompts are available: |
| 43 | + - `Summarize` |
| 44 | + - `Explain` |
| 45 | + - `Quiz` |
| 46 | + - `Proofread` |
| 47 | + |
| 48 | +## Windows (GPO) |
| 49 | + |
| 50 | +``` |
| 51 | +Software\Policies\Mozilla\Firefox\AIChatbot\Providers\Add\1\url = "https://example.com" |
| 52 | +Software\Policies\Mozilla\Firefox\AIChatbot\Providers\Add\1\name = "Example AI" |
| 53 | +Software\Policies\Mozilla\Firefox\AIChatbot\Providers\Add\1\id = "example-ai" |
| 54 | +Software\Policies\Mozilla\Firefox\AIChatbot\Providers\Add\1\iconUrl = "https://example.com/icon.png" |
| 55 | +Software\Policies\Mozilla\Firefox\AIChatbot\Providers\Add\1\queryParam = "q" |
| 56 | +Software\Policies\Mozilla\Firefox\AIChatbot\Providers\BuiltIn\Anthropic Claude = 0x1 | 0x0 |
| 57 | +Software\Policies\Mozilla\Firefox\AIChatbot\Providers\BuiltIn\ChatGPT = 0x1 | 0x0 |
| 58 | +Software\Policies\Mozilla\Firefox\AIChatbot\Providers\BuiltIn\Copilot = 0x1 | 0x0 |
| 59 | +Software\Policies\Mozilla\Firefox\AIChatbot\Providers\BuiltIn\Google Gemini = 0x1 | 0x0 |
| 60 | +Software\Policies\Mozilla\Firefox\AIChatbot\Providers\BuiltIn\HuggingChat = 0x1 | 0x0 |
| 61 | +Software\Policies\Mozilla\Firefox\AIChatbot\Providers\BuiltIn\Le Chat Mistral = 0x1 | 0x0 |
| 62 | +Software\Policies\Mozilla\Firefox\AIChatbot\Providers\BuiltIn\localhost = 0x1 | 0x0 |
| 63 | +Software\Policies\Mozilla\Firefox\AIChatbot\Providers\Default = "example-ai" |
| 64 | +Software\Policies\Mozilla\Firefox\AIChatbot\Prompts\Enabled = 0x1 | 0x0 |
| 65 | +Software\Policies\Mozilla\Firefox\AIChatbot\Prompts\BuiltIn\Summarize = 0x1 | 0x0 |
| 66 | +Software\Policies\Mozilla\Firefox\AIChatbot\Prompts\BuiltIn\Explain = 0x1 | 0x0 |
| 67 | +Software\Policies\Mozilla\Firefox\AIChatbot\Prompts\BuiltIn\Quiz = 0x1 | 0x0 |
| 68 | +Software\Policies\Mozilla\Firefox\AIChatbot\Prompts\BuiltIn\Proofread = 0x1 | 0x0 |
| 69 | +``` |
| 70 | + |
| 71 | +## macOS |
| 72 | + |
| 73 | +```xml |
| 74 | +<dict> |
| 75 | + <key>AIChatbot</key> |
| 76 | + <dict> |
| 77 | + <key>Providers</key> |
| 78 | + <dict> |
| 79 | + <key>Add</key> |
| 80 | + <array> |
| 81 | + <dict> |
| 82 | + <key>url</key> |
| 83 | + <string>https://example.com</string> |
| 84 | + <key>name</key> |
| 85 | + <string>Example AI</string> |
| 86 | + <key>id</key> |
| 87 | + <string>example-ai</string> |
| 88 | + <key>iconUrl</key> |
| 89 | + <string>https://example.com/icon.png</string> |
| 90 | + <key>queryParam</key> |
| 91 | + <string>q</string> |
| 92 | + </dict> |
| 93 | + </array> |
| 94 | + <key>BuiltIn</key> |
| 95 | + <dict> |
| 96 | + <key>Anthropic Claude</key> |
| 97 | + <true/> | <false/> |
| 98 | + <key>ChatGPT</key> |
| 99 | + <true/> | <false/> |
| 100 | + <key>Copilot</key> |
| 101 | + <true/> | <false/> |
| 102 | + <key>Google Gemini</key> |
| 103 | + <true/> | <false/> |
| 104 | + <key>HuggingChat</key> |
| 105 | + <true/> | <false/> |
| 106 | + <key>Le Chat Mistral</key> |
| 107 | + <true/> | <false/> |
| 108 | + <key>localhost</key> |
| 109 | + <true/> | <false/> |
| 110 | + </dict> |
| 111 | + <key>Default</key> |
| 112 | + <string>example-ai</string> |
| 113 | + </dict> |
| 114 | + <key>Prompts</key> |
| 115 | + <dict> |
| 116 | + <key>Enabled</key> |
| 117 | + <true/> | <false/> |
| 118 | + <key>BuiltIn</key> |
| 119 | + <dict> |
| 120 | + <key>Summarize</key> |
| 121 | + <true/> | <false/> |
| 122 | + <key>Explain</key> |
| 123 | + <true/> | <false/> |
| 124 | + <key>Quiz</key> |
| 125 | + <true/> | <false/> |
| 126 | + <key>Proofread</key> |
| 127 | + <true/> | <false/> |
| 128 | + </dict> |
| 129 | + </dict> |
| 130 | + </dict> |
| 131 | +</dict> |
| 132 | +``` |
| 133 | + |
| 134 | +## policies.json |
| 135 | + |
| 136 | +```json |
| 137 | +{ |
| 138 | + "policies": { |
| 139 | + "AIChatbot": { |
| 140 | + "Providers": { |
| 141 | + "Add": [ |
| 142 | + { |
| 143 | + "url": "https://example.com", |
| 144 | + "name": "Example AI", |
| 145 | + "id": "example-ai", |
| 146 | + "iconUrl": "https://example.com/icon.png", |
| 147 | + "queryParam": "q" |
| 148 | + } |
| 149 | + ], |
| 150 | + "BuiltIn": { |
| 151 | + "Anthropic Claude": true | false, |
| 152 | + "ChatGPT": true | false, |
| 153 | + "Copilot": true | false, |
| 154 | + "Google Gemini": true | false, |
| 155 | + "HuggingChat": true | false, |
| 156 | + "Le Chat Mistral": true | false, |
| 157 | + "localhost": true | false |
| 158 | + }, |
| 159 | + "Default": "example-ai" |
| 160 | + }, |
| 161 | + "Prompts": { |
| 162 | + "Enabled": true | false, |
| 163 | + "BuiltIn": { |
| 164 | + "Summarize": true | false, |
| 165 | + "Explain": true | false, |
| 166 | + "Quiz": true | false, |
| 167 | + "Proofread": true | false |
| 168 | + } |
| 169 | + } |
| 170 | + } |
| 171 | + } |
| 172 | +} |
| 173 | +``` |
0 commit comments