langchain-postgres 0.0.1__py3-none-any.whl → 0.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- langchain_postgres/vectorstores.py +2 -2
- {langchain_postgres-0.0.1.dist-info → langchain_postgres-0.0.2.dist-info}/METADATA +1 -1
- {langchain_postgres-0.0.1.dist-info → langchain_postgres-0.0.2.dist-info}/RECORD +5 -5
- {langchain_postgres-0.0.1.dist-info → langchain_postgres-0.0.2.dist-info}/LICENSE +0 -0
- {langchain_postgres-0.0.1.dist-info → langchain_postgres-0.0.2.dist-info}/WHEEL +0 -0
@@ -430,7 +430,7 @@ class PGVector(VectorStore):
|
|
430
430
|
**kwargs: Any,
|
431
431
|
) -> PGVector:
|
432
432
|
if ids is None:
|
433
|
-
ids = [str(uuid.
|
433
|
+
ids = [str(uuid.uuid4()) for _ in texts]
|
434
434
|
|
435
435
|
if not metadatas:
|
436
436
|
metadatas = [{} for _ in texts]
|
@@ -468,7 +468,7 @@ class PGVector(VectorStore):
|
|
468
468
|
kwargs: vectorstore specific parameters
|
469
469
|
"""
|
470
470
|
if ids is None:
|
471
|
-
ids = [str(uuid.
|
471
|
+
ids = [str(uuid.uuid4()) for _ in texts]
|
472
472
|
|
473
473
|
if not metadatas:
|
474
474
|
metadatas = [{} for _ in texts]
|
@@ -3,8 +3,8 @@ langchain_postgres/_utils.py,sha256=Johm50HEgA4qScLDaSDIfJfF3DygjA5KTBtNeVcD63I,
|
|
3
3
|
langchain_postgres/chat_message_histories.py,sha256=gh6hjBlrJ5GSo5kePQdh3VhiUYoWWdP37GXtZ1e25a4,14033
|
4
4
|
langchain_postgres/checkpoint.py,sha256=B0c03jyQcS0bAaNPljWEG3IuhlelIF2z3vSXWATi9-4,23519
|
5
5
|
langchain_postgres/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
-
langchain_postgres/vectorstores.py,sha256=
|
7
|
-
langchain_postgres-0.0.
|
8
|
-
langchain_postgres-0.0.
|
9
|
-
langchain_postgres-0.0.
|
10
|
-
langchain_postgres-0.0.
|
6
|
+
langchain_postgres/vectorstores.py,sha256=KUeDv47lwWM88HZQJdxjtRLS_jtSzekY6FluKji7BcU,49908
|
7
|
+
langchain_postgres-0.0.2.dist-info/LICENSE,sha256=2btS8uNUDWD_UNjw9ba6ZJt_00aUjEw9CGyK-xIHY8c,1072
|
8
|
+
langchain_postgres-0.0.2.dist-info/METADATA,sha256=2i9OrQxVm2NCFcyWx2hJGj_B_ssN-2eej1CRNQj5gdE,5186
|
9
|
+
langchain_postgres-0.0.2.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
10
|
+
langchain_postgres-0.0.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|