xpander-sdk 2.0.203__py3-none-any.whl → 2.0.205__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.
@@ -30,6 +30,8 @@ class OrchestrationNodeType(str, Enum):
30
30
  Classifier: Node that classifies inputs using LLM.
31
31
  Wait: Node that pauses execution until a condition is met.
32
32
  Action: Node that triggers an action (api).
33
+ Guardrail: Node that enforces guardrails on inputs using LLM.
34
+ Summarizer: Node that summarizes or extracts information from inputs using LLM.
33
35
  """
34
36
 
35
37
  CustomFunction = "custom_function"
@@ -39,6 +41,8 @@ class OrchestrationNodeType(str, Enum):
39
41
  Classifier = "classifier"
40
42
  Wait = "wait"
41
43
  Action = "action"
44
+ Guardrail = "guardrail"
45
+ Summarizer = "summarizer"
42
46
 
43
47
  class OrchestrationConditionType(str, Enum):
44
48
  """Types of conditions for orchestration control flow.
@@ -117,7 +121,7 @@ class OrchestrationClassifierNodeLLMSettings(XPanderSharedModel):
117
121
 
118
122
  Attributes:
119
123
  model_provider: The LLM provider to use. Defaults to OpenAI.
120
- model_name: Specific model identifier. Defaults to "gpt-5.2".
124
+ model_name: Specific model identifier. Defaults to "gpt-5-nano".
121
125
  llm_credentials_key: Key identifier for stored credentials.
122
126
  llm_credentials_key_type: Type of credential key storage. Defaults to XPander.
123
127
  llm_credentials: Direct credential object if not using stored credentials.
@@ -126,7 +130,7 @@ class OrchestrationClassifierNodeLLMSettings(XPanderSharedModel):
126
130
  """
127
131
 
128
132
  model_provider: Optional[LLMModelProvider] = LLMModelProvider.OpenAI
129
- model_name: Optional[str] = "gpt-5.2"
133
+ model_name: Optional[str] = "gpt-5-nano"
130
134
  llm_credentials_key: Optional[str] = None
131
135
  llm_credentials_key_type: Optional[LLMCredentialsKeyType] = (
132
136
  LLMCredentialsKeyType.XPander
@@ -256,6 +260,7 @@ class OrchestrationNode(XPanderSharedModel):
256
260
  execution strategies, and a specific node type definition.
257
261
 
258
262
  Attributes:
263
+ type: Type of the node (must match the definition type).
259
264
  id: Unique identifier for the node. Auto-generated if not provided.
260
265
  next_node_ids: List of IDs of the next nodes to execute in the workflow (supports branching).
261
266
  name: Human-readable name for the node.
@@ -270,6 +275,7 @@ class OrchestrationNode(XPanderSharedModel):
270
275
  input_instructions: Instructions to use for structured input.
271
276
  """
272
277
 
278
+ type: OrchestrationNodeType
273
279
  id: str = Field(default_factory=lambda: str(uuid4()))
274
280
  next_node_ids: List[str] = Field(default_factory=list)
275
281
  name: Optional[str] = None
@@ -294,4 +300,4 @@ class OrchestrationNode(XPanderSharedModel):
294
300
  ]
295
301
  input_type: Optional[OutputFormat] = OutputFormat.Text
296
302
  input_schema: Optional[Dict] = None
297
- input_instructions: Optional[str] = None
303
+ input_instructions: Optional[str] = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xpander-sdk
3
- Version: 2.0.203
3
+ Version: 2.0.205
4
4
  Summary: xpander.ai Backend-as-a-service for AI Agents - SDK
5
5
  Home-page: https://www.xpander.ai
6
6
  Author: xpanderAI
@@ -22,7 +22,7 @@ Requires-Dist: strands-agents>=1.20.0
22
22
  Requires-Dist: openai-agents>=0.6.4
23
23
  Requires-Dist: python-toon>=0.1.3
24
24
  Provides-Extra: agno
25
- Requires-Dist: agno==2.3.6; extra == "agno"
25
+ Requires-Dist: agno==2.3.26; extra == "agno"
26
26
  Requires-Dist: sqlalchemy; extra == "agno"
27
27
  Requires-Dist: psycopg[binary,pool]; extra == "agno"
28
28
  Requires-Dist: greenlet; extra == "agno"
@@ -16,7 +16,7 @@ xpander_sdk/models/events.py,sha256=HnootQSUIIRM4BIdaTbuPUEJ55hLVtA7KDCSsnHeBKw,
16
16
  xpander_sdk/models/frameworks.py,sha256=-7W_m5cvgS1qLp0gGAFP4noNWT82IT1ZqtQv5WuOC2k,2939
17
17
  xpander_sdk/models/generic.py,sha256=yw5rBRdZ-6ucTI4AwtskenddepOooiFRM--9xx5jrL8,681
18
18
  xpander_sdk/models/notifications.py,sha256=3tK4Z2gmA6YxRtqsWgzjiVISgJyHvmjTooiRgzrj5zY,3373
19
- xpander_sdk/models/orchestrations.py,sha256=JpMs1azH8VA332JVwJTwZuf_YEpv5hou581tPaRbg14,11134
19
+ xpander_sdk/models/orchestrations.py,sha256=_cYaD5bGF80_1gYxd9MGeuGJ4GSFHcuDFfv9qFYDM5A,11454
20
20
  xpander_sdk/models/shared.py,sha256=gW88kA_UslNinUjtQKpLVF0sHDZnckwLWexRapxPivU,3125
21
21
  xpander_sdk/models/user.py,sha256=_FTG0JO6iTrbcvJp-BBJ6nuj281zhyQB5ldQkBCyYDU,749
22
22
  xpander_sdk/modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -90,8 +90,8 @@ xpander_sdk/utils/generic.py,sha256=XrRj2-L8c0YWpfPdDyXE-pVL-6lKF9VpyZzKHQ4wuCc,
90
90
  xpander_sdk/utils/tools.py,sha256=lyFkq2yP7DxBkyXYVlnFRwDhQCvf0fZZMDm5fBycze4,1244
91
91
  xpander_sdk/utils/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
92
92
  xpander_sdk/utils/agents/compactization_agent.py,sha256=S_U1dSmDC7I0JUsp_THUYjfutEI5QMBaMPJEXGp0_Sw,14389
93
- xpander_sdk-2.0.203.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
94
- xpander_sdk-2.0.203.dist-info/METADATA,sha256=jaB2AZxvmwQr44lP2AglS2NVVyk1vLTf3ZG6GCuGeTg,17951
95
- xpander_sdk-2.0.203.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
96
- xpander_sdk-2.0.203.dist-info/top_level.txt,sha256=UCjnxQpsMy5Zoe7lmRuVDO6DI2V_6PgRFfm4oizRbVs,12
97
- xpander_sdk-2.0.203.dist-info/RECORD,,
93
+ xpander_sdk-2.0.205.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
94
+ xpander_sdk-2.0.205.dist-info/METADATA,sha256=H05TKvuI0Q8YEykvUD4RGsx68dZ_dLh2LuqKxrxZt5U,17952
95
+ xpander_sdk-2.0.205.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
96
+ xpander_sdk-2.0.205.dist-info/top_level.txt,sha256=UCjnxQpsMy5Zoe7lmRuVDO6DI2V_6PgRFfm4oizRbVs,12
97
+ xpander_sdk-2.0.205.dist-info/RECORD,,