mirror of
https://github.com/hwchase17/langchain
synced 2024-11-18 09:25:54 +00:00
ef42d9d559
… converters One way to convert anything to an OAI function: convert_to_openai_function One way to convert anything to an OAI tool: convert_to_openai_tool Corresponding bind functions on OAI models: bind_functions, bind_tools
7 lines
198 B
Python
7 lines
198 B
Python
from langchain_core.utils.function_calling import (
|
|
format_tool_to_openai_function,
|
|
format_tool_to_openai_tool,
|
|
)
|
|
|
|
__all__ = ["format_tool_to_openai_function", "format_tool_to_openai_tool"]
|