Update LCVectorStoreComponent to set status after converting docs to records
This commit is contained in:
parent
c38a50a7eb
commit
2c57096930
1 changed files with 3 additions and 1 deletions
|
|
@ -40,4 +40,6 @@ class LCVectorStoreComponent(CustomComponent):
|
|||
docs = vector_store.search(query=input_value, search_type=search_type.lower())
|
||||
else:
|
||||
raise ValueError("Invalid inputs provided.")
|
||||
return docs_to_records(docs)
|
||||
records = docs_to_records(docs)
|
||||
self.status = records
|
||||
return records
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue