OpenAI::FunctionExecutor
Inherits Reference / Object
OpenAI::FunctionExecutor is a helper class which try to hide the details of object casting, JSON Schema generation
Being able to deal any User defined Types, it requires ADT to extend OpenAI::FuncMarker a marker module.
And requires Block to accept and return Types as JSON::Serializable
Constants
Log = ::Log.for(self)
Constructors
new
SourceInstance methods
add(name : String, description : String | Nil, clz : U, &block : Callback) forall U
Sourceexecute(call : ChatFunctionCall)
Sourceexecute(calls : Array(ChatToolCall))
Sourcefunctions
Sourcetools
Source