xunfeixinghuo
xunfeixinghuo copied to clipboard
Implement AI intelligent dialogue with Iflytek Starfire cognitive model in Python for real-time questioning and answering. Python实现 讯飞星火API
Python版 讯飞星火认知大模型AI智能对话,命令行交互对话
New 支持载入会话,导出对话,支持对话过程中,导出AI朗读语音
使用说明
- pip install requests langdetect websocket websocket-client
- python xunfei.py
补充
- 需要在userinfo.py中填写cookie, fd, GtToken
- 提示"module ‘websocket‘ has no attribute ‘enableTrace‘"的情况,参考https://blog.csdn.net/u014534808/article/details/113655577
- 不懂,见issues
示例图片
示例音频
https://github.com/dfvips/xunfeixinghuo/assets/21048630/7b97dc05-a467-4fb4-9fd8-58ad04dd3c6c
Star
声明
本脚本仅供学习研究,请勿滥用!
下载后请于24小时内删除,多谢合作!