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

Additional data to the prompt #153

Closed
grumpelt-MeyerEDV opened this issue Oct 10, 2024 · 5 comments
Closed

Additional data to the prompt #153

grumpelt-MeyerEDV opened this issue Oct 10, 2024 · 5 comments
Assignees
Milestone

Comments

@grumpelt-MeyerEDV
Copy link

I think it would be nice to have the option to provide the AI with the sender's email, the recipient's emails, the subject, and also the body as HTML if it contains code. That would make it easier for the AI to detect whether the email is spam. It could also be implemented with placeholders I read from other feature requests here, e.g. [html_body] or [subject].

@micz
Copy link
Owner

micz commented Oct 10, 2024

Once #146 has been implemented, I think it should be easy to manage other fields.
Thanks for the suggestion.

@micz micz added this to the 2.3.0 milestone Oct 10, 2024
@micz micz self-assigned this Oct 14, 2024
micz added a commit that referenced this issue Oct 14, 2024
@micz
Copy link
Owner

micz commented Oct 15, 2024

To be added:

  • mail_body
  • html_body
  • mail_subject
  • selected_text
  • additional_text
  • junk_score
  • recipients
  • cc_list
  • author

@micz
Copy link
Owner

micz commented Oct 16, 2024

I've released version 2.3.0pre1, you can find it here: https://github.com/micz/ThunderAI/releases/tag/v2.3.0pre1
In this page is described how this feature works: https://micz.it/thunderbird-addon-thunderai/data-placeholders/

May you test it?
Remeber to backup your custom prompts if you have any.
Thank you!

@grumpelt-MeyerEDV
Copy link
Author

It works great, thank you for this practical feature.

@micz
Copy link
Owner

micz commented Oct 23, 2024

Released in version 2.3.0.

@micz micz closed this as completed Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants