Loading...
Loading...
Analyze finance text sentiment using FinBERT or LLM. Use when the user needs to determine the sentiment (positive/negative/neutral) and score of financial text markets.
npx skill4agent add rkiding/awesome-finance-skills alphaear-sentimentscripts/sentiment_tools.pyanalyze_sentiment(text){'score': float, 'label': str, 'reason': str}batch_update_news_sentiment(source, limit)请分析以下金融/新闻文本的情绪极性。
返回严格的 JSON 格式:
{"score": <float: -1.0到1.0>, "label": "<positive/negative/neutral>", "reason": "<简短理由>"}
文本: {text}update_single_news_sentiment(id, score, reason)torchtransformerssqlite3DatabaseManager