AppFunctionParameterMetadata
public final class AppFunctionParameterMetadata
Represent a function parameter.
Summary
Public constructors |
|---|
AppFunctionParameterMetadata( |
Public methods |
|
|---|---|
boolean |
|
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 |
getName()The name of the parameter. |
int |
hashCode() |
final boolean |
Determines whether this parameter is mandatory. |
@NonNull String |
toString() |
Public constructors
AppFunctionParameterMetadata
Added in 1.0.0-alpha07
public AppFunctionParameterMetadata(
@NonNull String name,
boolean isRequired,
@NonNull AppFunctionDataTypeMetadata dataType,
@NonNull String description
)
Public methods
getDataType
Added in 1.0.0-alpha07
public final @NonNull AppFunctionDataTypeMetadata getDataType()
The data type of the parameter.
getDescription
Added in 1.0.0-alpha07
public final @NonNull String getDescription()
Describes the parameter's intended use within the AppFunction, consumed by the LLM.
isRequired
Added in 1.0.0-alpha07
public final boolean isRequired()
Determines whether this parameter is mandatory.