Skip to content

Add Glossary Assistant (client-side chatbot)Feature/glossary assistant#3626

Closed
sudheerr937-ai wants to merge 5 commits intocncf:mainfrom
sudheerr937-ai:feature/glossary-assistant
Closed

Add Glossary Assistant (client-side chatbot)Feature/glossary assistant#3626
sudheerr937-ai wants to merge 5 commits intocncf:mainfrom
sudheerr937-ai:feature/glossary-assistant

Conversation

@sudheerr937-ai
Copy link
Copy Markdown

What this PR does

This PR introduces a client-side "Glossary Assistant" chatbot for the CNCF Glossary site.

The assistant allows users to search glossary terms interactively using a lightweight UI powered by a generated JSON dataset.

Key features

  • Chat-style assistant UI
  • Client-side search (no backend required)
  • Powered by static glossary.json generated from Markdown files
  • Fast and works offline with Hugo build

Implementation details

  • Added script to generate glossary JSON from content/en
  • Created chatbot UI and search logic in static/js/chatbot.js
  • Integrated chatbot into base layout
  • Controlled via config flag

Testing

  • Tested locally with hugo serve -D
  • Verified chatbot functionality and search results

Fixes #3624

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 25, 2026

Deploy Preview for cncfglossary ready!

Name Link
🔨 Latest commit 877103f
🔍 Latest deploy log https://app.netlify.com/projects/cncfglossary/deploys/69da8c80be7f750008c20470
😎 Deploy Preview https://deploy-preview-3626--cncfglossary.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sudheerr937-ai
Copy link
Copy Markdown
Author

Hi, this is my first contribution to the CNCF Glossary project.

I’ve implemented a client-side Glossary Assistant chatbot that allows users to search glossary terms interactively.

Happy to make any changes or improvements based on feedback. Thanks!

@sudheerr937-ai
Copy link
Copy Markdown
Author

I’ve added a brief overview before displaying the results to provide quick context. I also structured the output to highlight the top glossary match separately and organized related matches below, while removing duplicate entries.

Would appreciate your feedback on the updated behavior.

Signed-off-by: sudheerr937-ai <sudheer.r937@gmail.com>
Signed-off-by: sudheerr937-ai <sudheer.r937@gmail.com>
Signed-off-by: sudheerr937-ai <sudheer.r937@gmail.com>
Signed-off-by: sudheerr937-ai <sudheer.r937@gmail.com>
@sudheerr937-ai sudheerr937-ai force-pushed the feature/glossary-assistant branch from 91dd18d to 2e5fd78 Compare April 6, 2026 18:35
Signed-off-by: sudheerr937-ai <sudheer.r937@gmail.com>
@nate-double-u
Copy link
Copy Markdown
Member

Hello @sudheerr937-ai, thank you for your effort; however, as noted in #3624, the glossary maintainers do not feel we need a chat bot on the glossary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Add an AI Chatbot to CNCF Glossary

2 participants