mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-25 12:25:33 +08:00
Fix documents parameter type in
PostgresqlVectorComponent constructor
This commit is contained in:
@ -43,7 +43,7 @@ class PostgresqlVectorComponent(CustomComponent):
|
||||
embedding: Embeddings,
|
||||
pg_server_url: str,
|
||||
collection_name: str,
|
||||
documents: Optional[Document] = None,
|
||||
documents: Optional[List[Document]] = None,
|
||||
) -> VectorStore:
|
||||
"""
|
||||
Builds the Vector Store or BaseRetriever object.
|
||||
|
||||
Reference in New Issue
Block a user