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,
|
embedding: Embeddings,
|
||||||
pg_server_url: str,
|
pg_server_url: str,
|
||||||
collection_name: str,
|
collection_name: str,
|
||||||
documents: Optional[Document] = None,
|
documents: Optional[List[Document]] = None,
|
||||||
) -> VectorStore:
|
) -> VectorStore:
|
||||||
"""
|
"""
|
||||||
Builds the Vector Store or BaseRetriever object.
|
Builds the Vector Store or BaseRetriever object.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue