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

[Bug]: 导出到notion异常 #1973

Open
3 tasks done
jaxcen opened this issue Feb 19, 2025 · 9 comments · May be fixed by #2098
Open
3 tasks done

[Bug]: 导出到notion异常 #1973

jaxcen opened this issue Feb 19, 2025 · 9 comments · May be fixed by #2098
Labels
bug Something isn't working

Comments

@jaxcen
Copy link

jaxcen commented Feb 19, 2025

Issue Checklist

  • I understand that issues are for feedback and problem solving, not for complaining in the comment section, and will provide as much information as possible to help solve the problem.
  • I've looked at pinned issues and searched for existing Open Issues and Closed Issues, no similar issue was found.
  • I've filled in short, clear headings so that developers can quickly identify a rough idea of what to expect when flipping through the list of issues. And not "a suggestion", "stuck", etc.

Platform

Windows

Version

v0.9.27

Bug Description

Image

在话题页导出到notion会提示‘导出Notion错误,请检查连接状态并对照文档检查配置’。但是实际检查配置正确可连接。
研究发现是notion表格对输入的话题长度有限制,需要手动删除几个消息回复就可以正常导出。
希望的处理方式:优化导出异常提示词;长话题自动开启分页功能,会在notion的表头分成****话题1 *****话题2这种表述

Steps To Reproduce

聊天界面如何模型多轮沟通后导出话题到notion会报错

Expected Behavior

希望的处理方式:优化导出异常提示词;长话题自动开启分页功能,会在notion的表头分成****话题1 *****话题2这种表述

Relevant Log Output

Additional Context

No response

@jaxcen jaxcen added the bug Something isn't working label Feb 19, 2025
@GeorgeDong32
Copy link
Contributor

GeorgeDong32 commented Feb 19, 2025

能否提供大致的对话长度和对话次数用于复现呢,此外非常建议对话时及时切换话题避免单个话题过长以及不同内容间的上下文污染。

@HM-Suiji
Copy link

能否提供大致的对话长度和对话次数用于复现呢,此外非常建议对话时及时切换话题避免单个话题过长以及不同内容间的上下文污染。

我也遇到了这个问题,这个对话长度就已经会导出失败了,5个上下文、4882 tokens。并不算很长,依然会错误。
另外,5个上下文,3019 tokens不会出现错误,报错范围应该在这之间
Image

@GeorgeDong32
Copy link
Contributor

能否提供大致的对话长度和对话次数用于复现呢,此外非常建议对话时及时切换话题避免单个话题过长以及不同内容间的上下文污染。

我也遇到了这个问题,这个对话长度就已经会导出失败了,5个上下文、4882 tokens。并不算很长,依然会错误。 另外,5个上下文,3019 tokens不会出现错误,报错范围应该在这之间 Image

好的,我现在去试试看能不能复现和修复

@GeorgeDong32
Copy link
Contributor

我已经成功复现,出现导出问题的原因是Notion免费版存在单个页面子行数量不能大于100的限制,但是修复估计明天甚至周六才有时间完成 😢

@GeorgeDong32
Copy link
Contributor

@kangfenmao 目前修复后的导出结果长下面这样,默认是按90个块切分,需不需要加一个开关控制是否自动分块呢

Image

@wyih
Copy link
Contributor

wyih commented Feb 20, 2025

@kangfenmao 目前修复后的导出结果长下面这样,默认是按90个块切分,需不需要加一个开关控制是否自动分块呢

Image

加一个开关吧,是不是notion plus就没这限制了?

@GeorgeDong32
Copy link
Contributor

@kangfenmao 目前修复后的导出结果长下面这样,默认是按90个块切分,需不需要加一个开关控制是否自动分块呢

Image

加一个开关吧,是不是notion plus就没这限制了?

除免费版都是限制20000个块,我晚上加个开关和自定义分段数量吧

@kangfenmao
Copy link
Collaborator

应该把导出的功能放到单个消息,而不是整个 topic

@GeorgeDong32
Copy link
Contributor

应该把导出的功能放到单个消息,而不是整个 topic

但是挺多人也希望导出多轮对话,还是先做个开关吧,后面再加个导出单个消息

@GeorgeDong32 GeorgeDong32 linked a pull request Feb 20, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants