Skip to content

Commit 1f1c5c1

Browse files
authored
Merge pull request #1314 from ethereum-optimism/ai-assistant-notes
Create kapa-ai-assistant.md for notes
2 parents b30ddc5 + 444cc83 commit 1f1c5c1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

notes/kapa-ai-assistant.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# [kapa.ai](http://kapa.ai) assistant details
2+
3+
## Configuration
4+
5+
Everything required for the code configuration for the [kapa.ai](http://kapa.ai) assistant lies in the `theme.config.ts` file of the repo. There you will find the `<script>` tag which brings in the kapa.ai assistant modal into the website.
6+
7+
Configuration details for this script tag can be found in the [kapa.ai](http://kapa.ai) documentation here: https://docs.kapa.ai/
8+
9+
Currently the website has the modal enabled by a custom button component located at `components/AskAIButton.tsx`
10+
11+
## Enabling/disabling the feature
12+
13+
The kapa AI assistant con be toggled on and off on the website by toggling the **`enable_docs_ai_widget`** feature flag.

0 commit comments

Comments
 (0)