Fix documents parameter type in
PostgresqlVectorComponent constructor
This commit is contained in:
parent
746f61473f
commit
682e51bf6a
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue