Agent Platform Typed Ops
Typed operations over an agent platform
Functions
Link copied to clipboard
Return a reusable function that performs this transformation. Validates whether it's possible and include metadata.
open override fun <I : Any, O> asFunction(outputClass: Class<O>, agentName: String): AgentFunction<I, O>
Link copied to clipboard
Link copied to clipboard
open fun <O> handleUserInput(intent: String, outputClass: Class<O>, processOptions: ProcessOptions = ProcessOptions()): O
Transform user input into the target type
Link copied to clipboard
inline fun <O> TypedOps.handleUserInput(intent: String, processOptions: ProcessOptions = ProcessOptions()): O
Turn user input into this type
Link copied to clipboard