Skip to main content

Build an Enterprise Knowledge Assistant

This exercise creates an assistant that answers questions about a fictional expense policy. You need an available model, a knowledge base you can manage, and permission to publish an agent.

Prepare the source​

Save the following sample as expense-policy-sample.md and upload it to a knowledge base or LLM Wiki.

Submit travel expense claims within 10 business days after returning. Include an itemized expense list, invoices, and itinerary records. Your manager approves the claim before Finance reviews it.

Wait for processing. For an LLM Wiki, generate, review, and publish the candidate first.

Configure and test​

  1. Start from a knowledge assistant template or a blank agent. Name it Expense Policy Assistant.
  2. In System Instructions, set the instructions to answer from the linked sources, give the conclusion first, and identify the source. If the policy does not cover a question, ask the user to confirm with Finance.
  3. Select the model and attach the knowledge base. Set access and runtime options, then publish and try the agent.
  4. Ask when to submit the claim and which documents are required. Check the answer and source. Ask about airfare limits to verify how the agent handles missing evidence.
  5. Verify the published address with an authorized account and an account without access. After a source update, test one changed policy and one unchanged policy.