The recipe
Search is a retrieval primitive: a natural-language query in, a ranked list of verified units out. The power is in the facets you compose over it. You scope each query to your territory, pull a specific layer of the decomposition, find more units like one that matters, tune for recency and source diversity, then drill any signal to its full set of units.Search your territory
A natural-language query, narrowed by
entity, theme, and window to the scope you defined. Retrieval is semantic, so phrase the query like a question, not a keyword string.Filter by role
Pull one layer of the decomposition with
role: thesis / synopsis (the central position), argument (the reasoning), or claim (atomic factual assertions).Find more like this
Pass
similar_to a unit id to get embedding-backed “more like this”: the cluster of units making the same point, across independent sources.Tune the ranking
recency_boost favors newer signals; diversity_cap limits units per source, so one prolific author can’t dominate the page.gildea, set GILDEA_API_KEY, then (pure SDK, no model calls):