hindsight-api 0.0.17__py3-none-any.whl → 0.0.18__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.
hindsight_api/models.py CHANGED
@@ -59,7 +59,7 @@ class MemoryUnit(Base):
59
59
  __tablename__ = "memory_units"
60
60
 
61
61
  id: Mapped[PyUUID] = mapped_column(
62
- UUID(as_uuid=True), primary_key=True, server_default=sql_text("uuid_generate_v4()")
62
+ UUID(as_uuid=True), primary_key=True, server_default=sql_text("gen_random_uuid()")
63
63
  )
64
64
  bank_id: Mapped[str] = mapped_column(Text, nullable=False)
65
65
  document_id: Mapped[Optional[str]] = mapped_column(Text)
@@ -155,7 +155,7 @@ class Entity(Base):
155
155
  __tablename__ = "entities"
156
156
 
157
157
  id: Mapped[PyUUID] = mapped_column(
158
- UUID(as_uuid=True), primary_key=True, server_default=sql_text("uuid_generate_v4()")
158
+ UUID(as_uuid=True), primary_key=True, server_default=sql_text("gen_random_uuid()")
159
159
  )
160
160
  canonical_name: Mapped[str] = mapped_column(Text, nullable=False)
161
161
  bank_id: Mapped[str] = mapped_column(Text, nullable=False)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hindsight-api
3
- Version: 0.0.17
3
+ Version: 0.0.18
4
4
  Summary: Temporal + Semantic + Entity Memory System for AI agents using PostgreSQL
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: alembic>=1.17.1
@@ -2,7 +2,7 @@ hindsight_api/__init__.py,sha256=yQWYWUWEhvs1OY1coENhZV_CuOAWmN_YKZXQMIvGN94,851
2
2
  hindsight_api/cli.py,sha256=-dxAHsET_pHd6NlA3ufI4KEKQA3fL3YapCvDB_x2ax8,3303
3
3
  hindsight_api/metrics.py,sha256=j4-eeqVjjcGQxAxS_GgEaBNm10KdUxrGS_I2d1IM1hY,7255
4
4
  hindsight_api/migrations.py,sha256=VY-ILJLWEY1IaeJgQ2jlAVUtPLzq_41Dytg_DjuF0GA,6402
5
- hindsight_api/models.py,sha256=1vMn9jmDQvohfmxZXr1SYnhz5vhz52nrTd93A_lkVNE,12606
5
+ hindsight_api/models.py,sha256=xNPyEq5xKuPjp83yPEM3_SrwUODRFQr8LRcyOmSjxqA,12604
6
6
  hindsight_api/pg0.py,sha256=scFcYngOwbZ2oOQb7TysnUHgNgPyiN30pjPcIqMDmao,14158
7
7
  hindsight_api/api/__init__.py,sha256=lXxJythXFV1DXIQ--4QfIo5pHYmDYJnd41dfAssNTTA,3017
8
8
  hindsight_api/api/http.py,sha256=anjh8axWcWF1dyqW3CnE9TUObLKxryjeQxT_keQEMak,71551
@@ -44,7 +44,7 @@ hindsight_api/engine/search/tracer.py,sha256=mcM9qZpj3YFudrBCESwc6YKNAiWIMx1lScX
44
44
  hindsight_api/engine/search/types.py,sha256=qIeHW_gT7f291vteTZXygAM8oAaPp2dq6uEdvOyOwzs,5488
45
45
  hindsight_api/web/__init__.py,sha256=WABqyqiAVFJJWOhKCytkj5Vcb61eAsRib3Ek7IMX6_U,378
46
46
  hindsight_api/web/server.py,sha256=l-Tw8G9IRdcSay-KWiUT4VlIJBzxbe-TV0rjX0fwLMc,4464
47
- hindsight_api-0.0.17.dist-info/METADATA,sha256=zan_1uOEwAxlipqrDA0Rc65zs-e-AqxRoT38ihKtLQw,1496
48
- hindsight_api-0.0.17.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
49
- hindsight_api-0.0.17.dist-info/entry_points.txt,sha256=53Fn-VxtkqreZhOPTJB_FupH7e5GyiMY3gzEp22d8xs,57
50
- hindsight_api-0.0.17.dist-info/RECORD,,
47
+ hindsight_api-0.0.18.dist-info/METADATA,sha256=Z4PYfTvCX6-Y3uACuKioCa9Y4Vj6koiPMWKTMfXbcfY,1496
48
+ hindsight_api-0.0.18.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
49
+ hindsight_api-0.0.18.dist-info/entry_points.txt,sha256=53Fn-VxtkqreZhOPTJB_FupH7e5GyiMY3gzEp22d8xs,57
50
+ hindsight_api-0.0.18.dist-info/RECORD,,