AppFunctionParameterMetadata


public final class AppFunctionParameterMetadata


Represent a function parameter.

Summary

Public constructors

AppFunctionParameterMetadata(
    @NonNull String name,
    boolean isRequired,
    @NonNull AppFunctionDataTypeMetadata dataType,
    @NonNull String description
)

Public methods

boolean
equals(Object other)
final @NonNull AppFunctionDataTypeMetadata

The data type of the parameter.

final @NonNull String

Describes the parameter's intended use within the AppFunction, consumed by the LLM.

final @NonNull String

The name of the parameter.

int
final boolean

Determines whether this parameter is mandatory.

@NonNull String

Public constructors

AppFunctionParameterMetadata

Added in 1.0.0-alpha03
public AppFunctionParameterMetadata(
    @NonNull String name,
    boolean isRequired,
    @NonNull AppFunctionDataTypeMetadata dataType,
    @NonNull String description
)

Public methods

equals

public boolean equals(Object other)

getDataType

Added in 1.0.0-alpha03
public final @NonNull AppFunctionDataTypeMetadata getDataType()

The data type of the parameter.

getDescription

Added in 1.0.0-alpha03
public final @NonNull String getDescription()

Describes the parameter's intended use within the AppFunction, consumed by the LLM.

getName

Added in 1.0.0-alpha03
public final @NonNull String getName()

The name of the parameter.

hashCode

public int hashCode()

isRequired

Added in 1.0.0-alpha03
public final boolean isRequired()

Determines whether this parameter is mandatory.

toString

public @NonNull String toString()