Home / File/ openai_functions.py — langchain Source File

openai_functions.py — langchain Source File

Architecture documentation for openai_functions.py, a python file in the langchain codebase. 1 imports, 0 dependents.

File python 1 imports

Entity Profile

Dependency Diagram

graph LR
  df900728_9e40_6aa2_7734_3eb6e9b932f9["openai_functions.py"]
  5c738c12_cc4f_cee1_0e1d_562012a5f844["langchain_core.utils.function_calling"]
  df900728_9e40_6aa2_7734_3eb6e9b932f9 --> 5c738c12_cc4f_cee1_0e1d_562012a5f844
  style df900728_9e40_6aa2_7734_3eb6e9b932f9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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",
]

Dependencies

  • langchain_core.utils.function_calling

Frequently Asked Questions

What does openai_functions.py do?
openai_functions.py is a source file in the langchain codebase, written in python.
What does openai_functions.py depend on?
openai_functions.py imports 1 module(s): langchain_core.utils.function_calling.
Where is openai_functions.py in the architecture?
openai_functions.py is located at libs/langchain/langchain_classic/utils/openai_functions.py (directory: libs/langchain/langchain_classic/utils).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free