Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Enrich articles with background, prior art, and hype detection
praisonai recipe run ai-context-enricher \ --input '{"articles": [...]}' \ --json
import sys sys.path.insert(0, 'agent_recipes/templates/ai-context-enricher') from tools import enrich_article, add_background, detect_hype # Enrich single article enriched = enrich_article(article) # Add background context with_background = add_background(article) # Detect hype level hype_analysis = detect_hype(article["content"])
{ "type": "object", "properties": { "articles": {"type": "array"}, "include_background": {"type": "boolean", "default": true}, "include_prior_art": {"type": "boolean", "default": true}, "include_stakeholders": {"type": "boolean", "default": true}, "detect_hype": {"type": "boolean", "default": true} } }
{ "enriched_articles": [ { "title": "...", "background": "Historical context...", "prior_art": ["Related work 1", "Related work 2"], "stakeholders": ["Company A", "Researcher B"], "hype_score": 0.7, "hype_indicators": ["buzzwords", "unverified claims"] } ] }