README.md 744 Bytes

autoprompt安装指南

cd /autoprompt conda create -n autoprompt python=3.11 conda activate autoprompt

pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/

设置web_demo的xlsx的文件路径:inputfile_path= "/text10.xlsx"

启动web_demo.py:python web_demo.py

以下是进行测试可以使用的输入内容: prompt编辑框--------------->分析评论情感 批量生成--------------->优化提示词,更好的分析情感 优化器规则--------------->根据这些提示词和对应的得分优化提示词,更好的分析情感,得分越高代表效果更好,请生成可能得分更高的提示词 输出文件:final_prompt_accuracies.csv

小红书代码使用: python speech_extract.py