cs-models 0.0.645__py3-none-any.whl → 0.0.647__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.

Potentially problematic release.


This version of cs-models might be problematic. Click here for more details.

@@ -16,13 +16,14 @@ class DocChunkModel(Base):
16
16
  __tablename__ = "doc_chunks"
17
17
 
18
18
  id = Column(Integer, primary_key=True)
19
- source_type = Column(String(50), nullable=False)
20
- source_id = Column(Integer, nullable=False)
19
+ artifact_id = Column(String(50), nullable=False)
21
20
  chunk_cui = Column(String(50), nullable=False)
22
21
  chunk_text = Column(Text, nullable=False)
23
22
  chunk_embedding = Column(Text, nullable=False)
24
23
  embedding_source = Column(String(50), nullable=False)
25
24
  is_deleted = Column(Boolean, nullable=True)
25
+ is_indexed = Column(Boolean, nullable=True)
26
+ indexed_date = Column(DateTime, nullable=True)
26
27
  updated_at = Column(
27
28
  DateTime,
28
29
  nullable=False,
@@ -9,11 +9,12 @@ class DocChunkResourceSchema(Schema):
9
9
  not_blank = validate.Length(min=1, error='Field cannot be blank')
10
10
 
11
11
  id = fields.Integer(dump_only=True)
12
- source_type = fields.String(required=True)
13
- source_id = fields.Integer(required=True)
12
+ artifact_id = fields.String(required=True)
14
13
  chunk_cui = fields.String(required=True)
15
14
  chunk_text = fields.String(required=True)
16
15
  chunk_embedding = fields.String(required=True)
17
16
  embedding_source = fields.String(required=True)
18
17
  is_deleted = fields.Boolean(allow_none=True)
18
+ is_indexed = fields.Boolean(allow_none=True)
19
+ indexed_date = fields.DateTime(allow_none=True)
19
20
  updated_at = fields.DateTime(dump_only=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cs-models
3
- Version: 0.0.645
3
+ Version: 0.0.647
4
4
  Summary: MySQL db models
5
5
  Home-page: https://github.com/mindgram/cs-models
6
6
  Author: Shrey Verma
@@ -249,8 +249,8 @@ cs_models/resources/DigestNotification/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JC
249
249
  cs_models/resources/DigestNotification/models.py,sha256=9zNVi4Hsjl_ove6aReQivP7ocJy4dxr-SUoF9XI-X90,763
250
250
  cs_models/resources/DigestNotification/schemas.py,sha256=n7jih5IiRGRwD8fQr5UfEHb0NRJuWp7HOBGXcHEWXEs,360
251
251
  cs_models/resources/DocChunk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
252
- cs_models/resources/DocChunk/models.py,sha256=FxIkVLLqrohFf064sUyIPiGVv5Ayg_54jhrVtG-av-M,895
253
- cs_models/resources/DocChunk/schemas.py,sha256=3nK5TigcbWwu2I_AoQhAgU3HmwYt4YyZQv7V1m74LMU,602
252
+ cs_models/resources/DocChunk/models.py,sha256=nYSmUKrVriSwcZC2iFUL8m71gkLnkBGowvnDk_V1QQg,946
253
+ cs_models/resources/DocChunk/schemas.py,sha256=fDcASRgqpes9lM5hWd09QXl8dl5bzUrhw0Bfuty4QTA,657
254
254
  cs_models/resources/DocEmbedding/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
255
255
  cs_models/resources/DocEmbedding/models.py,sha256=8nkbhp2GE-sZjtg6t6ABHGpRhw5W30BSB-77VvZ8h8k,760
256
256
  cs_models/resources/DocEmbedding/schemas.py,sha256=jaQCgkk-hj2HEaadOrRzkZqtwbuqw8bniZ-Vp85o88c,448
@@ -1057,7 +1057,7 @@ cs_models/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1057
1057
  cs_models/utils/alchemy.py,sha256=fhINGFn41owJ2DLXQKXAAtLqeZ1BRzD_qU0wPK_bsGQ,1598
1058
1058
  cs_models/utils/utils.py,sha256=bY623DuzycfPQiaOQT2AxfANeWfwr5w76dBuQ813-ns,3664
1059
1059
  cs_models/utils/profiling/__init__.py,sha256=N-73vb0M92C975fxgXyBCBjCPELl8Oh21ZY_-tzDnns,569
1060
- cs_models-0.0.645.dist-info/METADATA,sha256=2hwo_87X4Jc96h1LH8j2scDcqbgxVi85StnEMxY_Lm0,792
1061
- cs_models-0.0.645.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
1062
- cs_models-0.0.645.dist-info/top_level.txt,sha256=M7CA8Nh5t0vRManQ9gHfphhO16uhMqIbfaxr1jPDg18,10
1063
- cs_models-0.0.645.dist-info/RECORD,,
1060
+ cs_models-0.0.647.dist-info/METADATA,sha256=pJFTgrM0aak2TF5WP5P-0BS1ohz3QroGMFHS3E_ecy0,792
1061
+ cs_models-0.0.647.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
1062
+ cs_models-0.0.647.dist-info/top_level.txt,sha256=M7CA8Nh5t0vRManQ9gHfphhO16uhMqIbfaxr1jPDg18,10
1063
+ cs_models-0.0.647.dist-info/RECORD,,