fix: 修改提示词,约束ai的回复
This commit is contained in:
parent
e7a037c640
commit
758a59dd2a
@ -697,7 +697,7 @@ func generateArtistMetricsAnalysis(resp *cast.ArtistMetricsSeriesResp) (string,
|
||||
platformDesc := "平台枚举说明:1=TIKTOK, 2=YouTube, 3=Instagram, 4=Dailymotion, 5=BULESKY"
|
||||
|
||||
// 构建 prompt
|
||||
prompt := fmt.Sprintf(`%s\n根据以下艺人各平台运营数据分析运营的各平台数据表现,结合相关数据简要表述优点,字数在200字内。注意:回复时请使用平台名称(如TIKTOK、YOUTUBE、INS、Dailymotion、BULESKY)而非数字:\n%s`, platformDesc, dataSummary.String())
|
||||
prompt := fmt.Sprintf(`%s\n根据以下艺人各平台运营数据分析运营的各平台数据表现,结合相关数据简要表述优点,字数在200字内(但是回复的时候不要返回具体的字数。注意:回复时请使用平台名称,如TIKTOK、INS而非数字:\n%s`, platformDesc, dataSummary.String())
|
||||
|
||||
// 调用 AI
|
||||
req := modelQwen.ChatRequest{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user