replace langchain with llama-index

This commit is contained in:
better629 2024-01-19 17:37:12 +08:00 committed by betterwang
parent 01d40e077b
commit cc91df59e5
13 changed files with 175 additions and 71 deletions

View file

@ -52,5 +52,5 @@ async def test_write(mocker):
store = FaissStore(EXAMPLE_PATH / "example.xlsx", meta_col="Answer", content_col="Question")
_faiss_store = store.write()
assert _faiss_store.docstore
assert _faiss_store.index
assert _faiss_store.storage_context.docstore
assert _faiss_store.storage_context.vector_store.client