This is an automated email from the ASF dual-hosted git repository.
danny0405 pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 70d39aec9912 [Website][Minor] - Add Ask AI Assistant to the Hudi
Website (#13876)
70d39aec9912 is described below
commit 70d39aec9912aba6f5d02f46625b320fadc430b2
Author: Ranga Reddy <[email protected]>
AuthorDate: Thu Sep 11 07:46:55 2025 +0530
[Website][Minor] - Add Ask AI Assistant to the Hudi Website (#13876)
---
website/docusaurus.config.js | 30 +++++++++++++++++++++++++++++-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index 5cc42740847b..d64117326896 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -564,7 +564,35 @@ module.exports = {
},
],
],
- scripts: [],
+ scripts: [
+ {
+ src: "https://widget.kapa.ai/kapa-widget.bundle.js",
+ "data-website-id": "9e4444ba-93cc-45ea-b143-783ae0fbeb6f",
+ "data-project-name": "Apache Hudi",
+ "data-project-color": "#FFFFFF",
+ "data-project-logo":
"https://hudi.apache.org/assets/images/logo-big.png",
+ "data-modal-disclaimer": "This AI assistant answers Apache Hudi
questions using your
[documentation](https://hudi.apache.org/docs/quick-start-guide/), [dev
setup](https://hudi.apache.org/contribute/developer-setup/), the [tech
specs](https://hudi.apache.org/tech-specs-1point0/) and open GitHub Issues from
the last year.",
+ "data-modal-title": "Apache Hudi AI Assistant",
+ "data-modal-example-questions-title": "Try asking me...",
+ "data-modal-example-questions": "How can I convert an existing COW table
to MOR?,How do I set up incremental queries with Hudi tables?",
+ "data-modal-image" :
"https://hudi.apache.org/assets/images/logo-big-2.png",
+ "data-modal-image-ask-ai" :
"https://hudi.apache.org/assets/images/logo-big-2.png",
+ "data-modal-header-min-height" : "64px",
+ "data-modal-image-height": "40",
+ "data-modal-image-width": "40",
+ "data-modal-header-bg-color": "#ffffff",
+ "data-modal-title-color": "rgb(13, 177, 249)",
+ "data-button-text-color": "rgb(41, 85, 122)",
+ "data-button-text": "Ask AI",
+ "data-consent-required": "true",
+ "data-consent-screen-title": "Help us improve our AI assistant",
+ "data-consent-screen-disclaimer" : "By clicking "Allow
tracking", you consent to the use of the AI assistant in accordance with
kapa.ai's [Privacy Policy](https://www.kapa.ai/content/privacy-policy). This
service uses reCAPTCHA, which requires your consent to Google's [Privacy
Policy](https://policies.google.com/privacy) and [Terms of
Service](https://policies.google.com/terms). By proceeding, you explicitly
agree to both kapa.ai's and Google's privacy policies.",
+ "data-consent-screen-accept-button-text": "Allow tracking",
+ "data-query-input-placeholder-text-color": "rgb(41, 85, 122)",
+ "data-submit-query-button-bg-color": "#000",
+ async: true,
+ }
+ ],
stylesheets: [
"https://fonts.googleapis.com/css?family=Comfortaa|Ubuntu|Roboto|Source+Code+Pro",
"https://at-ui.github.io/feather-font/css/iconfont.css",