langchain/langchain/chains
Jacob Lee cdb93ab5ca
Adds OpenAI functions powered document metadata tagger (#7521)
Adds a new document transformer that automatically extracts metadata for
a document based on an input schema. I also moved
`document_transformers.py` to `document_transformers/__init__.py` to
group it with this new transformer - it didn't seem to cause issues in
the notebook, but let me know if I've done something wrong there.

Also had a linter issue I couldn't figure out:

```
MacBook-Pro:langchain jacoblee$ make lint
poetry run mypy .
docs/dist/conf.py: error: Duplicate module named "conf" (also at "./docs/api_reference/conf.py")
docs/dist/conf.py: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules for more info
docs/dist/conf.py: note: Common resolutions include: a) using `--exclude` to avoid checking one of them, b) adding `__init__.py` somewhere, c) using `--explicit-package-bases` or adjusting MYPYPATH
Found 1 error in 1 file (errors prevented further checking)
make: *** [lint] Error 2
```

@rlancemartin @baskaryan

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
2023-07-13 01:12:41 -04:00
..
api codespell: workflow, config + some (quite a few) typos fixed (#6785) 2023-07-12 16:20:08 -04:00
chat_vector_db
combine_documents Add missing token_max in reduce.py acombine_docs (#7241) 2023-07-05 21:02:45 -04:00
constitutional_ai codespell: workflow, config + some (quite a few) typos fixed (#6785) 2023-07-12 16:20:08 -04:00
conversation move base prompt to schema (#6995) 2023-07-02 22:38:59 -04:00
conversational_retrieval codespell: workflow, config + some (quite a few) typos fixed (#6785) 2023-07-12 16:20:08 -04:00
flare Base language model docstrings (#7104) 2023-07-07 16:09:10 -04:00
graph_qa codespell: workflow, config + some (quite a few) typos fixed (#6785) 2023-07-12 16:20:08 -04:00
hyde Base language model docstrings (#7104) 2023-07-07 16:09:10 -04:00
llm_bash Base language model docstrings (#7104) 2023-07-07 16:09:10 -04:00
llm_checker Base language model docstrings (#7104) 2023-07-07 16:09:10 -04:00
llm_math Base language model docstrings (#7104) 2023-07-07 16:09:10 -04:00
llm_summarization_checker Base language model docstrings (#7104) 2023-07-07 16:09:10 -04:00
llm_symbolic_math Adds a chain around sympy for symbolic math (#6834) 2023-07-12 15:17:32 -04:00
natbot codespell: workflow, config + some (quite a few) typos fixed (#6785) 2023-07-12 16:20:08 -04:00
openai_functions Adds OpenAI functions powered document metadata tagger (#7521) 2023-07-13 01:12:41 -04:00
pal Base language model docstrings (#7104) 2023-07-07 16:09:10 -04:00
qa_generation Base language model docstrings (#7104) 2023-07-07 16:09:10 -04:00
qa_with_sources Base language model docstrings (#7104) 2023-07-07 16:09:10 -04:00
query_constructor Add lark import error (#7465) 2023-07-10 03:21:23 -04:00
question_answering Base language model docstrings (#7104) 2023-07-07 16:09:10 -04:00
retrieval_qa Base language model docstrings (#7104) 2023-07-07 16:09:10 -04:00
router minor bug fix: properly await AsyncRunManager's method call in MulitRouteChain (#7487) 2023-07-11 18:18:47 -04:00
sql_database Base language model docstrings (#7104) 2023-07-07 16:09:10 -04:00
summarize Base language model docstrings (#7104) 2023-07-07 16:09:10 -04:00
__init__.py Support for SPARQL (#7165) 2023-07-05 13:00:16 -04:00
base.py Add base Chain docstrings (#7114) 2023-07-07 03:06:33 -04:00
llm_requests.py Fixes #6282 (#6283) 2023-06-16 16:21:01 -07:00
llm.py Base language model docstrings (#7104) 2023-07-07 16:09:10 -04:00
loading.py Docs combine document chain (#6994) 2023-07-04 12:51:04 -06:00
mapreduce.py Base language model docstrings (#7104) 2023-07-07 16:09:10 -04:00
moderation.py changed ValueError to ImportError (#5103) 2023-05-22 15:24:45 -07:00
prompt_selector.py Base language model docstrings (#7104) 2023-07-07 16:09:10 -04:00
sequential.py Add support for tags (#5898) 2023-06-13 12:30:59 -07:00
transform.py