Developer Programs

Learn

Docs

Configuring jhDocs for AI Assist

Getting Started > Configuring AI Assist > Configuring jhDocs for AI Assist

In previous steps, we requested an AskJack agent and knowledge base and we set up our GitHub repo to keep our site content synced with AskJack.

After those 2 steps are performed, a GitHub workflow runs whenever you commit changes to the content in your site, updating your AskJack knowledge base, all behind the scenes.

We have one more configuration step, this time to turn on the AI Assist feature for your documentation site search.

In your site’s config.yaml file, you need to add the agent ID and knowledge base ID that you received from the AskJack team. Doing this lets jhDocs know that you already have an agent and knowledge base set up that it can query whenever the user enters search text.

  • First open your site’s config.yaml file.
  • Under the params section, add 2 new indented lines:
    • aiAssistAgentId specifies your AskJack agent ID.
    • aiAssistKbId specifies your AskJack knowledge base ID.

That’s all you need to add. After you have updated this and your site has been automatically rebuilt and deployed, your users will start seeing AskJack answers in their search results.

Sample section of a config.yaml file that has been configured for AI Assist
params:
  ...
  aiAssistAgentId: a4f1d2c9-58b7-4d3e-91a0-c6e7f8a9b2d3
  aiAssistKbId: 7b2e91a0-4c5d-4f68-b3a1-e9d0c2f5b8a7
Agent ID and KB ID are not secrets
Your AskJack agent ID and knowledge base ID are not secrets, so it’s ok for them to be visible in your config.yaml file.
Next topic: Developing Your Site Locally

Support options
Have questions on this topic?
Join the jhDocs team in Microsoft Teams to connect with the community.
See something in this page that needs to change?
Send us feedback on this page.

Did this page help you?

Last updated Wed Dec 24 2025