Ollama LLM based AI assistant for email processing

DOWNLOAD-DESKTOP-NOTEBOOK.nb (4.28 MB)

8 Likes

news-congrads-kkluyshnik-02-04-19.jpg – you have earned Featured Contributor Badge 2015-11-02_10-07-11.png
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!

1 Like

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

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

3 Likes

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.

1 Like

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

This page lists all the possible actions:

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

1 Like

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.

1 Like
1 Like

Looking into it now. Thanks for the feedback…

1 Like

What does this return for you:

Options[OllamaSynthesize]

1 Like

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

Try quitting the kernel and trying it again?

1 Like

Okay, I will take another look.

1 Like

Hello Arnoud,

Thank you for making OllamaSynthesize. I am getting the same β€œStart Process … check Environemt[Path]” error messages as Okazaki-san. I have check the Environment variable Path is pointed to Ollama.exe . I also check the Options you asked for from Okazaki-san. I get a result like Okazaki-san so I’ll keep going. I hope you can determine what the error prompt is about.

John Burgers