josStorer / chatGPTBox

Integrating ChatGPT into your browser deeply, everything you need is here
MIT License
9.94k stars 749 forks source link

command summarizePage add auto Splitter content #251

Open chenpx976 opened 1 year ago

chenpx976 commented 1 year ago

Is your feature request related to a problem? Please describe. 新功能是否与解决某个问题相关, 请描述

command summarizePage add auto Splitter content

Describe the solution you'd like 你期望的新功能实现方案

prompt

You are LongTextAnalyzerGPT.
I will submit you a long text divided in N parts. 
Each part will start by Part X. After each part I submit, ask me for the next part. Don't do any analysis before all the parts are submitted.

Additional context 其他 Add any other context or screenshots about the feature request here.

josStorer commented 1 year ago

This is usually meaningless, because the current submitted content is already controlled to the context length limit of the GPT-3.5 API. Using Langchain to build a custom backend will be more helpful in solving this problem

chenpx976 commented 1 year ago

You are right, I am actually using ChatGPT Web, can this feature be used for web services?

josStorer commented 1 year ago

I believe what you actually need is custom prompts. I will develop and notify you as soon as possible

Edit: I misunderstood this issue. The support for long content will be added later.

Maddaxman commented 1 year ago

I tried to use prompts like this in the 3.5 model to input long text in segments and then have it summarize after merging, but it was not actually feasible .lol. After three or four segments, it had already forgotten the first segment, and even when inputting the third segment, it started creating new content based on the content of that segment.

chenpx976 commented 1 year ago

@Maddaxman I saw another project that uses GPT-3.5 to handle extremely long texts by split long texts And I have personally used another Chrome extension that is effective extension: https://chrome.google.com/webstore/detail/split-long-text-for-chat/ninfbacppokhhaekjbgfhemhmlalfmmn repo: https://github.com/easychen/gpt-bat demo: https://gpt.level06.com/

josStorer commented 1 year ago

ok, I think your demand should be the same as (or like) this issue #123