Share via


FunctionHandler Class

Protocol for function handlers that can be called by AI models.

Function handlers can be either synchronous or asynchronous and should return a string result that will be passed back to the AI model.

Constructor

FunctionHandler(*args, **kwargs)