docs: add AI Assistant (#5249)

* added components

* added ai assistant button

* change styling

* improve AI assistant

* change to a drawer

* added command support into search

* add AiAssistant to all projects

* remove usage of Text component

* added error handling

* use recaptcha

* fix new configurations

* fix background color

* change suggested questions
This commit is contained in:
Shahed Nasser authored and GitHub committed 2023-10-05 11:10:44 +03:00
1 parent b6bea74914
commit b3f75d8f21
45 files changed
+1864 -437

No files matched your search

+6
View File
@@ -118,6 +118,12 @@ const config = {
analytics: {
apiKey: process.env.SEGMENT_API_KEY || "temp",
},
aiAssistant: {
apiUrl: process.env.AI_ASSISTANT_URL || "temp",
websiteId: process.env.AI_WEBSITE_ID || "temp",
recaptchaSiteKey:
process.env.AI_API_ASSISTANT_RECAPTCHA_SITE_KEY || "temp",
},
prism: {
defaultLanguage: "js",
plugins: ["line-numbers", "show-language"],