tools
autogen.tools.load_basemodels_if_needed
load_basemodels_if_needed
A decorator to load the parameters of a function if they are Pydantic models
Parameters:Name | Description |
---|---|
func | The function with annotated parameters Type: Callable[..., Any] |
Type | Description |
---|---|
Callable[..., Any] | A function that loads the parameters before calling the original function |