Package-level declarations

Types

Link copied to clipboard
interface Handler<T>
Link copied to clipboard
sealed class Parameter
Link copied to clipboard
interface ParameterType
Link copied to clipboard
interface PrimitiveValue<Type>
Link copied to clipboard
Link copied to clipboard
interface ToolDescription
Link copied to clipboard
value class ToolName(val value: String)

Should not contain spaces (OpenAI returns 400 otherwise)

Functions

Link copied to clipboard
fun Parameter.getIntValue(arguments: JsonObject): Int
Link copied to clipboard
inline fun <T : Any> Parameter.Complex.Object.getObject(arguments: JsonObject): T
Link copied to clipboard
fun Parameter.getStringValue(arguments: JsonObject): String