euriai 1.0.17__tar.gz → 1.0.18__tar.gz
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-1.0.17 → euriai-1.0.18}/PKG-INFO +1 -1
- {euriai-1.0.17 → euriai-1.0.18}/euriai/__init__.py +1 -1
- {euriai-1.0.17 → euriai-1.0.18}/euriai/langgraph.py +18 -0
- {euriai-1.0.17 → euriai-1.0.18}/euriai.egg-info/PKG-INFO +1 -1
- {euriai-1.0.17 → euriai-1.0.18}/setup.py +1 -1
- {euriai-1.0.17 → euriai-1.0.18}/README.md +0 -0
- {euriai-1.0.17 → euriai-1.0.18}/euriai/autogen.py +0 -0
- {euriai-1.0.17 → euriai-1.0.18}/euriai/cli.py +0 -0
- {euriai-1.0.17 → euriai-1.0.18}/euriai/client.py +0 -0
- {euriai-1.0.17 → euriai-1.0.18}/euriai/crewai.py +0 -0
- {euriai-1.0.17 → euriai-1.0.18}/euriai/direct.py +0 -0
- {euriai-1.0.17 → euriai-1.0.18}/euriai/embedding.py +0 -0
- {euriai-1.0.17 → euriai-1.0.18}/euriai/euri_chat.py +0 -0
- {euriai-1.0.17 → euriai-1.0.18}/euriai/euri_embed.py +0 -0
- {euriai-1.0.17 → euriai-1.0.18}/euriai/langchain.py +0 -0
- {euriai-1.0.17 → euriai-1.0.18}/euriai/llamaindex.py +0 -0
- {euriai-1.0.17 → euriai-1.0.18}/euriai/n8n.py +0 -0
- {euriai-1.0.17 → euriai-1.0.18}/euriai/smolagents.py +0 -0
- {euriai-1.0.17 → euriai-1.0.18}/euriai.egg-info/SOURCES.txt +0 -0
- {euriai-1.0.17 → euriai-1.0.18}/euriai.egg-info/dependency_links.txt +0 -0
- {euriai-1.0.17 → euriai-1.0.18}/euriai.egg-info/entry_points.txt +0 -0
- {euriai-1.0.17 → euriai-1.0.18}/euriai.egg-info/requires.txt +0 -0
- {euriai-1.0.17 → euriai-1.0.18}/euriai.egg-info/top_level.txt +0 -0
- {euriai-1.0.17 → euriai-1.0.18}/setup.cfg +0 -0
@@ -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,
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name="euriai",
|
5
|
-
version="1.0.
|
5
|
+
version="1.0.18",
|
6
6
|
description="Python client for Euri API (euron.one) with CLI, LangChain, and LlamaIndex integration",
|
7
7
|
long_description=open("README.md", encoding="utf-8").read(),
|
8
8
|
long_description_content_type="text/markdown",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|