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
getDataType
Added in 1.0.0-alpha08
public final @NonNull AppFunctionDataTypeMetadata getDataType()
The data type of the parameter.
getDescription
Added in 1.0.0-alpha08
public final @NonNull String getDescription()
Describes the parameter's intended use within the AppFunction, consumed by the LLM.
isRequired
Added in 1.0.0-alpha08
public final boolean isRequired()
Determines whether this parameter is mandatory.
