Skip to content

Commit b71ff05

Browse files
committed
fix vectorstore
1 parent 42c0dc0 commit b71ff05

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/langchain_google_alloydb_pg/vectorstore.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,9 @@ async def aadd_images(
176176
) -> list[str]:
177177
"""Embed images and add to the table."""
178178
return await self._engine._run_as_async(
179-
self._PGVectorStore__vs.aadd_images(uris, metadatas, ids, **kwargs) # type: ignore
179+
self._PGVectorStore__vs.aadd_images( # type: ignore
180+
uris, metadatas, ids, store_uri_only=store_uri_only, **kwargs
181+
)
180182
)
181183

182184
def add_images(
@@ -189,7 +191,9 @@ def add_images(
189191
) -> list[str]:
190192
"""Embed images and add to the table."""
191193
return self._engine._run_as_sync(
192-
self._PGVectorStore__vs.aadd_images(uris, metadatas, ids, **kwargs) # type: ignore
194+
self._PGVectorStore__vs.aadd_images( # type: ignore
195+
uris, metadatas, ids, store_uri_only=store_uri_only, **kwargs
196+
)
193197
)
194198

195199
def similarity_search_image(

0 commit comments

Comments
 (0)