langchain/docs/extras/modules
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
..
agents runnable powered agent (#10407) 2023-09-09 15:22:13 -07:00
callbacks docs: agents & callbacks fixes (#10066) 2023-09-01 13:28:55 -07:00
chains OpenAI function calling docstring and notebook imports (#10663) 2023-09-16 14:24:50 -07:00
data_connection docs: self-query consistency (#10502) 2023-09-13 14:43:04 -07:00
memory docs: chains & memory fixes (#9895) 2023-09-03 15:06:20 -07:00
model_io PydanticOutputParser doc nb: use langchain.pydantic_v1; remove unused imports (#10651) 2023-09-15 14:05:01 -07:00
paul_graham_essay.txt codespell: workflow, config + some (quite a few) typos fixed (#6785) 2023-07-12 16:20:08 -04:00
state_of_the_union.txt Doc refactor (#6300) 2023-06-16 11:52:56 -07:00