langchain-postgres 0.0.1__tar.gz → 0.0.3__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: langchain-postgres
3
- Version: 0.0.1
3
+ Version: 0.0.3
4
4
  Summary: An integration package connecting Postgres and LangChain
5
5
  Home-page: https://github.com/langchain-ai/langchain-postgres
6
6
  License: MIT
@@ -13,11 +13,11 @@ Classifier: Programming Language :: Python :: 3.11
13
13
  Classifier: Programming Language :: Python :: 3.12
14
14
  Requires-Dist: langchain-core (>=0.1,<0.2)
15
15
  Requires-Dist: langgraph (>=0.0.32,<0.0.33)
16
- Requires-Dist: numpy (>=1.26.4,<2.0.0)
16
+ Requires-Dist: numpy (>=1,<2)
17
17
  Requires-Dist: pgvector (>=0.2.5,<0.3.0)
18
- Requires-Dist: psycopg (>=3.1.18,<4.0.0)
18
+ Requires-Dist: psycopg (>=3,<4)
19
19
  Requires-Dist: psycopg-pool (>=3.2.1,<4.0.0)
20
- Requires-Dist: sqlalchemy (>=2.0.29,<3.0.0)
20
+ Requires-Dist: sqlalchemy (>=2,<3)
21
21
  Project-URL: Repository, https://github.com/langchain-ai/langchain-postgres
22
22
  Description-Content-Type: text/markdown
23
23
 
@@ -430,7 +430,7 @@ class PGVector(VectorStore):
430
430
  **kwargs: Any,
431
431
  ) -> PGVector:
432
432
  if ids is None:
433
- ids = [str(uuid.uuid1()) for _ in texts]
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.uuid1()) for _ in texts]
471
+ ids = [str(uuid.uuid4()) for _ in texts]
472
472
 
473
473
  if not metadatas:
474
474
  metadatas = [{} for _ in texts]
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "langchain-postgres"
3
- version = "0.0.1"
3
+ version = "0.0.3"
4
4
  description = "An integration package connecting Postgres and LangChain"
5
5
  authors = []
6
6
  readme = "README.md"
@@ -10,12 +10,12 @@ license = "MIT"
10
10
  [tool.poetry.dependencies]
11
11
  python = "^3.9"
12
12
  langchain-core = "^0.1"
13
- psycopg = "^3.1.18"
13
+ psycopg = "^3"
14
14
  langgraph = "^0.0.32"
15
15
  psycopg-pool = "^3.2.1"
16
- sqlalchemy = "^2.0.29"
16
+ sqlalchemy = "^2"
17
17
  pgvector = "^0.2.5"
18
- numpy = "^1.26.4"
18
+ numpy = "^1"
19
19
 
20
20
  [tool.poetry.group.docs.dependencies]
21
21