Files
wecom_it_smart_desk/scripts/debug/test_keyword_container.py
T

10 lines
288 B
Python
Raw Normal View History

2026-08-11 14:16:50 +08:00
import sys
sys.path.insert(0, '/app')
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}')