kodexa 7.0.11147167972__py3-none-any.whl → 7.0.11214821080__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.
kodexa/model/objects.py CHANGED
@@ -4444,11 +4444,40 @@ class Guidance(BaseModel):
4444
4444
  guidance_options: Optional[List[Option]] = Field(None, alias="guidanceOptions")
4445
4445
 
4446
4446
 
4447
+ class GuidanceEmbeddingType(Enum):
4448
+ SUMMARY = "SUMMARY"
4449
+ PAGE = "PAGE"
4450
+ CONTENT_NODE = "CONTENT_NODE"
4451
+ TFIDF = "TFIDF"
4452
+
4453
+ class GuidanceSetStorage(BaseModel):
4454
+ model_config = ConfigDict(
4455
+ populate_by_name=True,
4456
+ use_enum_values=True,
4457
+ arbitrary_types_allowed=True,
4458
+ protected_namespaces=("model_config",),
4459
+ )
4460
+
4461
+ embedding_model_id: Optional[str] = Field(None, alias="embeddingModelId")
4462
+ embedding_types: List[GuidanceEmbeddingType] = Field(default_factory=list, alias="embeddingTypes")
4463
+
4447
4464
  class GuidanceSet(ExtensionPackProvided):
4448
4465
  """
4449
-
4466
+ A guidance set is a list of guidance objects that can be applied to a taxonomy
4450
4467
  """
4451
- guidance: List[Guidance] = Field(None, description="The guidance in the set")
4468
+ model_config = ConfigDict(
4469
+ populate_by_name=True,
4470
+ use_enum_values=True,
4471
+ arbitrary_types_allowed=True,
4472
+ protected_namespaces=("model_config",),
4473
+ )
4474
+
4475
+ active_store: bool = Field(False, alias="activeStore", description="If true, allows guidance to be stored through the API")
4476
+ storage: GuidanceSetStorage = Field(default_factory=GuidanceSetStorage)
4477
+ guidance: List[Guidance] = Field(default_factory=list, description="The guidance in the set")
4478
+
4479
+ def get_type(self) -> str:
4480
+ return "guidance"
4452
4481
 
4453
4482
 
4454
4483
  class PageGuidanceSet(BaseModel):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 7.0.11147167972
3
+ Version: 7.0.11214821080
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -12,7 +12,7 @@ kodexa/model/entities/check_response.py,sha256=eqBHxO6G2OAziL3p9bHGI-oiPkAG82H6C
12
12
  kodexa/model/entities/product.py,sha256=ZDpHuBE_9FJ-klnkyBvTfPwYOqBkM1wraZMtHqNA8FQ,3526
13
13
  kodexa/model/entities/product_subscription.py,sha256=UcmWR-qgLfdV7VCtJNwzgkanoS8nBSL6ngVuxQUK1M8,3810
14
14
  kodexa/model/model.py,sha256=Ay3X9rsoJaUdG51WysSDPp2iy_cnz4eEYJgWdC25uio,118058
15
- kodexa/model/objects.py,sha256=7h1ywW5MoCxw8tOp7Z_dBfb9W008B7xvgVC6GPn-vJI,179666
15
+ kodexa/model/objects.py,sha256=xeKKfmpIpVvbIHSo5MH57G_idSz0rOkL6w146Sfamao,180747
16
16
  kodexa/model/persistence.py,sha256=w4WGS_qH1iowH8-ZMawZBZ2RFW3bNvmFy5fgSwr6VmQ,66198
17
17
  kodexa/pipeline/__init__.py,sha256=sA7f5D6qkdMrpp2xTIeefnrUBI6xxEEWostvxfX_1Cs,236
18
18
  kodexa/pipeline/pipeline.py,sha256=ZYpJAWcwV4YRK589DUhU0vXGQlkNSj4J2TsGbYqTLjo,25221
@@ -42,7 +42,7 @@ kodexa/testing/test_utils.py,sha256=DrLCkHxdb6AbZ-X3WmTMbQmnVIm55VEBL8MjtUK9POs,
42
42
  kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
43
43
  kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
44
44
  kodexa/utils/__init__.py,sha256=Pnim1o9_db5YEnNvDTxpM7HG-qTlL6n8JwFwOafU9wo,5928
45
- kodexa-7.0.11147167972.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
46
- kodexa-7.0.11147167972.dist-info/METADATA,sha256=0cR8f7DW_txf5aPXdiFYH4XszRt9Ql_Ydo5d7LQHGKA,3529
47
- kodexa-7.0.11147167972.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
48
- kodexa-7.0.11147167972.dist-info/RECORD,,
45
+ kodexa-7.0.11214821080.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
46
+ kodexa-7.0.11214821080.dist-info/METADATA,sha256=wzfbAi4vLGBhPx640g63HvfUzVZkCp86-08PlTzYORc,3529
47
+ kodexa-7.0.11214821080.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
48
+ kodexa-7.0.11214821080.dist-info/RECORD,,