Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sum4all 遇到问题,gpt3.5可以 换成gpt4o之后就报错了 #68

Open
rexinshimin0001 opened this issue Jun 17, 2024 · 7 comments
Open

Comments

@rexinshimin0001
Copy link

[DEBUG][2024-06-17 16:24:52][plugin_manager.py:189] - Plugin TIMETASK triggered by event Event.ON_HANDLE_CONTEXT
[DEBUG][2024-06-17 16:24:52][plugin_manager.py:189] - Plugin TIMETASK triggered by event Event.ON_HANDLE_CONTEXT
[DEBUG][2024-06-17 16:24:52][plugin_manager.py:189] - Plugin TIMETASK triggered by event Event.ON_HANDLE_CONTEXT
[DEBUG][2024-06-17 16:24:52][plugin_manager.py:189] - Plugin TIMETASK triggered by event Event.ON_HANDLE_CONTEXT
[DEBUG][2024-06-17 16:24:52][plugin_manager.py:189] - Plugin TIMETASK triggered by event Event.ON_HANDLE_CONTEXT
[DEBUG][2024-06-17 16:24:52][plugin_manager.py:189] - Plugin SUM4ALL triggered by event Event.ON_HANDLE_CONTEXT
[ERROR][2024-06-17 16:24:58][sum4all.py:533] - Error calling new combined api: 500 Server Error: Internal Server Error for url: https://ai.sum4all.site/
[DEBUG][2024-06-17 16:24:58][plugin_manager.py:194] - Plugin SUM4ALL breaked event Event.ON_HANDLE_CONTEXT
[DEBUG][2024-06-17 16:24:58][chat_channel.py:172] - [WX] ready to decorate reply: Reply(type=TEXT, content=An error occurred)
[DEBUG][2024-06-17 16:24:58][chat_channel.py:284] - [WX] ready to send reply: Reply(type=TEXT, content=[ai] An error occurred), context: Context(type=TEXT, content=搜索奔驰G63配置., kwargs={'isgroup': False, 'msg': <channel.wechat.wechat_message.WechatMessage object at 0x7fd70874cd00>, 'origin_ctype': <ContextType.TEXT: 1>, 'openai_api_key': None, 'gpt_model': None, 'session_id': '@97e0893d58e222ec19cfeaf48c7761a4acafa357cca07f82ea7e1a0286f2177c', 'receiver': '@97e0893d58e222ec19cfeaf48c7761a4acafa357cca07f82ea7e1a0286f2177c'})
[INFO][2024-06-17 16:24:58][wechat_channel.py:214] - [WX] sendMsg=Reply(type=TEXT, content=[ai] An error occurred), receiver=@97e0893d58e222ec19cfeaf48c7761a4acafa357cca07f82ea7e1a0286f2177c
[DEBUG][2024-06-17 16:24:58][chat_channel.py:300] - Worker return success, session_id = @97e0893d58e222ec19cfeaf48c7761a4acafa357cca07f82ea7e1a0286f2177c

以下是配置
{
"url_sum": {
"enabled": true,
"service": "bibigpt",
"group": true,
"qa_enabled":true,
"qa_prefix":"问",
"prompt": "你是一个新闻专家,我会给你发一些网页内容,请你用简单明了的语言做总结。格式如下:📌总结\n一句话讲清楚整篇文章的核心观点,控制在30字左右。\n\n💡要点\n用数字序号列出来3-5个文章的核心内容,尽量使用emoji让你的表达更生动"
},
"search_sum": {
"enabled": true,
"service": "sum4all",
"search_service": "duckduckgo",
"group": true,
"search_prefix":"搜",
"prompt": "你是一个信息检索专家,我会把我的问题和搜索结果发给你,请你根据问题,从搜索结果里找出能回答问题的相关内容,用简单明了的语言为我做回复,尽量使用emoji让你的表达更生动"
},
"file_sum": {
"enabled": true,
"service": "sum4all",
"max_file_size": "20000",
"group": true,
"qa_prefix":"问",
"prompt": "你是一个新闻专家,我会给你发一些网页内容,请你用简单明了的语言做总结。格式如下:📌总结\n一句话讲清楚整篇文章的核心观点,控制在30字左右。\n\n💡要点\n用数字序号列出来3-5个文章的核心内容,尽量使用emoji让你的表达更生动"
},
"image_sum": {
"enabled": true,
"service": "gemini",
"group": false,
"qa_prefix":"问",
"prompt": "先全局分析图片的主要内容,并按照逻辑分层次、段落,提炼出5个左右图片中的精华信息、关键要点,生动地向读者描述图片的主要内容。注意排版、换行、emoji、标签的合理搭配,清楚地展现图片讲了什么"
},
"note": {
"enabled": false,
"service": "flomo",
"prefix":"记"
},
"keys": {
"sum4all_key": "sk-VrkYs0X47Ga87bS5A64b312e---------------------",
"search1api_key": "",
"gemini_key": "AIzaSyAhxKLSGzhYM----------------------------",
"perplexity_key": "",
"open_ai_api_key": "",
"model": "gpt-4o",
"open_ai_api_base": "https://api.openai.com/v1",
"xunfei_app_id": "",
"xunfei_api_key": "",
"xunfei_api_secret": "",
"opensum_key": "",
"bibigpt_key": "WLFUn--------",
"outputLanguage": "zh-CN",
"flomo_key":""
}
}
微信截图_20240617162722
微信截图_20240617162929

@rexinshimin0001
Copy link
Author

我把图片识别改成sum4all 可以用 说明api没问题

@fatwang2
Copy link
Owner

fatwang2 commented Jun 17, 2024 via email

@rexinshimin0001
Copy link
Author

你是如何用 gpt-4o 的?用的官方 key? 热心市民 @.***>于2024年6月17日 周一16:39写
不是啊 用的sum4all

@fatwang2
Copy link
Owner

fatwang2 commented Jun 18, 2024 via email

@rexinshimin0001
Copy link
Author

rexinshimin0001 commented Jun 18, 2024

那问答 就是搜问题 用不了gpt-4o只能用3.5对么 我现在是图片可以用4o 但是问答 比如搜奔驰配置 用不了 是不支持4o还是我配置某个地方有问题

@fatwang2
Copy link
Owner

fatwang2 commented Jun 18, 2024 via email

@rexinshimin0001
Copy link
Author

明白了 多谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants