20 lines
541 B
Python
20 lines
541 B
Python
|
|
# these stubs are just for backwards compatibility
|
||
|
|
|
||
|
|
from langchain_core.utils.function_calling import (
|
||
|
|
FunctionDescription,
|
||
|
|
ToolDescription,
|
||
|
|
)
|
||
|
|
from langchain_core.utils.function_calling import (
|
||
|
|
convert_to_openai_function as convert_pydantic_to_openai_function,
|
||
|
|
)
|
||
|
|
from langchain_core.utils.function_calling import (
|
||
|
|
convert_to_openai_tool as convert_pydantic_to_openai_tool,
|
||
|
|
)
|
||
|
|
|
||
|
|
__all__ = [
|
||
|
|
"FunctionDescription",
|
||
|
|
"ToolDescription",
|
||
|
|
"convert_pydantic_to_openai_function",
|
||
|
|
"convert_pydantic_to_openai_tool",
|
||
|
|
]
|