mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
c4e591a57d
This PR is a documentation fix. Description: * fixes imports in the code samples in the docstrings of `create_openai_fn_chain` and `create_structured_output_chain` * fixes imports in `docs/extras/modules/chains/how_to/openai_functions.ipynb` * removes unused imports from the notebook Issues: * the docstrings use `from pydantic_v1 import BaseModel, Field` which this PR changes to `from langchain.pydantic_v1 import BaseModel, Field` * importing `pydantic` instead of `langchain.pydantic_v1` leads to errors later in the notebook |
||
---|---|---|
.. | ||
agents | ||
callbacks | ||
chains | ||
data_connection | ||
memory | ||
model_io | ||
paul_graham_essay.txt | ||
state_of_the_union.txt |