rename as mini llm flow is poor

This commit is contained in:
zachary62
2025-01-09 03:01:25 +00:00
parent 0cd73ec29b
commit ad18a25dfc
17 changed files with 35 additions and 35 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.parent))
from minillmflow import AsyncNode, AsyncBatchFlow
from pocketflow import AsyncNode, AsyncBatchFlow
class AsyncDataProcessNode(AsyncNode):
async def prep_async(self, shared_storage):
+1 -1
View File
@@ -4,7 +4,7 @@ import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.parent))
from minillmflow import AsyncNode, AsyncBatchNode, AsyncFlow
from pocketflow import AsyncNode, AsyncBatchNode, AsyncFlow
class AsyncArrayChunkNode(AsyncBatchNode):
def __init__(self, chunk_size=10):
+1 -1
View File
@@ -4,7 +4,7 @@ import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.parent))
from minillmflow import Node, AsyncNode, AsyncFlow
from pocketflow import Node, AsyncNode, AsyncFlow
class AsyncNumberNode(AsyncNode):
+1 -1
View File
@@ -4,7 +4,7 @@ import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.parent))
from minillmflow import AsyncNode, AsyncParallelBatchNode, AsyncParallelBatchFlow
from pocketflow import AsyncNode, AsyncParallelBatchNode, AsyncParallelBatchFlow
class AsyncParallelNumberProcessor(AsyncParallelBatchNode):
def __init__(self, delay=0.1):
+1 -1
View File
@@ -4,7 +4,7 @@ import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.parent))
from minillmflow import AsyncParallelBatchNode, AsyncParallelBatchFlow
from pocketflow import AsyncParallelBatchNode, AsyncParallelBatchFlow
class AsyncParallelNumberProcessor(AsyncParallelBatchNode):
def __init__(self, delay=0.1):
+1 -1
View File
@@ -3,7 +3,7 @@ import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.parent))
from minillmflow import Node, BatchFlow, Flow
from pocketflow import Node, BatchFlow, Flow
class DataProcessNode(Node):
def prep(self, shared_storage):
+1 -1
View File
@@ -3,7 +3,7 @@ import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.parent))
from minillmflow import Node, BatchNode, Flow
from pocketflow import Node, BatchNode, Flow
class ArrayChunkNode(BatchNode):
def __init__(self, chunk_size=10):
+1 -1
View File
@@ -4,7 +4,7 @@ import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.parent))
from minillmflow import Node, AsyncNode, Flow, AsyncFlow
from pocketflow import Node, AsyncNode, Flow, AsyncFlow
class FallbackNode(Node):
def __init__(self, should_fail=True, max_retries=1):
+1 -1
View File
@@ -3,7 +3,7 @@ import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.parent))
from minillmflow import Node, Flow
from pocketflow import Node, Flow
class NumberNode(Node):
def __init__(self, number):
+1 -1
View File
@@ -5,7 +5,7 @@ from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.parent))
from minillmflow import Node, Flow
from pocketflow import Node, Flow
# Simple example Nodes
class NumberNode(Node):