Commit Graph

14 Commits

Author SHA1 Message Date
Harrison Chase
f18a08f58d add memory to llm chain notebook (#193) 2022-11-25 18:28:55 -08:00
Harrison Chase
c3ad99a34f Harrison/more memory docs (#192) 2022-11-25 13:00:12 -05:00
Harrison Chase
b0feb3608b documentation (#191) 2022-11-25 12:41:27 -05:00
Samantha Whitmore
a408ed3ea3 Samantha/add conversation chain (#166)
Add MemoryChain and ConversationChain as chains that take a docstore in
addition to the prompt, and use the docstore to stuff context into the
prompt. This can be used to have an ongoing conversation with a chatbot.

Probably needs a bit of refactoring for code quality

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2022-11-23 16:35:38 -08:00
Samantha Whitmore
09f301cd38 Add add_example method to all ExampleSelector classes, with tests (#178)
Also updated docs, and noticed an issue with the add_texts method on
VectorStores that I had missed before -- the metadatas arg should be
required to match the classmethod which initializes the VectorStores
(the add_example methods break otherwise in the ExampleSelectors)
2022-11-23 13:12:47 -08:00
Harrison Chase
5d887970f6 change to agent (#173) 2022-11-22 18:02:20 -08:00
Harrison Chase
d3a7429f61 (WIP) agents (#171) 2022-11-22 06:16:26 -08:00
Harrison Chase
4a4dfbfbed Harrison/sequential chains (#168)
add support for basic sequential chains
2022-11-21 13:08:53 -08:00
Harrison Chase
e49fc51492 Harrison/update docs (#162)
minor update to docs re imports
2022-11-20 07:18:43 -08:00
Harrison Chase
243211a5ae bump version to 0017 (#161) 2022-11-20 07:04:09 -08:00
Harrison Chase
a19ad935b3 Harrison/verbose prompt (#159)
Add printing of prompt to LLMChain
2022-11-19 20:39:35 -08:00
Harrison Chase
c02eb199b6 add few shot example (#148) 2022-11-19 20:32:45 -08:00
Harrison Chase
b15c84e19d Harrison/chain lab (#156) 2022-11-18 05:50:02 -08:00
Harrison Chase
b1b6b27c5f Harrison/redo docs (#130)
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
2022-11-13 20:13:23 -08:00