This example shows how to build Sage, a Perplexity-like Answer Engine that intelligently determines whether to perform a web search or conduct a deep analysis using ExaTools based on the user’s query.Sage:
Uses real-time web search (DuckDuckGo) and deep contextual analysis (ExaTools) to provide comprehensive answers
Intelligently selects tools based on query complexity
Provides an interactive Streamlit UI with session management and chat history export