import sys sys.path.insert(0, 'backend') from app.services.asset_recommend_service import AssetRecommendService svc = AssetRecommendService() cards = svc.match_keywords('VPN连不上怎么办') print(f'Found {len(cards)} cards') for c in cards: print(f' - {c.title}: {c.description}')