Email Writer

Functionality

This module is designed to write an email according to the task given in the user input.

Input

User request to write an email about a specific topic or previous conversation to a person.

Example input:

  • Write a short summary about the last message to Paul. His email address is test@example.com

Output

The output contains

  • email structured in a subject and main section

  • clickable link allowing to directly open the email in outlook

image-20240514-094042.png

Limitations

This module generates an email using information known by the language model or derived from a previous conversation. It does not perform searches within the knowledge center.

If you need to create an email based on content from a document in the knowledge center, first request in the chat a summary about the wanted topic. Then, use that summary to instruct the system to compose the email.

Configuration settings (technical)

This section contain all configurable parameters.

General parameters

Parameter

Description

Parameter

Description

languageModel: string

used GPT model

Default: AZURE_GPT_35_TURBO_0613

Prompts

Only adjust prompts if you are fully familiar with the code logic. Small changes can break the module or reduce the output quality.

Parameter

Description

Parameter

Description

systemPromptEmailWriter

triggerPromptEmailWriter

System and trigger prompt used to write an email


Author

@Fabian Schläpfer

 

© 2024 Unique AG. All rights reserved. Privacy PolicyTerms of Service