versionhq 1.1.7.8__py3-none-any.whl → 1.1.7.9__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.
- versionhq/__init__.py +1 -1
- versionhq/clients/product/model.py +4 -1
- versionhq/clients/workflow/model.py +5 -5
- {versionhq-1.1.7.8.dist-info → versionhq-1.1.7.9.dist-info}/METADATA +2 -2
- {versionhq-1.1.7.8.dist-info → versionhq-1.1.7.9.dist-info}/RECORD +8 -8
- {versionhq-1.1.7.8.dist-info → versionhq-1.1.7.9.dist-info}/LICENSE +0 -0
- {versionhq-1.1.7.8.dist-info → versionhq-1.1.7.9.dist-info}/WHEEL +0 -0
- {versionhq-1.1.7.8.dist-info → versionhq-1.1.7.9.dist-info}/top_level.txt +0 -0
versionhq/__init__.py
CHANGED
@@ -34,7 +34,10 @@ class Product(BaseModel):
|
|
34
34
|
id: UUID4 = Field(default_factory=uuid.uuid4, frozen=True)
|
35
35
|
name: Optional[str] = Field(default=None, description="product name")
|
36
36
|
description: Optional[str] = Field(
|
37
|
-
default=None,
|
37
|
+
default=None,
|
38
|
+
max_length=256,
|
39
|
+
description="product description scraped from landing url or client input. cascade to the agent"
|
40
|
+
)
|
38
41
|
provider: Optional[ProductProvider] = Field(default=None)
|
39
42
|
audience: Optional[str] = Field(default=None, description="target audience")
|
40
43
|
usp: Optional[str] = Field(default=None)
|
@@ -60,6 +60,7 @@ class MessagingComponent(ABC, BaseModel):
|
|
60
60
|
default=None, description="interval to move on to the next layer. if this is the last layer, set as `None`"
|
61
61
|
)
|
62
62
|
score: float | InstanceOf[Score] = Field(default=None)
|
63
|
+
condition: str = Field(default=None, max_length=128, description="condition to execute the next messaging component")
|
63
64
|
|
64
65
|
|
65
66
|
def store_scoring_result(self, scoring_subject: str, score_raw: int | Score | ScoreFormat = None):
|
@@ -106,7 +107,7 @@ class MessagingWorkflow(ABC, BaseModel):
|
|
106
107
|
default=None, description="store `Agent` instances responsible for autopiloting this workflow. if the team exsits, this field remains as `None`")
|
107
108
|
|
108
109
|
# metrics
|
109
|
-
destination: Optional[str] = Field(
|
110
|
+
destination: Optional[str | None] = Field(default=None, description="destination service to launch this workflow")
|
110
111
|
product: InstanceOf[Product] = Field(default=None)
|
111
112
|
customer: InstanceOf[Customer] = Field(default=None)
|
112
113
|
|
@@ -142,10 +143,9 @@ class MessagingWorkflow(ABC, BaseModel):
|
|
142
143
|
if self.customer is not None:
|
143
144
|
self.destination = self.customer.on
|
144
145
|
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
self.destination = destination_list[0]
|
146
|
+
elif self.product.provider is not None and self.product.provider.destinations:
|
147
|
+
self.destination = self.product.provider.destinations[0]
|
148
|
+
|
149
149
|
return self
|
150
150
|
|
151
151
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: versionhq
|
3
|
-
Version: 1.1.7.
|
3
|
+
Version: 1.1.7.9
|
4
4
|
Summary: LLM orchestration frameworks for model-agnostic AI agents that handle complex outbound workflows
|
5
5
|
Author-email: Kuriko Iwai <kuriko@versi0n.io>
|
6
6
|
License: MIT License
|
@@ -57,7 +57,7 @@ Requires-Dist: appdirs>=1.4.4
|
|
57
57
|
|
58
58
|

|
59
59
|
[](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml)
|
60
|
-

|
61
61
|

|
62
62
|

|
63
63
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
versionhq/__init__.py,sha256=
|
1
|
+
versionhq/__init__.py,sha256=bz4C48jhCjkQjethRmtw4_Ha_3OUdDDytk6PBCemiZU,871
|
2
2
|
versionhq/_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
versionhq/_utils/cache_handler.py,sha256=zDQKzIn7vp-M2-uepHFxgJstjfftZS5mzXKL_-4uVvI,370
|
4
4
|
versionhq/_utils/i18n.py,sha256=TwA_PnYfDLA6VqlUDPuybdV9lgi3Frh_ASsb_X8jJo8,1483
|
@@ -16,9 +16,9 @@ versionhq/clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
|
|
16
16
|
versionhq/clients/customer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
17
|
versionhq/clients/customer/model.py,sha256=rQnCv_wdCdrYAsUjyB6X6ULiuWfqcBBoarXcQT5kj88,1762
|
18
18
|
versionhq/clients/product/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
19
|
-
versionhq/clients/product/model.py,sha256=
|
19
|
+
versionhq/clients/product/model.py,sha256=HxiSv8zq5L0H210jXWfjX_Yg1oyWhi2YASR68JEtmDY,2408
|
20
20
|
versionhq/clients/workflow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
21
|
-
versionhq/clients/workflow/model.py,sha256=
|
21
|
+
versionhq/clients/workflow/model.py,sha256=YI6sNpdbizUOqPPXrTCtdmVt619uQ5hQgGS0BcA0njI,5834
|
22
22
|
versionhq/llm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
23
23
|
versionhq/llm/llm_vars.py,sha256=YZoXqFBW7XpclUZ14_AAz7WOjoyCXnGcI959GSpX2q0,5343
|
24
24
|
versionhq/llm/model.py,sha256=mXzSuf1s6MebGT7_yqgNppde0NIlAF8bjIXAp2MZ9Uw,8247
|
@@ -35,8 +35,8 @@ versionhq/tool/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
35
|
versionhq/tool/decorator.py,sha256=Y-j4jkoujD5LUvpe8uf3p5Zagk2XVaRKC9rkIE-2geo,1189
|
36
36
|
versionhq/tool/model.py,sha256=s-y8323ikd5m5U2HG59ATgFW6L7yIFiPLLdOpeXQ8RI,6874
|
37
37
|
versionhq/tool/tool_handler.py,sha256=esUqGp8HoREesai8fmh2klAf04Sjpsacmb03C7F6sNQ,1541
|
38
|
-
versionhq-1.1.7.
|
39
|
-
versionhq-1.1.7.
|
40
|
-
versionhq-1.1.7.
|
41
|
-
versionhq-1.1.7.
|
42
|
-
versionhq-1.1.7.
|
38
|
+
versionhq-1.1.7.9.dist-info/LICENSE,sha256=7CCXuMrAjPVsUvZrsBq9DsxI2rLDUSYXR_qj4yO_ZII,1077
|
39
|
+
versionhq-1.1.7.9.dist-info/METADATA,sha256=xv6DizWz6aDv59VePfs4pUnRClJK9WHuy-2T_4-_52g,15919
|
40
|
+
versionhq-1.1.7.9.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
41
|
+
versionhq-1.1.7.9.dist-info/top_level.txt,sha256=DClQwxDWqIUGeRJkA8vBlgeNsYZs4_nJWMonzFt5Wj0,10
|
42
|
+
versionhq-1.1.7.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|