langchain/docs/extras/modules/chains/how_to
Joshua Sundance Bailey c4e591a57d
OpenAI function calling docstring and notebook imports (#10663)
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
2023-09-16 14:24:50 -07:00
..
async_chain.ipynb mv popular and additional chains to use cases (#8242) 2023-07-27 12:55:13 -07:00
call_methods.ipynb docs/fix links (#6498) 2023-06-20 14:06:50 -07:00
custom_chain.ipynb Wfh/ref links (#8454) 2023-07-29 08:44:32 -07:00
from_hub.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
llm_chain_separate.json Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
llm_chain.json Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
llm.json Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
openai_functions.ipynb OpenAI function calling docstring and notebook imports (#10663) 2023-09-16 14:24:50 -07:00
prompt.json Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
serialization.ipynb docs: chains & memory fixes (#9895) 2023-09-03 15:06:20 -07:00