langchain/libs/community/langchain_community/utils/openai_functions.py

16 lines
377 B
Python
Raw Normal View History

# these stubs are just for backwards compatibility
from langchain_core.utils.function_calling import (
FunctionDescription,
ToolDescription,
convert_pydantic_to_openai_function,
convert_pydantic_to_openai_tool,
)
__all__ = [
"FunctionDescription",
"ToolDescription",
"convert_pydantic_to_openai_function",
"convert_pydantic_to_openai_tool",
]