langchain/tests/integration_tests/vectorstores
Samantha Whitmore 315b0c09c6
wip: add method for both docstore and embeddings (#119)
this will break atm but wanted to get thoughts on implementation.

1. should add() be on docstore interface?
2. should InMemoryDocstore change to take a list of documents as init?
(makes this slightly easier to implement in FAISS -- if we think it is
less clean then could expose a method to get the number of documents
currently in the dict, and perform the logic of creating the necessary
dictionary in the FAISS.add_texts method.

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2022-11-20 16:23:58 -08:00
..
__init__.py add few shot example (#148) 2022-11-19 20:32:45 -08:00
test_elasticsearch.py add few shot example (#148) 2022-11-19 20:32:45 -08:00
test_faiss.py wip: add method for both docstore and embeddings (#119) 2022-11-20 16:23:58 -08:00