usefulness-search
A demo that selects search results for an AI agent to read based on usefulness and estimated cost.
What does it do?
Before an agent reads the body of a search result, Xtract scores each page's expected usefulness and reading cost. The agent uses those scores to read only the pages it needs. Running the demo requires Python 3 and OpenAI and Keenable API keys; it generates a demo.html file viewable in a browser. Search and model responses are cached, allowing the demo to run offline later when the cache is available. Page prices are simulated.
Key features
- Evaluate search pages for task usefulness and reading cost
- Select pages for the agent to read based on the evaluation
- Generate a browser-viewable demo.html
- Cache responses and rerun offline when a cache is available
- Simulate page prices to compare costs