chore: Update AstraDB.py imports and method signature for search_documents
This commit is contained in:
parent
77e23d9442
commit
6b67c4996d
1 changed files with 2 additions and 2 deletions
|
|
@ -3,13 +3,13 @@ from loguru import logger
|
|||
from langflow.base.vectorstores.model import LCVectorStoreComponent
|
||||
from langflow.io import (
|
||||
BoolInput,
|
||||
DataInput,
|
||||
DropdownInput,
|
||||
HandleInput,
|
||||
IntInput,
|
||||
MultilineInput,
|
||||
SecretStrInput,
|
||||
StrInput,
|
||||
DataInput,
|
||||
)
|
||||
from langflow.schema import Data
|
||||
|
||||
|
|
@ -216,7 +216,7 @@ class AstraVectorStoreComponent(LCVectorStoreComponent):
|
|||
else:
|
||||
logger.debug("No documents to add to the Vector Store.")
|
||||
|
||||
def search_documents(self):
|
||||
def search_documents(self) -> list[Data]:
|
||||
vector_store = self.build_vector_store()
|
||||
|
||||
logger.debug(f"Search input: {self.search_input}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue