AppFunctionParameterMetadata


class AppFunctionParameterMetadata


Represent a function parameter.

Summary

Public constructors

AppFunctionParameterMetadata(
    name: String,
    isRequired: Boolean,
    dataType: AppFunctionDataTypeMetadata,
    description: String
)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

AppFunctionDataTypeMetadata

The data type of the parameter.

String

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

Boolean

Determines whether this parameter is mandatory.

String

The name of the parameter.

Public constructors

AppFunctionParameterMetadata

Added in 1.0.0-alpha03
AppFunctionParameterMetadata(
    name: String,
    isRequired: Boolean,
    dataType: AppFunctionDataTypeMetadata,
    description: String = ""
)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

dataType

Added in 1.0.0-alpha03
val dataTypeAppFunctionDataTypeMetadata

The data type of the parameter.

description

Added in 1.0.0-alpha03
val descriptionString

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

isRequired

Added in 1.0.0-alpha03
val isRequiredBoolean

Determines whether this parameter is mandatory.

name

Added in 1.0.0-alpha03
val nameString

The name of the parameter.