Searching Internal and External Knowledge
Overview
This tutorial guides you through enhancing “The Orienteer” with the ability to search both internal company knowledge bases and external web resources to provide comprehensive answers to employee questions.
The Orienteer v2 Workflow
- User asks a question
- Agent consults the shared FAQ and answers quickly if the information exists
- If not found in the FAQ, consults the company knowledge base
- If more information is needed, searches the web for supplementary details
- Returns to the user with a complete answer, tagging relevant SMEs if the answer is incomplete
Implementation Steps
Step 1: Create the Company Information Domain Specialist
This specialized agent will handle searching through internal company knowledge. This is a highly reusable component that could serve multiple purposes beyond onboarding.
Key Considerations:
- Determine the scope of knowledge (team-specific, onboarding-related, or company-wide)
- Attach relevant data collections and files
- Configure appropriate search tools (deep think/smart filtering)
Implementation Tips:
- If your company already has a domain specialist agent for company information, consider using that instead of creating a new one
- Make this agent accessible to other agents beyond just The Orienteer
- Test thoroughly with various question types to ensure accurate information retrieval
Step 2: Create a Web Searcher Agent
This agent will handle external web searches to supplement internal knowledge when needed.
-
Create a new Agent named “Web Searcher” with this description: “This assistant should receive a URL or specific search query which will be used to search the web and extract reliable insights with inline cited sources.”
-
Enable web search capability and create a “Scrape URL” Firecrawl Action
-
Use this background prompt:
Note: This Web Searcher agent is highly reusable and should be made available to other agents in your organization.
Step 3: Update The Orienteer to Integrate Both New Agents
Attach both the Company Information Domain Specialist and Web Searcher as Actions to The Orienteer agent. Update the instructions prompt to:
Testing Your Implementation
- Ask a question that should be in the FAQ
- Ask a question that requires searching the internal company knowledge base
- Ask a question that might need supplementary information from the web
- Ask a complex question that requires combining information from multiple sources
- Ask a question where information might be incomplete to test the SME tagging functionality
This enhanced version of The Orienteer provides a more comprehensive information-gathering approach by leveraging both internal company knowledge and external web resources, ensuring new employees receive the most complete and accurate answers possible.