Skip to content

Conversation

visagang
Copy link
Contributor

  • Add default reader for IMAP implementation
  • Future task includes adding enhanced mail access methods. For example, using Microsoft Graph API to interact with outlook emails by adding a separate implementation.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to place EmailReader in the EmailHandler plugin?

var emailMessage = await _emailProvider.GetEmailById(messageId);
if (isSummarize)
{
var prompt = $"{PROMPT_SUMMARY} The content was sent by {emailMessage.From.ToString()}. Details: {emailMessage.TextBody}";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The prompt should be placed under Utility Agent templates folder. This will allow user to updated the prompt without updating code.

@Oceania2018 Oceania2018 merged commit af5dd8c into SciSharp:master Aug 1, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants