Skip to content

The agent engineering platform.

remove extra run from merge conflict (#133)

Harrison Chaseced29b816bc0
diff --git a/langchain/chains/vector_db_qa/base.py b/langchain/chains/vector_db_qa/base.py
index a87ca2e48d..3e01071057 100644
--- a/langchain/chains/vector_db_qa/base.py
+++ b/langchain/chains/vector_db_qa/base.py
@@ -62,19 +62,3 @@ class VectorDBQA(Chain, BaseModel):
# TODO: handle cases where this context is too long.
answer = llm_chain.predict(question=question, context="\n\n".join(contexts))
return {self.output_key: answer}
-
- def run(self, question: str) -> str:
- """Run Question-Answering on a vector database.
-
- Args:
- question: Question to get the answer for.
-
- Returns:
- The final answer
-
- Example:
- .. code-block:: python
-
- answer = vectordbqa.run("What is the capital of Idaho?")
- """
- return self({self.input_key: question})[self.output_key]