euriai 1.0.17__py3-none-any.whl → 1.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.
euriai/__init__.py CHANGED
@@ -4,7 +4,7 @@ Euri AI Python SDK
4
4
  A comprehensive Python SDK for the Euri AI API with integrations for popular frameworks.
5
5
  """
6
6
 
7
- __version__ = "1.0.17"
7
+ __version__ = "1.0.18"
8
8
 
9
9
  # Core imports that should always work
10
10
  try:
euriai/langgraph.py CHANGED
@@ -413,6 +413,24 @@ class EuriaiLangGraph:
413
413
  if self.verbose:
414
414
  print(f"Added condition node: {name} with routes: {routes}")
415
415
 
416
+ def add_conditional_node(
417
+ self,
418
+ name: str,
419
+ condition_func: Callable[[Dict[str, Any]], str],
420
+ routes: Dict[str, str]
421
+ ) -> None:
422
+ """
423
+ Alias for add_condition_node for more intuitive naming.
424
+
425
+ Add a conditional node that routes based on state.
426
+
427
+ Args:
428
+ name: Node name
429
+ condition_func: Function that returns route key based on state
430
+ routes: Mapping of route keys to target nodes
431
+ """
432
+ return self.add_condition_node(name, condition_func, routes)
433
+
416
434
  def add_embedding_node(
417
435
  self,
418
436
  name: str,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: euriai
3
- Version: 1.0.17
3
+ Version: 1.0.18
4
4
  Summary: Python client for Euri API (euron.one) with CLI, LangChain, and LlamaIndex integration
5
5
  Author: Euri
6
6
  Author-email: tech@euron.one
@@ -1,4 +1,4 @@
1
- euriai/__init__.py,sha256=MQ2FHAw6ruOUDyQAlAqC7cW9Xhg2qhjVb6tX7r54F1w,6427
1
+ euriai/__init__.py,sha256=7HAeI4LEAaq9UPyxXxt5iV3HBOIn4lGBnJ3VFCGfbBU,6427
2
2
  euriai/autogen.py,sha256=z1WHftUgu3_Sn8zDXmf31onikS0p8TwH5JE4llL7ogk,21144
3
3
  euriai/cli.py,sha256=hF1wiiL2QQSfWf8WlLQyNVDBd4YkbiwmMSoPxVbyPTM,3290
4
4
  euriai/client.py,sha256=L-o6hv9N3md-l-hz-kz5nYVaaZqnrREZlo_0jguhF7E,4066
@@ -8,12 +8,12 @@ euriai/embedding.py,sha256=uP66Ph1k9Ou6J5RAkztJxlfyj0S0MESOvZ4ulhnVo-o,1270
8
8
  euriai/euri_chat.py,sha256=DEAiet1ReRwB4ljkPYaTl1Nb5uc20-JF-3PQjGQZXk4,3567
9
9
  euriai/euri_embed.py,sha256=g7zs1G-ZBDJjOGJtkkfIcV4LPtRcm9wpVWmrfMGn5EM,2919
10
10
  euriai/langchain.py,sha256=gVF9eh21RC1WtDn7SQoEREUDqOObm5IRx6BFZtB5xcc,34968
11
- euriai/langgraph.py,sha256=q29D7tg9_7gXr-_uWOMRpOsPh-GRzZOykNGuBFoXgBc,39923
11
+ euriai/langgraph.py,sha256=XfOLj5J5KXIPG_BnXV2MzjbloLNOl0wIf0MbnovoznY,40503
12
12
  euriai/llamaindex.py,sha256=c-ujod2bjL6QIvfAyuIxm1SvSCS00URFElYybKQ5Ew0,26551
13
13
  euriai/n8n.py,sha256=hjkckqyW_hZNL78UkBCof1WvKCKCIjwdvZdAgx6NrB8,3764
14
14
  euriai/smolagents.py,sha256=xlixGx2IWzAPTpSJGsYIK2L-SHGY9Mw1-8GbwVsEYtU,28507
15
- euriai-1.0.17.dist-info/METADATA,sha256=SeWBCt2LKsO9cCeZlX0cBihPuFUGCCCazRnsr2Z2ByA,6807
16
- euriai-1.0.17.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
- euriai-1.0.17.dist-info/entry_points.txt,sha256=9OkET8KIGcsjQn8UlnpPKRT75s2KW34jq1__1SXtpMA,43
18
- euriai-1.0.17.dist-info/top_level.txt,sha256=TG1htJ8cuD62MXn-NJ7DVF21QHY16w6M_QgfF_Er_EQ,7
19
- euriai-1.0.17.dist-info/RECORD,,
15
+ euriai-1.0.18.dist-info/METADATA,sha256=iDxnmLXiPmv3BaMVQlGCThABooMqKAQd13e_xUv4SJo,6807
16
+ euriai-1.0.18.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
+ euriai-1.0.18.dist-info/entry_points.txt,sha256=9OkET8KIGcsjQn8UlnpPKRT75s2KW34jq1__1SXtpMA,43
18
+ euriai-1.0.18.dist-info/top_level.txt,sha256=TG1htJ8cuD62MXn-NJ7DVF21QHY16w6M_QgfF_Er_EQ,7
19
+ euriai-1.0.18.dist-info/RECORD,,