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

Exports with plugin didn't choose the right node to display #173

Closed
V3TH14 opened this issue Oct 11, 2023 · 17 comments · Fixed by #175 or #181
Closed

Exports with plugin didn't choose the right node to display #173

V3TH14 opened this issue Oct 11, 2023 · 17 comments · Fixed by #175 or #181
Labels
bug Something isn't working

Comments

@V3TH14
Copy link

V3TH14 commented Oct 11, 2023

Export to HTML does export only some of the current chat's history. Starts normally, goes through first messages, and then after some messages it just cuts off - stops generating.

I've tried it on several web browsers both on mobile and PC (Edge, Chrome, Brave and Firefox) and the feature is still broken.

@pionxzh
Copy link
Owner

pionxzh commented Oct 12, 2023

Would you willing to share the chat share link or the JSON export so that I can investigate the source of error. You can send it to my email if it's kinda sensitive.

@14790897
Copy link
Contributor

14790897 commented Oct 16, 2023

哥,HTML和MARKDOWN都失效了,只能导出对话开头的一小部分
https://chat.openai.com/share/9b64ebc0-24c6-4a86-aab3-d059e5d7408c
这是我的一个对话,很长

@pionxzh
Copy link
Owner

pionxzh commented Oct 16, 2023

@14790897 感谢你的分享,看来问题是出在使用了 Web browsing with bing 身上

你分享的对话是可以正常全部导出的,因为其已经被处理为可分享的格式,而现在脚本对于 browser plugin 的支持不是很完善,我没办法完全重现你的问题,但我会尝试改进插件所输出的内容,然后咱们再看看是不是能解决问题

@14790897
Copy link
Contributor

@pionxzh 不是那个原因,我刚刚发现如果一个对话有多个提交,只会截取第一个提交忽视后面的提交,而我后面的提交才是真正的我要导出的部分
image
这里只会导出第一轮,而第二轮才是我想要的

@14790897
Copy link
Contributor

感觉可以根据导出的json(json是正常的)转换成markdown

@pionxzh
Copy link
Owner

pionxzh commented Oct 16, 2023

好,那我理解了,正常情况他会按照你当前选中的节点来输出,应该是 chatgpt 又改动结构,找不到以后自动跳回第一个了

@pionxzh
Copy link
Owner

pionxzh commented Oct 16, 2023

JSON 正常是因为它就是最原始的 API response,事实上现在就是以 JSON 转的 markdown

然后我理解问题了,这个是因为以往插件会获取每个节点是选择第几项,但 plugin 的输出插在中间导致判断错误了,已经修正,请你帮我验证一下。 @14790897

另外也改进了几个问题:

  • 将插件的指令输出给删除了,减少噪音,未来除非有合适的显示方式 (比如 HTML 可以乘载更多),否则会尽量以正常的文字输出。 追溯起源,其实是我在 Support ChatGPT plugins #136 当时还不清楚插件的输出及格式,用了很通用的方法给一股脑输出出来。
  • 支持了 Foot Notes 脚注,HTML 暂时先没写,想搞精美一点的滑过显示,再说再说 (咕咕咕)

@pionxzh pionxzh changed the title Export to HTML doesn't work properly Exports with plugin didn't choose the right node to display Oct 16, 2023
@pionxzh pionxzh added bug Something isn't working and removed pending triage labels Oct 16, 2023
@pionxzh
Copy link
Owner

pionxzh commented Oct 16, 2023

@V3TH14 Not sure if this is the same problems you encountered. I just fixed a issue that exports might choose the wrong node (e.g. 2/3) in conversation with plugins. Please test it again with v2.15.0. Let me know if you still have this or other issues. Closing first. 🙏

@14790897
Copy link
Contributor

14790897 commented Nov 7, 2023

我竟然没收到这条消息,我还以为这个问题一直没被处理。现在看到了,确实有很多改进,但是下面这个对话不行https://chat.openai.com/share/f51c6e58-9a4e-4761-9da1-81147abcfadc
中间我选择了第一个分支,但是它导出了最后一个分支,会话中间就断了
ChatGPT-gpt4计数-继续-2023-10-31T05_18_52.800Z (1).md

@pionxzh
Copy link
Owner

pionxzh commented Nov 7, 2023

@14790897 不好意思可以导出 JSON 方便测试吗? shared conversation 会被 chatgpt 处理很多,反而无法重现

@14790897
Copy link
Contributor

14790897 commented Nov 7, 2023

@14790897
Copy link
Contributor

14790897 commented Nov 7, 2023

兄弟,文件来了

@pionxzh
Copy link
Owner

pionxzh commented Nov 7, 2023

@14790897 帮我试试这个版本有没有效果

chatgpt.user.zip

@14790897
Copy link
Contributor

14790897 commented Nov 7, 2023

没问题了
干得漂亮,拍手,干得好GIF

@pionxzh
Copy link
Owner

pionxzh commented Nov 7, 2023

好好好 我吃完饭发

@pionxzh
Copy link
Owner

pionxzh commented Nov 7, 2023

@14790897 released v2.16.1

@14790897
Copy link
Contributor

14790897 commented Nov 8, 2023

感谢作者

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
3 participants