micz / ThunderAI

ThunderAI is a Thunderbird Addon that uses the capabilities of ChatGPT or Ollama to enhance email management.
https://micz.it/thunderbird-addon-thunderai/
GNU General Public License v3.0
36 stars 9 forks source link

[ChatGPT Web] Add an advanced response selector #118

Open micz opened 2 months ago

micz commented 2 months ago

Add markers to change the selection in the ChatGPT web interface.

twigandolive commented 2 months ago

Could we expand on this @micz to have two buttons at the bottom of the window - one with the current "Use the selected Answer" and also the previous "Use last answer"? I like having the choice to go back to a previous answer, but 90% of the time, the last answer is the one I want. It'll maybe be fairly trivial in terms of time, but the quick-click nature of the "Use Last Answer" button was really appealing!

micz commented 2 months ago

@twigandolive I'm sorry, I had to remove the "Use last answer" feature due to frequent changes in the ChatGPT web interface, which made it impossible to select the last answer automatically and forced me to continuously update the add-on. In the last iteration, I couldn't find a way to select it automatically at all.

The current system is much more robust: you only need to click once on the text of the answer, and it should automatically select all the text. The feature described in this issue is designed to make it easier to modify the selection if needed.

twigandolive commented 2 months ago

Got it- It was glitchy for me at first (the selected text didn't always paste into the message) but the lastest version seems stable now. Thanks!

micz commented 2 months ago

Got it- It was glitchy for me at first (the selected text didn't always paste into the message) but the lastest version seems stable now. Thanks!

I'm happy that it works better now. If you face any problems, feel free to open a new issue, and I'll look into it.

twigandolive commented 2 months ago

Another possible extension of this idea—in the dropdown menu where it says "Summarize this," "Reply to this," "Classify," etc., could there be an option like "Custom reply," whereby the email is copied into the ChatGPT interface with the usual prompts but allows for additional instruction input? Sometimes, I know in advance how ChatGPT will respond based on how I trained it, and I want to either give it additional instructions or subvert what it will do before it churns out a reply. Thanks!

micz commented 2 months ago

It's already possible to ask for additional text for a custom prompts, see here more info.

I'm afraid it's not possibile to do this for a default prompt. I filed a new issue (#135), so, in version 2.2.0, that option will be editable also for default prompts. At the moment you could make a new prompt copied from a default one and then disable the default.