Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public enum RewriteStyle
- Object
- Enum<RewriteStyle>
- RewriteStyle
ImplementsComparable<RewriteStyle>
The style
SystemLlmClient.rewrite(String, RewriteStyle) rewrites a text in.Enum constants
ELABORATE | Longer, with more detail. |
EMOJIFY | The same text with emoji added. |
SHORTEN | Shorter, keeping the meaning. |
FRIENDLY | Casual and warm. |
PROFESSIONAL | Formal and polished. |
REPHRASE | Said differently, at about the same length. |
Methods
public static RewriteStyle[] values() | |
public static RewriteStyle valueOf(String name) |
Inherited methods
Enum constant details
ELABORATE
ELABORATELonger, with more detail.
EMOJIFY
EMOJIFYThe same text with emoji added.
SHORTEN
SHORTENShorter, keeping the meaning.
FRIENDLY
FRIENDLYCasual and warm.
PROFESSIONAL
PROFESSIONALFormal and polished.
REPHRASE
REPHRASESaid differently, at about the same length.
Method details
values
public static RewriteStyle[] values()valueOf
public static RewriteStyle valueOf(String name)