Message Boards Message Boards

Ollama LLM based AI assistant for email processing

Posted 19 days ago

Attachments:
POSTED BY: Arnoud Buzing
12 Replies

The OllamaSynthesizeSynchronous function can now be found here (renamed to OllamaSynthesize):

https://www.wolframcloud.com/obj/arnoudbuzing/DeployedResources/Function/OllamaSynthesize/

POSTED BY: Arnoud Buzing

enter image description here -- you have earned Featured Contributor Badge enter image description here Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!

POSTED BY: EDITORIAL BOARD
Posted 18 days ago

Very nice and practical use of the Wolfram tech stack! Do you want to keep all those external emails and only tag them though? I assume it would be helpful if the Mail Process Assistant can discard some so you can get rid of them by having a "discard" tag or something like that? I understand you don't want to have any false positive, but that goal may be achieved by prompting the LLM to be as cautious as possible for using the "discard" tag.

POSTED BY: Arash Mahdian

Thanks! Yes, you can also delete emails with MailExecute.

This page lists all the possible actions:

https://reference.wolfram.com/language/ref/MailExecute.html

I think I am not quite comfortable trusting an AI to delete emails yet, but in principle you can do this, among other things.

POSTED BY: Arnoud Buzing
Posted 18 days ago

Sure, but what I meant was not to have the agent delete the emails, but for the agent to tag some emails as "discard" to indicate that they are most likely emails that you would not be interested to keep so that you can delete them yourself. Of course, that requires a different prompt. Sorry, I wasn't clear enough.

POSTED BY: Arash Mahdian

POSTED BY: Kotaro Okazaki

Looking into it now. Thanks for the feedback...

POSTED BY: Arnoud Buzing

What does this return for you:

Options[OllamaSynthesize]

POSTED BY: Arnoud Buzing

I have made a change (hopefully a fix) that might address this issue

Try quitting the kernel and trying it again?

POSTED BY: Arnoud Buzing

Okay, I will take another look.

POSTED BY: Arnoud Buzing

POSTED BY: Kotaro Okazaki

POSTED BY: Kotaro Okazaki
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract