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

总结图片报错是否要开通啥权限,免费赠送的token数不行? #67

Open
zip913 opened this issue Jun 12, 2024 · 21 comments

Comments

@zip913
Copy link

zip913 commented Jun 12, 2024

aaabbbb 密钥已经设置,总结pdf和txt是可以的,但是图片识别不了。
@fatwang2
Copy link
Owner

fatwang2 commented Jun 12, 2024 via email

@zip913
Copy link
Author

zip913 commented Jun 12, 2024

image
image
image

servie 是 "sum4all" ,token有额度

@fatwang2
Copy link
Owner

fatwang2 commented Jun 12, 2024 via email

@zip913
Copy link
Author

zip913 commented Jun 12, 2024

好的。 但是这充值成功了,为啥token数没有增加呢?提示兑换失败,兑换码已使用。Order #66593458 订单#66593458

@fatwang2
Copy link
Owner

fatwang2 commented Jun 12, 2024 via email

@zip913
Copy link
Author

zip913 commented Jun 12, 2024

提示兑换失败,兑换码已使用
image

@fatwang2
Copy link
Owner

fatwang2 commented Jun 12, 2024 via email

@zip913
Copy link
Author

zip913 commented Jun 12, 2024

可以了谢了。
但是加的额度不对啊。应该在原先基础累加的呀,之前剩余的没有了。
image
image

@fatwang2
Copy link
Owner

之前剩余的肯定还有的,只是这里显示被四舍五入了吧

@zip913
Copy link
Author

zip913 commented Jun 12, 2024

那这个显示单位不能显示的有歧义呀,让别人误认为之前的额度清零了。

@zip913
Copy link
Author

zip913 commented Jun 12, 2024

image
2.0M的额度还是不行。

@fatwang2
Copy link
Owner

fatwang2 commented Jun 12, 2024

那这个显示单位不能显示的有歧义呀,让别人误认为之前的额度清零了。

日志里有清晰的写出来你的额度的增删

@fatwang2
Copy link
Owner

image 2.0M的额度还是不行。

我这没问题,且一直都有用户在正常使用,你重启一下cow的主程序试试

@zip913
Copy link
Author

zip913 commented Jun 12, 2024

重启了还是不行。有大佬用sum4all,识别图片报错430,总结pdf是可以的。
错误如下:
[sum4all.py:781] - handle_image: 解析图像处理API的响应
[ERROR][2024-06-12 23:06:09][sum4all.py:876] - Error processing LLM API response: 403 Client Error: Forbidden for url: https://pro.sum4all.site/v1/chat/completions

@fatwang2
Copy link
Owner

fatwang2 commented Jun 12, 2024 via email

@zip913
Copy link
Author

zip913 commented Jun 12, 2024

阿里云

@fatwang2
Copy link
Owner

fatwang2 commented Jun 12, 2024 via email

@zip913
Copy link
Author

zip913 commented Jun 12, 2024

{
"url_sum": {
"enabled": true,
"service": "sum4all",
"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": "15000",
"group": true,
"qa_prefix":"问",
"prompt": "你是一个新闻专家,我会给你发一些网页内容,请你用简单明了的语言做总结。格式如下:📌总结\n一句话讲清楚整篇文章的核心观点,控制在30字左右。\n\n💡要点\n用数字序号列出来3-5个文章的核心内容,尽量使用emoji让你的表达更生动"
},
"image_sum": {
"enabled": true,
"service": "sum4all",
"group": true,
"qa_prefix":"问",
"prompt": "先全局分析图片的主要内容,并按照逻辑分层次、段落,提炼出5个左右图片中的精华信息、关键要点,生动地向读者描述图片的主要内容。注意排版、换行、emoji、标签的合理搭配,清楚地展现图片讲了什么"
},
"note": {
"enabled": true,
"service": "flomo",
"prefix":"记"
},
"keys": {
"sum4all_key": "skx-i99roG4KB7uWV3257cD4--------------------",
"search1api_key": "",
"gemini_key": "",
"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": "",
"outputLanguage": "zh-CN",
"flomo_key":""
}
}

@fatwang2
Copy link
Owner

fatwang2 commented Jun 12, 2024 via email

@zip913
Copy link
Author

zip913 commented Jun 13, 2024

哎找到问题了,模型范围没全选。

@rexinshimin0001
Copy link

哎找到问题了,模型范围没全选。

怎么全选

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

3 participants