Updated VectorDBQA docs to updated argument name (#405)

This commit is contained in:
Shreya Rajpal
2022-12-23 07:52:20 -08:00
committed by GitHub
parent ea3da9a469
commit f40b3ce347

View File

@@ -24,7 +24,7 @@ class VectorDBQA(Chain, BaseModel):
from langchain import OpenAI, VectorDBQA
from langchain.faiss import FAISS
vectordb = FAISS(...)
vectordbQA = VectorDBQA(llm=OpenAI(), vector_db=vectordb)
vectordbQA = VectorDBQA(llm=OpenAI(), vectorstore=vectordb)
"""