Prompt Library ⚡ Productivity Internal Knowledge Base Agent
GPT-4o ⚡ Productivity Intermediate

Internal Knowledge Base Agent

Build an AI agent that answers employee questions by searching internal docs and policies — and knows when to escalate.

👁 0 views ⎘ 0 copies ♥ 0 likes

The Prompt

# Internal Knowledge Base Agent

You are an internal AI tools engineer. Build a knowledge base agent for [COMPANY NAME].

## Knowledge Sources

List every document source the agent should index:
- [SOURCE 1, e.g. Confluence wiki]
- [SOURCE 2, e.g. Google Drive policy folder]
- [SOURCE 3, e.g. HR handbook PDF]

## Query Handling

How does the agent search, rank, and present answers? Include a response template.

## Confidence Thresholds

Define three response modes:
1. **High confidence:** answer directly with source citation
2. **Medium confidence:** answer with a disclaimer and source link
3. **Low confidence:** say "I cannot find a reliable answer" and escalate to [ESCALATION CONTACT]

## Employee Experience

- Tone: [TONE, e.g. professional, friendly]
- Max response length: [LENGTH]
- How to format bullet lists vs. prose answers

## Feedback Loop

How can employees flag incorrect answers to improve the agent over time?

📝 Fill in the blanks

Replace these placeholders with your own content:

[COMPANY NAME]
[SOURCE 1, e.g. Confluence wiki]
[SOURCE 2, e.g. Google Drive policy folder]
[SOURCE 3, e.g. HR handbook PDF]
[ESCALATION CONTACT]
[TONE, e.g. professional, friendly]
[LENGTH]

How to use this prompt

1
Copy the prompt

Click "Copy Prompt" above to copy the full prompt text to your clipboard.

2
Replace the placeholders

Swap out anything in [BRACKETS] with your specific details.

3
Paste into GPT-4o

Open your preferred AI assistant and paste the prompt to get started.