MCPcopy Create free account
hub / github.com/echoVic/blade-code / analyzeSentiment

Method analyzeSentiment

src/agent/LLMManager.ts:231–234  ·  view source on GitHub ↗

* 情绪分析

(text: string)

Source from the content-addressed store, hash-verified

229 * 情绪分析
230 */
231 public async analyzeSentiment(text: string): Promise<string> {
232 const prompt = `请分析以下文本的情绪倾向(积极/消极/中性),并给出简短分析:\n\n"${text}"`;
233 return await this.chat(prompt);
234 }
235
236 /**
237 * 智能问答

Callers

nothing calls this directly

Calls 1

chatMethod · 0.95

Tested by

no test coverage detected