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

Dump alternative branches #6

Open
agladysh opened this issue Jan 7, 2023 · 5 comments
Open

Dump alternative branches #6

agladysh opened this issue Jan 7, 2023 · 5 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@agladysh
Copy link

agladysh commented Jan 7, 2023

As I usually update my messages to ChatGPT iteratively to improve replies or to create a part of the message with AI help, I'd like to be able to optionally dump every conversation branch as a separate conversation (in the same html).

Could you please add a version of the bookmarklet that does that?

P.S. Many thanks for this very useful tool!

@jcubic
Copy link
Owner

jcubic commented Jan 7, 2023

Sorry I have no idea what conversation branch is.

@jcubic
Copy link
Owner

jcubic commented Jan 7, 2023

If it's in a different item on the list on the left, then you can't actually save it in a single file because your browser and bookmark don't have access to it. You can save only what is displayed on the screen.

@agladysh
Copy link
Author

agladysh commented Jan 7, 2023

Maybe I'm using the wrong terminology. Please see the illustrations:

Screenshot 2023-01-08 at 00 10 28

I can edit the message text and create a new branch:

Screenshot 2023-01-08 at 00 11 39

Or I can ask AI to regenerate the response, this will create a branch as well:

Screenshot 2023-01-08 at 00 12 28

I hope this info is in the DOM somewhere...

@agladysh
Copy link
Author

agladysh commented Jan 7, 2023

...Seems to not be in the DOM, but can be found here (likely requiring page reload to be updated, but that's OK):

JSON.parse(document.getElementById("__NEXT_DATA__").text).props.pageProps.initialData.thread

@jcubic
Copy link
Owner

jcubic commented Jan 7, 2023

I need to investigate it. I didn't see this feature before.

@jcubic jcubic added help wanted Extra attention is needed good first issue Good for newcomers labels Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants