-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ability to Summarize an LLM Conversation (#216)
* fixes - fixed LangChainError type spec - LLMChain.run - raise specific exception when being run without messages - try/rescue errors in LLMChain.run and return error tuple (fixes spec) * TextToTitleChain updates - updated docs with examples - support full `override_system_prompt` for greater customization * tweak * adds LangChain.Chains.SummarizeConversationChain - operates on an LLMChain to shorten and summarize the messages * updated TextToTitleChain docs * summarized chain's last_message get updated - changes when the keep_count is 0 * fixed failing test
- Loading branch information
Showing
8 changed files
with
1,140 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.