PhraseExpress can embed data from a variety of external files and online services into the phrase.
PhraseExpress uses the external translation service DeepL to translate provided text into a specified language.
If no source language is specified, the translation algorithm analyzes the text to determine the language of the provided text.
In most cases, you probably nest macros into the source text input box, e.g. to insert the current clipboard content or to insert a variable.
The translation macro function uses the external online translation service DeepL which requires a "DeepL API key".
OpenAI text processing
PhraseExpress integrates the OpenAI text processing technology as a macro function. In the macro dialog, you can define the input that is sent to OpenAI and the instruction in natural language how OpenAI shall process the text:
The gear icon allows you to fine-tune OpenAI related parameters:
For more information and support, please read the OpenAI documentation.
You may want to lower the "Temperature" value to keep result close to the instruction and adapt "Max Token" to the sum of the text input plus the expected text reply.
The real power comes with combining the OpenAI macro with other PhraseExpress macro functions. Right-click into any input box and select the desired macro function from the popup to insert it within the OpenAI macro.
You can leave the input empty and just prompt OpenAI to generate any text, e.g. "write a random cookie recipe".
Embed external file contents
This macro function inserts the contents of the specified file into the phrase.
CSV file values
This macro function inserts a specified values of a CSV file ("comma separated values).
You can define a range of values by their start and end row/column coordinates (starting with 1). Multiple cells can optionally be separated with a separator text.
This macro function inserts a XML file value, addressed by its xpath value (see Wikipedia).
This macro function can be used as a data bridge to external databases which can create an XML file.