pocketflow/cookbook/pocketflow-tool-pdf-vision/flow.py

7 lines
203 B
Python

from pocketflow import Flow
from nodes import ProcessPDFBatchNode
def create_vision_flow():
"""Create a flow for batch PDF processing with Vision API"""
return Flow(start=ProcessPDFBatchNode())