langchain/templates/summarize-anthropic
Lance Martin d6acb3ed7e
Clean-up template READMEs (#12403)
Normalize, and update notebooks.
2023-10-26 22:23:03 -07:00
..
docs Templates (#12294) 2023-10-25 18:47:42 -07:00
summarize_anthropic Templates (#12294) 2023-10-25 18:47:42 -07:00
tests Templates (#12294) 2023-10-25 18:47:42 -07:00
LICENSE Templates (#12294) 2023-10-25 18:47:42 -07:00
poetry.lock Templates (#12294) 2023-10-25 18:47:42 -07:00
pyproject.toml Templates (#12294) 2023-10-25 18:47:42 -07:00
README.md Clean-up template READMEs (#12403) 2023-10-26 22:23:03 -07:00
summarize_anthropic.ipynb Templates (#12294) 2023-10-25 18:47:42 -07:00

Summarize documents with Anthropic

This template uses Anthropic's Claude2 to summarize documents.

To do this, we can use various prompts from LangChain hub, such as:

Claude2 has a large (100k token) context window, allowing us to summarize documents over 100 pages.

LLM

This template will use Claude2 by default.

Be sure that ANTHROPIC_API_KEY is set in your enviorment.