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

public enum SystemLlmFeature

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

ImplementsComparable<SystemLlmFeature>

The capabilities of an operating system language model, each of which a device may or may not have. See SystemLlmClient.getStatus(SystemLlmFeature).

Enum constants

CHATFree-form chat through SystemLlmClient.chat(ChatRequest).
SUMMARIZESystemLlmClient.summarize(String, int).
PROOFREADSystemLlmClient.proofread(String).
REWRITESystemLlmClient.rewrite(String, RewriteStyle).
DESCRIBE_IMAGE[SystemLlmClient#describeImage(byte[])].
IMAGE_INPUTImagePart inside chat messages.

Methods

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

Inherited methods

Enum constant details

CHAT

CHAT
Free-form chat through SystemLlmClient.chat(ChatRequest).

SUMMARIZE

SUMMARIZE

PROOFREAD

PROOFREAD

REWRITE

REWRITE

DESCRIBE_IMAGE

DESCRIBE_IMAGE
[SystemLlmClient#describeImage(byte[])].

IMAGE_INPUT

IMAGE_INPUT
ImagePart inside chat messages.

Method details

values

public static SystemLlmFeature[] values()

valueOf

public static SystemLlmFeature valueOf(String name)