Skip to content

Commit 7ef3322

Browse files
authored
Merge branch 'main' into 1910-reload-plugins
2 parents 0ae8013 + a1a5419 commit 7ef3322

6 files changed

Lines changed: 3198 additions & 2851 deletions

File tree

docs/private-networks/chatbot.mdx

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/public-networks/chatbot.mdx

Lines changed: 0 additions & 12 deletions
This file was deleted.

docusaurus.config.js

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,6 @@ const config = {
109109
position: "left",
110110
label: "Private networks",
111111
},
112-
{
113-
href: "/public-networks/chatbot",
114-
className: "header-chatbot-link",
115-
position: "right",
116-
},
117112
{
118113
href: "https://github.com/hyperledger/besu/",
119114
className: "header-github-link",
@@ -338,12 +333,23 @@ const config = {
338333
themes: [
339334
[
340335
require.resolve("@easyops-cn/docusaurus-search-local"),
341-
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
342-
({
343-
hashed: true,
336+
{
344337
docsRouteBasePath: "/",
338+
hashed: true,
345339
indexBlog: false,
346-
}),
340+
askAi: {
341+
project: "besu",
342+
apiUrl: process.env.ASK_AI_API_URL || "http://localhost:5000/api/stream?api_key=....",
343+
hotkey: "cmd+k",
344+
texts: {
345+
welcomeMessage:
346+
"Hi! I can answer questions about the documentation, its features or usage instructions. Be sure to check the source documentation links that I provide for full details.\n\n" +
347+
"Please do not input any of your own or another's personal information i.e, passwords, private keys, seed phrases, personal data, or other sensitive information. If you need support and do not want to engage with me, please reach out to us via Discord. Any information that you provide is not used for training my AI systems. For details on our data handling practices, see our Privacy Policy.\n\n" +
348+
"By proceeding you acknowledge the above.",
349+
inputPlaceholder: "Please ask a question",
350+
}
351+
},
352+
},
347353
],
348354
"@docusaurus/theme-mermaid",
349355
],

0 commit comments

Comments
 (0)