refactor: Remove unnecessary output method from LCVectorStoreComponent
This commit is contained in:
parent
5a288e9c51
commit
b35d17b800
1 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ class LCVectorStoreComponent(Component):
|
||||||
|
|
||||||
def _validate_outputs(self):
|
def _validate_outputs(self):
|
||||||
# At least these three outputs must be defined
|
# At least these three outputs must be defined
|
||||||
required_output_methods = ["build_vector_store", "build_base_retriever", "search_documents"]
|
required_output_methods = ["build_base_retriever", "search_documents"]
|
||||||
output_names = [output.name for output in self.outputs]
|
output_names = [output.name for output in self.outputs]
|
||||||
for method_name in required_output_methods:
|
for method_name in required_output_methods:
|
||||||
if method_name not in output_names:
|
if method_name not in output_names:
|
||||||
|
|
@ -68,7 +68,7 @@ class LCVectorStoreComponent(Component):
|
||||||
|
|
||||||
def build_vector_store(self) -> VectorStore:
|
def build_vector_store(self) -> VectorStore:
|
||||||
"""
|
"""
|
||||||
Builds the Vector Store object.
|
Builds the Vector Store object.c
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError("build_vector_store method must be implemented.")
|
raise NotImplementedError("build_vector_store method must be implemented.")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue