Skip to content

Commit b9de8b4

Browse files
committed
chore(ai): Add reminder to update the script in template.hbs
1 parent bd93174 commit b9de8b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

assets/js/ask-ai.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ function initializeChat({onChatLoad, chatAttributes}) {
1919
* available configuration options.
2020
* All values are strings.
2121
*/
22+
// If you make changes to data attributes here, you also need to port the changes to the api-docs/template.hbs API reference template.
2223
const requiredAttributes = {
2324
websiteId: 'a02bca75-1dd3-411e-95c0-79ee1139be4d',
2425
projectName: 'InfluxDB',
@@ -27,6 +28,7 @@ function initializeChat({onChatLoad, chatAttributes}) {
2728
}
2829

2930
const optionalAttributes = {
31+
3032
modalDisclaimer: 'This AI can access [documentation for InfluxDB, clients, and related tools](https://docs.influxdata.com). Information you submit is used in accordance with our [Privacy Policy](https://www.influxdata.com/legal/privacy-policy/).',
3133
modalExampleQuestions: 'Use Python to write data to InfluxDB 3,How do I query using SQL?,How do I use MQTT with Telegraf?',
3234
buttonHide: 'true',

0 commit comments

Comments
 (0)