StrEnum Objects
ColoredFormatter Objects
add_coloured_handler
setup_custom_logger
Parameter Objects
name(str): The name of the parameter.description(str | None): The description of the parameter.type(str): The type of the parameter.default(Any): The default value of the parameter.required(bool): Whether the parameter is required.
to_dict
dict[str, Any]: The parameter in dictionary format.
FunctionSchema Objects
from_callable
function(Callable): The function to consume.
from_pydantic
model(type[BaseModel]): The Pydantic model class to convert
FunctionSchema: FunctionSchema instance
to_openai
api(OpenAIAPI): The API to convert to.
dict: The function schema in OpenAI-compatible format.
