semantic_router.utils.function_call#

Functions

convert_python_type_to_json_type(param_type)

get_schema(item)

get_schema_list(items)

route_and_execute(query, llm, functions, layer)

Classes

FunctionSchema(function)

Class that consumes a function and can return a schema required by different LLMs for function calling.

Parameter(*[, name, description, type, ...])