Knowledge in Relevance AI refers to any information that your agents can access and reference when responding to queries or performing tasks. This information can come in various forms:
Factual information stored in knowledge bases
Contextual examples that demonstrate desired outputs
External data sources connected through integrations
Website content extracted from specific URLs
Think of knowledge as the reference material your agents consult before formulating responses. Just as a human expert might refer to documentation, databases, or examples before answering a question, your AI agents can leverage knowledge to ground their responses in factual information.
Semantic search finds information based on meaning rather than exact keyword matches. This allows agents to retrieve relevant information even when queries use different terminology than what’s in the knowledge base.To optimize for semantic search:
Structure your knowledge with clear, descriptive content
Include synonyms and alternative phrasings for important concepts
Organize related information together for better contextual understanding
Hybrid search combines semantic search with keyword matching for more precise results. This is particularly useful when your knowledge base contains specific terminology or unique identifiers.
Q: How much knowledge can I add to my agents?A: Relevance AI supports extensive knowledge bases, but for optimal performance, focus on providing relevant, well-structured information rather than simply maximizing volume.Q: Can I use multiple knowledge bases with a single agent?A: Yes, you can connect multiple knowledge bases to one agent. The agent will search across all connected knowledge bases when responding to queries.Q: How do I know if my agent is using the knowledge effectively?A: Use the agent testing interface to see which knowledge sources are being retrieved for specific queries. You can also review conversation logs to see how knowledge is being incorporated into responses.Q: Can I prioritize certain knowledge over others?A: Yes, you can configure retrieval settings to prioritize specific knowledge bases or types of information based on relevance scores or metadata attributes.Q: What’s the difference between knowledge and tools?A: Knowledge provides information for agents to reference, while tools enable agents to perform actions or access external systems. Knowledge informs what agents know, while tools expand what agents can do.