Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public enum RewriteStyle

  1. Object
  2. Enum<RewriteStyle>
  3. RewriteStyle

ImplementsComparable<RewriteStyle>

The style SystemLlmClient.rewrite(String, RewriteStyle) rewrites a text in.

Enum constants

ELABORATELonger, with more detail.
EMOJIFYThe same text with emoji added.
SHORTENShorter, keeping the meaning.
FRIENDLYCasual and warm.
PROFESSIONALFormal and polished.
REPHRASESaid differently, at about the same length.

Methods

public static RewriteStyle[] values()
public static RewriteStyle valueOf(String name)

Inherited methods

Enum constant details

ELABORATE

ELABORATE
Longer, with more detail.

EMOJIFY

EMOJIFY
The same text with emoji added.

SHORTEN

SHORTEN
Shorter, keeping the meaning.

FRIENDLY

FRIENDLY
Casual and warm.

PROFESSIONAL

PROFESSIONAL
Formal and polished.

REPHRASE

REPHRASE
Said differently, at about the same length.

Method details

values

public static RewriteStyle[] values()

valueOf

public static RewriteStyle valueOf(String name)