Knowledge Agent
This is a 'Project' template which means that it contains a group of workflows that work together to achieve a particular aim
Knowledge Agent with Multi-Source SearchCopy
OverviewCopy
This accelerator enables you to create an AI-powered knowledge agent that searches across multiple sources to provide comprehensive answers to your team's questions. The agent combines knowledge from webscraping with web search capabilities to deliver accurate, contextualized responses.
Key FeaturesCopy
Public Documentation Search: Leverage your organization's public documentation
Google Search Integration: Augment responses with current web information
Intelligent Response Generation: Uses advanced LLMs to synthesize information from multiple sources
PrerequisitesCopy
Before implementing this template, you will need:
To make sure your organization has this AI feature enabled (Admin access required)
Access to a Tray.io instance with API credentials
URLs for your public documentation
Authentication token for Google Search API
Getting LiveCopy
Initial SetupCopy
Create a new project
Select "Merlin Agent Builder"
Select the Knowledge Agent accelerator
Create or select required authentications
Configure Knowledge SourcesCopy
Scrape your Public Documentation
Add documentation URLs to the scraping form or the manual scraping workflow
Set up crawling depth
Google Search Integration
Add your Google Search API credentials
Deploy the AgentCopy
Enable the main workflow
Test with sample queries
Monitor performance and adjust the system prompt as needed
Key Workflow ComponentsCopy
Knowledge ProcessingCopy
Documentation Crawler: Indexes public documentation
Vector Creation: Generates embeddings for all content
Knowledge Storage: Manages vector database operations
Query ProcessingCopy
Query Understanding: Agent reasons over the user questions
Response Generation: Synthesizes information into coherent answers
Session Management: Maintains context across invocations of the agent that are related
Search IntegrationCopy
Search tool: Agent determines when to use Google Search
Source Attribution: Tracks and cites information sources
Best PracticesCopy
Regularly update your knowledge base
Monitor and adjust RAG thresholds (both in the search tool and knowledge tool)
Review and refine response quality
Implement feedback loops for continuous improvement
Add more tools that have access to internal knowledge (CRM, Internal Documentation, etc)
Run evaluations - you can follow our guidance here