AppFunctionParameterMetadata


public final class AppFunctionParameterMetadata

Represent a function parameter.

Summary

Public constructors

AppFunctionParameterMetadata

Added in 1.0.0-alpha08
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-alpha08
public final @NonNull AppFunctionDataTypeMetadatagetDataType()

The data type of the parameter.

getDescription

Added in 1.0.0-alpha08
public final @NonNull StringgetDescription()

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

getName

Added in 1.0.0-alpha08
public final @NonNull StringgetName()

The name of the parameter.

hashCode

public int hashCode()

isRequired

Added in 1.0.0-alpha08
public final boolean isRequired()

Determines whether this parameter is mandatory.

toString

public @NonNull StringtoString()