gllm-pipeline-binary 0.4.28__cp312-cp312-win_amd64.whl → 0.4.30__cp312-cp312-win_amd64.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.
- gllm_pipeline/pipeline/composer/composer.pyi +3 -3
- gllm_pipeline/pipeline/composer/guard_composer.pyi +3 -3
- gllm_pipeline/pipeline/composer/if_else_composer.pyi +3 -3
- gllm_pipeline/pipeline/composer/parallel_composer.pyi +2 -2
- gllm_pipeline/pipeline/composer/switch_composer.pyi +3 -3
- gllm_pipeline/pipeline/composer/toggle_composer.pyi +3 -3
- gllm_pipeline/pipeline/pipeline.pyi +1 -2
- gllm_pipeline/router/aurelio_semantic_router/aurelio_semantic_router.pyi +1 -1
- gllm_pipeline/router/aurelio_semantic_router/encoders/em_invoker_encoder.pyi +1 -1
- gllm_pipeline/router/aurelio_semantic_router/encoders/langchain_encoder.pyi +1 -1
- gllm_pipeline/router/aurelio_semantic_router/index/aurelio_index.pyi +1 -2
- gllm_pipeline/router/aurelio_semantic_router/index/vector_store_adapter_index.pyi +1 -1
- gllm_pipeline/router/lm_based_router.pyi +1 -1
- gllm_pipeline/router/router.pyi +1 -2
- gllm_pipeline/router/similarity_based_router.pyi +1 -1
- gllm_pipeline/steps/_func.pyi +2 -2
- gllm_pipeline/steps/branching_step.pyi +1 -2
- gllm_pipeline/steps/component_step.pyi +3 -3
- gllm_pipeline/steps/composite_step.pyi +5 -6
- gllm_pipeline/steps/conditional_step.pyi +5 -6
- gllm_pipeline/steps/guard_step.pyi +2 -2
- gllm_pipeline/steps/log_step.pyi +3 -3
- gllm_pipeline/steps/map_reduce_step.pyi +3 -3
- gllm_pipeline/steps/no_op_step.pyi +1 -1
- gllm_pipeline/steps/parallel_step.pyi +5 -5
- gllm_pipeline/steps/pipeline_step.pyi +6 -7
- gllm_pipeline/steps/state_operator_step.pyi +2 -2
- gllm_pipeline/steps/step_error_handler/empty_step_error_handler.pyi +0 -1
- gllm_pipeline/steps/step_error_handler/fallback_step_error_handler.pyi +1 -1
- gllm_pipeline/steps/step_error_handler/keep_step_error_handler.pyi +0 -1
- gllm_pipeline/steps/step_error_handler/raise_step_error_handler.pyi +0 -1
- gllm_pipeline/steps/step_error_handler/step_error_handler.pyi +2 -3
- gllm_pipeline/steps/subgraph_step.pyi +3 -3
- gllm_pipeline/steps/terminator_step.pyi +3 -3
- gllm_pipeline/utils/graph.pyi +1 -1
- gllm_pipeline/utils/has_inputs_mixin.pyi +0 -1
- gllm_pipeline/utils/retry_converter.pyi +1 -1
- gllm_pipeline/utils/step_execution.pyi +1 -1
- gllm_pipeline.cp312-win_amd64.pyd +0 -0
- gllm_pipeline_binary-0.4.30.dist-info/METADATA +173 -0
- {gllm_pipeline_binary-0.4.28.dist-info → gllm_pipeline_binary-0.4.30.dist-info}/RECORD +43 -43
- gllm_pipeline_binary-0.4.28.dist-info/METADATA +0 -106
- {gllm_pipeline_binary-0.4.28.dist-info → gllm_pipeline_binary-0.4.30.dist-info}/WHEEL +0 -0
- {gllm_pipeline_binary-0.4.28.dist-info → gllm_pipeline_binary-0.4.30.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from gllm_core.schema import Component
|
|
2
|
-
from gllm_core.utils.retry import RetryConfig
|
|
3
|
-
from gllm_datastore.cache.cache import BaseCache
|
|
1
|
+
from gllm_core.schema import Component
|
|
2
|
+
from gllm_core.utils.retry import RetryConfig
|
|
3
|
+
from gllm_datastore.cache.cache import BaseCache
|
|
4
4
|
from gllm_pipeline.alias import InputMapSpec as InputMapSpec
|
|
5
5
|
from gllm_pipeline.pipeline.composer.guard_composer import GuardComposer as GuardComposer
|
|
6
6
|
from gllm_pipeline.pipeline.composer.if_else_composer import IfElseComposer as IfElseComposer
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from gllm_core.schema import Component
|
|
2
|
-
from gllm_core.utils.retry import RetryConfig
|
|
3
|
-
from gllm_datastore.cache.cache import BaseCache
|
|
1
|
+
from gllm_core.schema import Component
|
|
2
|
+
from gllm_core.utils.retry import RetryConfig
|
|
3
|
+
from gllm_datastore.cache.cache import BaseCache
|
|
4
4
|
from gllm_pipeline.alias import InputMapSpec as InputMapSpec
|
|
5
5
|
from gllm_pipeline.pipeline.composer.composer import Composer as Composer
|
|
6
6
|
from gllm_pipeline.steps.pipeline_step import BasePipelineStep as BasePipelineStep
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from gllm_core.schema import Component
|
|
2
|
-
from gllm_core.utils.retry import RetryConfig
|
|
3
|
-
from gllm_datastore.cache.cache import BaseCache
|
|
1
|
+
from gllm_core.schema import Component
|
|
2
|
+
from gllm_core.utils.retry import RetryConfig
|
|
3
|
+
from gllm_datastore.cache.cache import BaseCache
|
|
4
4
|
from gllm_pipeline.alias import InputMapSpec as InputMapSpec
|
|
5
5
|
from gllm_pipeline.pipeline.composer.composer import Composer as Composer
|
|
6
6
|
from gllm_pipeline.steps.pipeline_step import BasePipelineStep as BasePipelineStep
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
from gllm_core.utils.retry import RetryConfig
|
|
2
|
-
from gllm_datastore.cache.cache import BaseCache
|
|
1
|
+
from gllm_core.utils.retry import RetryConfig
|
|
2
|
+
from gllm_datastore.cache.cache import BaseCache
|
|
3
3
|
from gllm_pipeline.alias import InputMapSpec as InputMapSpec
|
|
4
4
|
from gllm_pipeline.pipeline.composer.composer import Composer as Composer
|
|
5
5
|
from gllm_pipeline.schema import PipelineSteps as PipelineSteps
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from gllm_core.schema import Component
|
|
2
|
-
from gllm_core.utils.retry import RetryConfig
|
|
3
|
-
from gllm_datastore.cache.cache import BaseCache
|
|
1
|
+
from gllm_core.schema import Component
|
|
2
|
+
from gllm_core.utils.retry import RetryConfig
|
|
3
|
+
from gllm_datastore.cache.cache import BaseCache
|
|
4
4
|
from gllm_pipeline.alias import InputMapSpec as InputMapSpec
|
|
5
5
|
from gllm_pipeline.pipeline.composer.composer import Composer as Composer
|
|
6
6
|
from gllm_pipeline.steps.pipeline_step import BasePipelineStep as BasePipelineStep
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from gllm_core.schema import Component
|
|
2
|
-
from gllm_core.utils.retry import RetryConfig
|
|
3
|
-
from gllm_datastore.cache.cache import BaseCache
|
|
1
|
+
from gllm_core.schema import Component
|
|
2
|
+
from gllm_core.utils.retry import RetryConfig
|
|
3
|
+
from gllm_datastore.cache.cache import BaseCache
|
|
4
4
|
from gllm_pipeline.alias import InputMapSpec as InputMapSpec
|
|
5
5
|
from gllm_pipeline.pipeline.composer.composer import Composer as Composer
|
|
6
6
|
from gllm_pipeline.steps.pipeline_step import BasePipelineStep as BasePipelineStep
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from gllm_core.schema.tool import Tool
|
|
3
|
-
from gllm_datastore.cache.cache import BaseCache
|
|
3
|
+
from gllm_datastore.cache.cache import BaseCache
|
|
4
4
|
from gllm_pipeline.alias import PipelineState as PipelineState
|
|
5
5
|
from gllm_pipeline.exclusions import ExclusionManager as ExclusionManager, ExclusionSet as ExclusionSet
|
|
6
6
|
from gllm_pipeline.pipeline.composer import Composer as Composer
|
|
@@ -11,7 +11,6 @@ from gllm_pipeline.utils.graph import create_edge as create_edge
|
|
|
11
11
|
from gllm_pipeline.utils.mermaid import MERMAID_HEADER as MERMAID_HEADER, combine_mermaid_diagrams as combine_mermaid_diagrams, extract_step_diagrams as extract_step_diagrams
|
|
12
12
|
from gllm_pipeline.utils.typing_compat import TypedDict as TypedDict, is_typeddict as is_typeddict
|
|
13
13
|
from langgraph.graph import StateGraph
|
|
14
|
-
from langgraph.graph.state import CompiledStateGraph as CompiledStateGraph
|
|
15
14
|
from pydantic import BaseModel
|
|
16
15
|
from typing import Any
|
|
17
16
|
|
|
@@ -4,7 +4,7 @@ from gllm_pipeline.router.aurelio_semantic_router.index.aurelio_index import Bas
|
|
|
4
4
|
from gllm_pipeline.router.preset.preset_loader import get_preset as get_preset
|
|
5
5
|
from gllm_pipeline.router.router import BaseRouter as BaseRouter
|
|
6
6
|
from semantic_router import Route
|
|
7
|
-
from semantic_router.encoders.base import DenseEncoder
|
|
7
|
+
from semantic_router.encoders.base import DenseEncoder
|
|
8
8
|
from typing import Any
|
|
9
9
|
|
|
10
10
|
manager: Incomplete
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import abc
|
|
2
1
|
import numpy as np
|
|
3
2
|
from abc import ABC, abstractmethod
|
|
4
3
|
from semantic_router.index import BaseIndex
|
|
5
4
|
from typing import Any
|
|
6
5
|
|
|
7
|
-
class BaseAurelioIndex(BaseIndex, ABC
|
|
6
|
+
class BaseAurelioIndex(BaseIndex, ABC):
|
|
8
7
|
"""An abstract base class for the router index to be loaded by the AurelioSemanticRouter.
|
|
9
8
|
|
|
10
9
|
The `BaseAurelioIndex` extends the `BaseIndex` class from the semantic router library.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import numpy as np
|
|
2
|
-
from gllm_datastore.vector_data_store.vector_data_store import BaseVectorDataStore
|
|
2
|
+
from gllm_datastore.vector_data_store.vector_data_store import BaseVectorDataStore
|
|
3
3
|
from gllm_pipeline.router.aurelio_semantic_router.index.aurelio_index import BaseAurelioIndex as BaseAurelioIndex
|
|
4
4
|
from gllm_pipeline.router.utils import encode_bytes as encode_bytes
|
|
5
5
|
from semantic_router import Route
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from gllm_inference.request_processor import LMRequestProcessor
|
|
2
|
+
from gllm_inference.request_processor import LMRequestProcessor, UsesLM
|
|
3
3
|
from gllm_pipeline.router.preset.preset_loader import get_preset as get_preset
|
|
4
4
|
from gllm_pipeline.router.router import BaseRouter as BaseRouter
|
|
5
5
|
|
gllm_pipeline/router/router.pyi
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import abc
|
|
2
1
|
from _typeshed import Incomplete
|
|
3
2
|
from abc import ABC
|
|
4
3
|
from gllm_core.schema import Component
|
|
5
4
|
|
|
6
|
-
class BaseRouter(Component, ABC
|
|
5
|
+
class BaseRouter(Component, ABC):
|
|
7
6
|
"""An abstract base class for the routers used in Gen AI applications.
|
|
8
7
|
|
|
9
8
|
This class provides a foundation for building routers in Gen AI applications. It includes initialization for
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from gllm_inference.em_invoker.em_invoker import BaseEMInvoker
|
|
2
|
+
from gllm_inference.em_invoker.em_invoker import BaseEMInvoker
|
|
3
3
|
from gllm_pipeline.router.router import BaseRouter as BaseRouter
|
|
4
4
|
|
|
5
5
|
class SimilarityBasedRouter(BaseRouter):
|
gllm_pipeline/steps/_func.pyi
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from gllm_core.schema import Component
|
|
2
|
-
from gllm_core.utils.retry import RetryConfig
|
|
3
|
-
from gllm_datastore.cache.cache import BaseCache
|
|
2
|
+
from gllm_core.utils.retry import RetryConfig
|
|
3
|
+
from gllm_datastore.cache.cache import BaseCache
|
|
4
4
|
from gllm_pipeline.alias import InputMapSpec as InputMapSpec, PipelineSteps as PipelineSteps
|
|
5
5
|
from gllm_pipeline.pipeline.pipeline import Pipeline as Pipeline
|
|
6
6
|
from gllm_pipeline.steps.component_step import ComponentStep as ComponentStep
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import abc
|
|
2
1
|
from _typeshed import Incomplete
|
|
3
2
|
from gllm_pipeline.alias import PipelineSteps as PipelineSteps
|
|
4
3
|
from gllm_pipeline.exclusions import ExclusionSet as ExclusionSet
|
|
5
4
|
from gllm_pipeline.steps.composite_step import BaseCompositeStep as BaseCompositeStep
|
|
6
5
|
from gllm_pipeline.steps.pipeline_step import BasePipelineStep as BasePipelineStep
|
|
7
6
|
|
|
8
|
-
class BranchingStep(BaseCompositeStep
|
|
7
|
+
class BranchingStep(BaseCompositeStep):
|
|
9
8
|
"""Mixin-like base for composites that maintain named branches.
|
|
10
9
|
|
|
11
10
|
Attributes:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from gllm_core.schema import Component
|
|
3
|
-
from gllm_core.utils.retry import RetryConfig
|
|
4
|
-
from gllm_datastore.cache.cache import BaseCache
|
|
2
|
+
from gllm_core.schema import Component
|
|
3
|
+
from gllm_core.utils.retry import RetryConfig
|
|
4
|
+
from gllm_datastore.cache.cache import BaseCache
|
|
5
5
|
from gllm_pipeline.alias import InputMapSpec as InputMapSpec, PipelineState as PipelineState
|
|
6
6
|
from gllm_pipeline.steps.pipeline_step import BasePipelineStep as BasePipelineStep
|
|
7
7
|
from gllm_pipeline.steps.step_error_handler.step_error_handler import BaseStepErrorHandler as BaseStepErrorHandler
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import abc
|
|
2
1
|
from abc import ABC, abstractmethod
|
|
3
|
-
from gllm_core.utils.retry import RetryConfig
|
|
4
|
-
from gllm_datastore.cache.cache import BaseCache
|
|
2
|
+
from gllm_core.utils.retry import RetryConfig
|
|
3
|
+
from gllm_datastore.cache.cache import BaseCache
|
|
5
4
|
from gllm_pipeline.exclusions import ExclusionSet as ExclusionSet
|
|
6
5
|
from gllm_pipeline.steps.pipeline_step import BasePipelineStep as BasePipelineStep
|
|
7
6
|
from gllm_pipeline.steps.step_error_handler.step_error_handler import BaseStepErrorHandler as BaseStepErrorHandler
|
|
8
7
|
from gllm_pipeline.utils.error_handling import ErrorContext as ErrorContext
|
|
9
8
|
from gllm_pipeline.utils.graph import create_edge as create_edge
|
|
10
9
|
from gllm_pipeline.utils.mermaid import combine_mermaid_diagrams as combine_mermaid_diagrams, extract_step_diagrams as extract_step_diagrams
|
|
11
|
-
from langgraph.graph import StateGraph
|
|
12
|
-
from langgraph.types import RetryPolicy
|
|
10
|
+
from langgraph.graph import StateGraph
|
|
11
|
+
from langgraph.types import RetryPolicy
|
|
13
12
|
from typing import Any
|
|
14
13
|
|
|
15
|
-
class BaseCompositeStep(BasePipelineStep, ABC
|
|
14
|
+
class BaseCompositeStep(BasePipelineStep, ABC):
|
|
16
15
|
"""Base class for all composite pipeline steps.
|
|
17
16
|
|
|
18
17
|
Attributes:
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from dataclasses import dataclass
|
|
3
|
-
from gllm_core.event.event_emitter import EventEmitter
|
|
3
|
+
from gllm_core.event.event_emitter import EventEmitter
|
|
4
4
|
from gllm_core.schema import Component
|
|
5
|
-
from gllm_core.utils.retry import RetryConfig
|
|
6
|
-
from gllm_datastore.cache.cache import BaseCache
|
|
5
|
+
from gllm_core.utils.retry import RetryConfig
|
|
6
|
+
from gllm_datastore.cache.cache import BaseCache
|
|
7
7
|
from gllm_pipeline.alias import InputMapSpec as InputMapSpec, PipelineState as PipelineState, PipelineSteps as PipelineSteps
|
|
8
8
|
from gllm_pipeline.steps.branching_step import BranchingStep as BranchingStep
|
|
9
9
|
from gllm_pipeline.steps.pipeline_step import BasePipelineStep as BasePipelineStep
|
|
@@ -17,9 +17,8 @@ from gllm_pipeline.utils.input_map import shallow_dump as shallow_dump
|
|
|
17
17
|
from gllm_pipeline.utils.mermaid import MERMAID_HEADER as MERMAID_HEADER
|
|
18
18
|
from gllm_pipeline.utils.step_execution import execute_sequential_steps as execute_sequential_steps
|
|
19
19
|
from langchain_core.runnables import RunnableConfig as RunnableConfig
|
|
20
|
-
from langgraph.
|
|
21
|
-
from langgraph.
|
|
22
|
-
from langgraph.types import Command, RetryPolicy as RetryPolicy
|
|
20
|
+
from langgraph.runtime import Runtime
|
|
21
|
+
from langgraph.types import Command
|
|
23
22
|
from pydantic import BaseModel as BaseModel
|
|
24
23
|
from typing import Any, Callable
|
|
25
24
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
from gllm_core.utils.retry import RetryConfig
|
|
2
|
-
from gllm_datastore.cache.cache import BaseCache
|
|
1
|
+
from gllm_core.utils.retry import RetryConfig
|
|
2
|
+
from gllm_datastore.cache.cache import BaseCache
|
|
3
3
|
from gllm_pipeline.alias import InputMapSpec as InputMapSpec
|
|
4
4
|
from gllm_pipeline.steps.conditional_step import ConditionType as ConditionType, ConditionalStep as ConditionalStep, DEFAULT_BRANCH as DEFAULT_BRANCH
|
|
5
5
|
from gllm_pipeline.steps.pipeline_step import BasePipelineStep as BasePipelineStep
|
gllm_pipeline/steps/log_step.pyi
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from gllm_core.utils.retry import RetryConfig
|
|
3
|
-
from gllm_datastore.cache.cache import BaseCache
|
|
2
|
+
from gllm_core.utils.retry import RetryConfig
|
|
3
|
+
from gllm_datastore.cache.cache import BaseCache
|
|
4
4
|
from gllm_pipeline.alias import PipelineState as PipelineState
|
|
5
5
|
from gllm_pipeline.steps.pipeline_step import BasePipelineStep as BasePipelineStep
|
|
6
6
|
from gllm_pipeline.utils.input_map import shallow_dump as shallow_dump
|
|
7
7
|
from langchain_core.runnables import RunnableConfig as RunnableConfig
|
|
8
|
-
from langgraph.runtime import Runtime
|
|
8
|
+
from langgraph.runtime import Runtime
|
|
9
9
|
from pydantic import BaseModel as BaseModel
|
|
10
10
|
from typing import Any
|
|
11
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from gllm_core.schema import Component
|
|
3
|
-
from gllm_core.utils.retry import RetryConfig
|
|
4
|
-
from gllm_datastore.cache.cache import BaseCache
|
|
3
|
+
from gllm_core.utils.retry import RetryConfig
|
|
4
|
+
from gllm_datastore.cache.cache import BaseCache
|
|
5
5
|
from gllm_pipeline.alias import InputMapSpec as InputMapSpec
|
|
6
6
|
from gllm_pipeline.steps.pipeline_step import BasePipelineStep as BasePipelineStep
|
|
7
7
|
from gllm_pipeline.steps.step_error_handler.step_error_handler import BaseStepErrorHandler as BaseStepErrorHandler
|
|
@@ -10,7 +10,7 @@ from gllm_pipeline.utils.error_handling import ErrorContext as ErrorContext
|
|
|
10
10
|
from gllm_pipeline.utils.has_inputs_mixin import HasInputsMixin as HasInputsMixin
|
|
11
11
|
from gllm_pipeline.utils.input_map import shallow_dump as shallow_dump
|
|
12
12
|
from langchain_core.runnables import RunnableConfig as RunnableConfig
|
|
13
|
-
from langgraph.runtime import Runtime
|
|
13
|
+
from langgraph.runtime import Runtime
|
|
14
14
|
from pydantic import BaseModel as BaseModel
|
|
15
15
|
from typing import Any, Callable
|
|
16
16
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from gllm_pipeline.steps.pipeline_step import BasePipelineStep as BasePipelineStep
|
|
2
2
|
from langchain_core.runnables import RunnableConfig as RunnableConfig
|
|
3
|
-
from langgraph.runtime import Runtime
|
|
3
|
+
from langgraph.runtime import Runtime
|
|
4
4
|
from pydantic import BaseModel as BaseModel
|
|
5
5
|
from typing import Any
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from gllm_core.utils.retry import RetryConfig
|
|
3
|
-
from gllm_datastore.cache.cache import BaseCache
|
|
2
|
+
from gllm_core.utils.retry import RetryConfig
|
|
3
|
+
from gllm_datastore.cache.cache import BaseCache
|
|
4
4
|
from gllm_pipeline.alias import InputMapSpec as InputMapSpec, PipelineSteps as PipelineSteps
|
|
5
5
|
from gllm_pipeline.steps.branching_step import BranchingStep as BranchingStep
|
|
6
6
|
from gllm_pipeline.steps.pipeline_step import BasePipelineStep as BasePipelineStep
|
|
@@ -13,9 +13,9 @@ from gllm_pipeline.utils.input_map import shallow_dump as shallow_dump
|
|
|
13
13
|
from gllm_pipeline.utils.mermaid import MERMAID_HEADER as MERMAID_HEADER
|
|
14
14
|
from gllm_pipeline.utils.step_execution import execute_sequential_steps as execute_sequential_steps
|
|
15
15
|
from langchain_core.runnables import RunnableConfig as RunnableConfig
|
|
16
|
-
from langgraph.graph import StateGraph
|
|
17
|
-
from langgraph.runtime import Runtime
|
|
18
|
-
from langgraph.types import RetryPolicy
|
|
16
|
+
from langgraph.graph import StateGraph
|
|
17
|
+
from langgraph.runtime import Runtime
|
|
18
|
+
from langgraph.types import RetryPolicy
|
|
19
19
|
from pydantic import BaseModel as BaseModel
|
|
20
20
|
from typing import Any
|
|
21
21
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import abc
|
|
2
1
|
from _typeshed import Incomplete
|
|
3
2
|
from abc import ABC, abstractmethod
|
|
4
|
-
from gllm_core.utils.retry import RetryConfig
|
|
5
|
-
from gllm_datastore.cache.cache import BaseCache
|
|
3
|
+
from gllm_core.utils.retry import RetryConfig
|
|
4
|
+
from gllm_datastore.cache.cache import BaseCache
|
|
6
5
|
from gllm_pipeline.alias import PipelineState as PipelineState
|
|
7
6
|
from gllm_pipeline.exclusions import ExclusionSet as ExclusionSet
|
|
8
7
|
from gllm_pipeline.pipeline.pipeline import Pipeline as Pipeline
|
|
@@ -12,15 +11,15 @@ from gllm_pipeline.utils.error_handling import ErrorContext as ErrorContext
|
|
|
12
11
|
from gllm_pipeline.utils.graph import create_edge as create_edge
|
|
13
12
|
from gllm_pipeline.utils.retry_converter import retry_config_to_langgraph_policy as retry_config_to_langgraph_policy
|
|
14
13
|
from langchain_core.runnables import RunnableConfig as RunnableConfig
|
|
15
|
-
from langgraph.graph import StateGraph
|
|
16
|
-
from langgraph.runtime import Runtime
|
|
17
|
-
from langgraph.types import RetryPolicy
|
|
14
|
+
from langgraph.graph import StateGraph
|
|
15
|
+
from langgraph.runtime import Runtime
|
|
16
|
+
from langgraph.types import RetryPolicy
|
|
18
17
|
from pydantic import BaseModel as BaseModel
|
|
19
18
|
from typing import Any
|
|
20
19
|
|
|
21
20
|
LANGGRAPH_CONFIG_PREFIX: str
|
|
22
21
|
|
|
23
|
-
class BasePipelineStep(ABC
|
|
22
|
+
class BasePipelineStep(ABC):
|
|
24
23
|
'''The base class for all pipeline steps.
|
|
25
24
|
|
|
26
25
|
A pipeline step represents a single operation or task within a larger processing pipeline.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from gllm_core.utils.retry import RetryConfig
|
|
3
|
-
from gllm_datastore.cache.cache import BaseCache
|
|
2
|
+
from gllm_core.utils.retry import RetryConfig
|
|
3
|
+
from gllm_datastore.cache.cache import BaseCache
|
|
4
4
|
from gllm_pipeline.alias import InputMapSpec as InputMapSpec, PipelineState as PipelineState
|
|
5
5
|
from gllm_pipeline.steps.pipeline_step import BasePipelineStep as BasePipelineStep
|
|
6
6
|
from gllm_pipeline.steps.step_error_handler.step_error_handler import BaseStepErrorHandler as BaseStepErrorHandler
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from gllm_pipeline.steps.step_error_handler.step_error_handler import BaseStepErrorHandler as BaseStepErrorHandler
|
|
3
3
|
from gllm_pipeline.utils.error_handling import ErrorContext as ErrorContext
|
|
4
|
-
from langgraph.runtime import Runtime as Runtime
|
|
5
4
|
from pydantic import BaseModel as BaseModel
|
|
6
5
|
|
|
7
6
|
class EmptyStepErrorHandler(BaseStepErrorHandler):
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from gllm_pipeline.steps.step_error_handler.step_error_handler import BaseStepErrorHandler as BaseStepErrorHandler
|
|
3
3
|
from gllm_pipeline.utils.error_handling import ErrorContext as ErrorContext
|
|
4
|
-
from langgraph.runtime import Runtime
|
|
4
|
+
from langgraph.runtime import Runtime
|
|
5
5
|
from pydantic import BaseModel as BaseModel
|
|
6
6
|
from typing import Any, Callable
|
|
7
7
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
from gllm_pipeline.steps.step_error_handler.step_error_handler import BaseStepErrorHandler as BaseStepErrorHandler
|
|
2
2
|
from gllm_pipeline.utils.error_handling import ErrorContext as ErrorContext
|
|
3
|
-
from langgraph.runtime import Runtime as Runtime
|
|
4
3
|
from pydantic import BaseModel as BaseModel
|
|
5
4
|
|
|
6
5
|
class KeepStepErrorHandler(BaseStepErrorHandler):
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
from gllm_pipeline.steps.step_error_handler.step_error_handler import BaseStepErrorHandler as BaseStepErrorHandler
|
|
2
2
|
from gllm_pipeline.utils.error_handling import ErrorContext as ErrorContext
|
|
3
|
-
from langgraph.runtime import Runtime as Runtime
|
|
4
3
|
from pydantic import BaseModel as BaseModel
|
|
5
4
|
|
|
6
5
|
class RaiseStepErrorHandler(BaseStepErrorHandler):
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import abc
|
|
2
1
|
from _typeshed import Incomplete
|
|
3
2
|
from abc import ABC
|
|
4
3
|
from gllm_pipeline.utils.error_handling import ErrorContext as ErrorContext
|
|
5
|
-
from langgraph.runtime import Runtime
|
|
4
|
+
from langgraph.runtime import Runtime
|
|
6
5
|
from pydantic import BaseModel as BaseModel
|
|
7
6
|
from typing import Any
|
|
8
7
|
|
|
9
|
-
class BaseStepErrorHandler(ABC
|
|
8
|
+
class BaseStepErrorHandler(ABC):
|
|
10
9
|
"""Abstract base class for error handling strategies.
|
|
11
10
|
|
|
12
11
|
Attributes:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from gllm_core.utils.retry import RetryConfig
|
|
3
|
-
from gllm_datastore.cache.cache import BaseCache
|
|
2
|
+
from gllm_core.utils.retry import RetryConfig
|
|
3
|
+
from gllm_datastore.cache.cache import BaseCache
|
|
4
4
|
from gllm_pipeline.alias import InputMapSpec as InputMapSpec, PipelineState as PipelineState
|
|
5
5
|
from gllm_pipeline.exclusions import ExclusionSet as ExclusionSet
|
|
6
6
|
from gllm_pipeline.pipeline.pipeline import Pipeline as Pipeline
|
|
@@ -11,7 +11,7 @@ from gllm_pipeline.utils.error_handling import ErrorContext as ErrorContext
|
|
|
11
11
|
from gllm_pipeline.utils.has_inputs_mixin import HasInputsMixin as HasInputsMixin
|
|
12
12
|
from gllm_pipeline.utils.input_map import shallow_dump as shallow_dump
|
|
13
13
|
from langchain_core.runnables import RunnableConfig as RunnableConfig
|
|
14
|
-
from langgraph.runtime import Runtime
|
|
14
|
+
from langgraph.runtime import Runtime
|
|
15
15
|
from pydantic import BaseModel as BaseModel
|
|
16
16
|
from typing import Any
|
|
17
17
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
from gllm_pipeline.alias import PipelineState as PipelineState
|
|
2
2
|
from gllm_pipeline.steps.pipeline_step import BasePipelineStep as BasePipelineStep
|
|
3
3
|
from langchain_core.runnables import RunnableConfig as RunnableConfig
|
|
4
|
-
from langgraph.graph import StateGraph
|
|
5
|
-
from langgraph.runtime import Runtime
|
|
6
|
-
from langgraph.types import RetryPolicy
|
|
4
|
+
from langgraph.graph import StateGraph
|
|
5
|
+
from langgraph.runtime import Runtime
|
|
6
|
+
from langgraph.types import RetryPolicy
|
|
7
7
|
from pydantic import BaseModel as BaseModel
|
|
8
8
|
from typing import Any
|
|
9
9
|
|
gllm_pipeline/utils/graph.pyi
CHANGED
|
@@ -2,7 +2,6 @@ from _typeshed import Incomplete
|
|
|
2
2
|
from gllm_pipeline.alias import PipelineState as PipelineState
|
|
3
3
|
from gllm_pipeline.types import Val as Val
|
|
4
4
|
from gllm_pipeline.utils.input_map import shallow_dump as shallow_dump
|
|
5
|
-
from langgraph.runtime import Runtime as Runtime
|
|
6
5
|
from pydantic import BaseModel as BaseModel
|
|
7
6
|
from typing import Any
|
|
8
7
|
|
|
Binary file
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: gllm-pipeline-binary
|
|
3
|
+
Version: 0.4.30
|
|
4
|
+
Summary: A library containing components related to Gen AI applications pipeline orchestration.
|
|
5
|
+
Author-email: Dimitrij Ray <dimitrij.ray@gdplabs.id>, Henry Wicaksono <henry.wicaksono@gdplabs.id>, Kadek Denaya <kadek.d.r.diana@gdplabs.id>
|
|
6
|
+
Requires-Python: <3.13,>=3.11
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
Requires-Dist: pydantic<2.12.0,>=2.11.7
|
|
9
|
+
Requires-Dist: gllm-core-binary<0.4.0,>=0.3.0
|
|
10
|
+
Requires-Dist: gllm-inference-binary<0.6.0,>=0.5.0
|
|
11
|
+
Requires-Dist: aiohttp<3.14.0,>=3.13.3
|
|
12
|
+
Requires-Dist: langgraph<0.7.0,>=0.6.0
|
|
13
|
+
Requires-Dist: typing-extensions<5.0.0,>=4.5.0
|
|
14
|
+
Provides-Extra: dev
|
|
15
|
+
Requires-Dist: coverage<7.5.0,>=7.4.4; extra == "dev"
|
|
16
|
+
Requires-Dist: mypy<1.16.0,>=1.15.0; extra == "dev"
|
|
17
|
+
Requires-Dist: pre-commit<3.8.0,>=3.7.0; extra == "dev"
|
|
18
|
+
Requires-Dist: pytest<8.2.0,>=8.1.1; extra == "dev"
|
|
19
|
+
Requires-Dist: pytest-asyncio<0.24.0,>=0.23.6; extra == "dev"
|
|
20
|
+
Requires-Dist: pytest-cov<5.1.0,>=5.0.0; extra == "dev"
|
|
21
|
+
Requires-Dist: ruff<0.7.0,>=0.6.7; extra == "dev"
|
|
22
|
+
Provides-Extra: cache
|
|
23
|
+
Requires-Dist: gllm-datastore-binary[chroma]<0.6.0,>=0.5.0; extra == "cache"
|
|
24
|
+
Provides-Extra: multimodal-router
|
|
25
|
+
Requires-Dist: gllm-inference-binary[google]<0.6.0,>=0.5.0; extra == "multimodal-router"
|
|
26
|
+
Provides-Extra: semantic-router
|
|
27
|
+
Requires-Dist: azure-search-documents<12.0.0,>=11.5.1; extra == "semantic-router"
|
|
28
|
+
Requires-Dist: semantic-router<0.2.0,>=0.1.0; extra == "semantic-router"
|
|
29
|
+
|
|
30
|
+
# GLLM Pipeline
|
|
31
|
+
|
|
32
|
+
## Description
|
|
33
|
+
A library containing components related to Gen AI applications pipeline orchestration, including routers, steps, and utility functions for building and managing AI application workflows.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Installation
|
|
38
|
+
|
|
39
|
+
### Prerequisites
|
|
40
|
+
|
|
41
|
+
Mandatory:
|
|
42
|
+
1. Python 3.11+ — [Install here](https://www.python.org/downloads/)
|
|
43
|
+
2. pip — [Install here](https://pip.pypa.io/en/stable/installation/)
|
|
44
|
+
3. uv — [Install here](https://docs.astral.sh/uv/getting-started/installation/)
|
|
45
|
+
|
|
46
|
+
Extras (required only for Artifact Registry installations):
|
|
47
|
+
1. gcloud CLI (for authentication) — [Install here](https://cloud.google.com/sdk/docs/install), then log in using:
|
|
48
|
+
```bash
|
|
49
|
+
gcloud auth login
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
### Option 1: Install from Artifact Registry
|
|
55
|
+
|
|
56
|
+
This option requires authentication via the `gcloud` CLI.
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
uv pip install \
|
|
60
|
+
--extra-index-url "https://oauth2accesstoken:$(gcloud auth print-access-token)@glsdk.gdplabs.id/gen-ai-internal/simple/" \
|
|
61
|
+
gllm-pipeline
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
### Option 2: Install from PyPI
|
|
67
|
+
|
|
68
|
+
This option requires no authentication.
|
|
69
|
+
However, it installs the **binary wheel** version of the package, which is fully usable but **does not include source code**.
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
uv pip install gllm-pipeline-binary
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Local Development Setup
|
|
78
|
+
|
|
79
|
+
### Prerequisites
|
|
80
|
+
|
|
81
|
+
1. Python 3.11+ — [Install here](https://www.python.org/downloads/)
|
|
82
|
+
2. pip — [Install here](https://pip.pypa.io/en/stable/installation/)
|
|
83
|
+
3. uv — [Install here](https://docs.astral.sh/uv/getting-started/installation/)
|
|
84
|
+
4. gcloud CLI — [Install here](https://cloud.google.com/sdk/docs/install), then log in using:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
gcloud auth login
|
|
88
|
+
```
|
|
89
|
+
5. Git — [Install here](https://git-scm.com/downloads)
|
|
90
|
+
6. Access to the [GDP Labs SDK GitHub repository](https://github.com/GDP-ADMIN/gl-sdk)
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
### 1. Clone Repository
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
git clone git@github.com:GDP-ADMIN/gl-sdk.git
|
|
98
|
+
cd gl-sdk/libs/gllm-pipeline
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
### 2. Setup Authentication
|
|
104
|
+
|
|
105
|
+
Set the following environment variables to authenticate with internal package indexes:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
export UV_INDEX_GEN_AI_INTERNAL_USERNAME=oauth2accesstoken
|
|
109
|
+
export UV_INDEX_GEN_AI_INTERNAL_PASSWORD="$(gcloud auth print-access-token)"
|
|
110
|
+
export UV_INDEX_GEN_AI_USERNAME=oauth2accesstoken
|
|
111
|
+
export UV_INDEX_GEN_AI_PASSWORD="$(gcloud auth print-access-token)"
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
### 3. Quick Setup
|
|
117
|
+
|
|
118
|
+
Run:
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
make setup
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
### 4. Activate Virtual Environment
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
source .venv/bin/activate
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## Local Development Utilities
|
|
135
|
+
|
|
136
|
+
The following Makefile commands are available for quick operations:
|
|
137
|
+
|
|
138
|
+
### Install uv
|
|
139
|
+
|
|
140
|
+
```bash
|
|
141
|
+
make install-uv
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
### Install Pre-Commit
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
make install-pre-commit
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### Install Dependencies
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
make install
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
### Update Dependencies
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
make update
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### Run Tests
|
|
163
|
+
|
|
164
|
+
```bash
|
|
165
|
+
make test
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## Contributing
|
|
171
|
+
|
|
172
|
+
Please refer to the [Python Style Guide](https://docs.google.com/document/d/1uRggCrHnVfDPBnG641FyQBwUwLoFw0kTzNqRm92vUwM/edit?usp=sharing)
|
|
173
|
+
for information about code style, documentation standards, and SCA requirements.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
gllm_pipeline.cp312-win_amd64.pyd,sha256=
|
|
1
|
+
gllm_pipeline.cp312-win_amd64.pyd,sha256=h-n_PK5GuCPrgbTrSf78b3mbELtwZJggFzOk_yUdavs,2197504
|
|
2
2
|
gllm_pipeline.pyi,sha256=MD-D3Elp4GWlKPM1ms2pMGJRhtYf1bI84rYAjJSPEbM,2378
|
|
3
3
|
gllm_pipeline/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
gllm_pipeline/alias.pyi,sha256=FbALRYZpDlmQMsKNUvgCi6ji11PrEtNo2kgzbt0iT7g,237
|
|
@@ -7,32 +7,32 @@ gllm_pipeline/exclusions/__init__.pyi,sha256=_LwIlqmH4Iiksn7p09d2vZG4Ek8CdKC8UcD
|
|
|
7
7
|
gllm_pipeline/exclusions/exclusion_manager.pyi,sha256=DzoL-2KeTRmFgJEo8rzYViFYKbzZVTZGJmKvzaoTC0M,2960
|
|
8
8
|
gllm_pipeline/exclusions/exclusion_set.pyi,sha256=11XTt6IfkHpzomcNybA78SfWlp752Z3AGhXfm2rL0Fk,1685
|
|
9
9
|
gllm_pipeline/pipeline/__init__.pyi,sha256=1IKGdMvmLWEiOOmAKFNUPm-gdw13zrnU1gs7tDNzgEU,168
|
|
10
|
-
gllm_pipeline/pipeline/pipeline.pyi,sha256=
|
|
10
|
+
gllm_pipeline/pipeline/pipeline.pyi,sha256=hORa2VLM05sQaTktOqteO3a80Vbqu7LwKvmkN-vshPg,17051
|
|
11
11
|
gllm_pipeline/pipeline/states.pyi,sha256=NuWs7-Q6gGIHV32o-conwTtKXrbd0FpKE1d8Hg4OAt0,6459
|
|
12
12
|
gllm_pipeline/pipeline/composer/__init__.pyi,sha256=-hcOUQgpTRt1QjQfRurTf-UApFnTrhilx6vN-gYd5J0,666
|
|
13
|
-
gllm_pipeline/pipeline/composer/composer.pyi,sha256=
|
|
14
|
-
gllm_pipeline/pipeline/composer/guard_composer.pyi,sha256=
|
|
15
|
-
gllm_pipeline/pipeline/composer/if_else_composer.pyi,sha256=
|
|
16
|
-
gllm_pipeline/pipeline/composer/parallel_composer.pyi,sha256=
|
|
17
|
-
gllm_pipeline/pipeline/composer/switch_composer.pyi,sha256=
|
|
18
|
-
gllm_pipeline/pipeline/composer/toggle_composer.pyi,sha256=
|
|
13
|
+
gllm_pipeline/pipeline/composer/composer.pyi,sha256=RilABdb4JN_XusRv_0rfG2ziyOPf-YqmbRjCCk0A9z8,28674
|
|
14
|
+
gllm_pipeline/pipeline/composer/guard_composer.pyi,sha256=xYJyepAu80VSr0JdQSetwi4_lx6v76zXLdxDxFWsTQk,3294
|
|
15
|
+
gllm_pipeline/pipeline/composer/if_else_composer.pyi,sha256=iXpswHcwp7DEmC67rSwGaTUeh5FUnQqgv-AGDHdMBAQ,3155
|
|
16
|
+
gllm_pipeline/pipeline/composer/parallel_composer.pyi,sha256=_DNz90IDM9U5AcPC-101CupeRKkFQMAp5Z_1-FEnPy0,2565
|
|
17
|
+
gllm_pipeline/pipeline/composer/switch_composer.pyi,sha256=_HVeYdtQeKcB4973_ImswoDzG0iel15l69KYGTcw-O8,3105
|
|
18
|
+
gllm_pipeline/pipeline/composer/toggle_composer.pyi,sha256=XChogusrue3WDcDCFRqYALQqmXZcGsx_mP2R7GFFTSo,2794
|
|
19
19
|
gllm_pipeline/router/__init__.pyi,sha256=iex9rQo0s6beTitJ2uZkmDRak-F8vGT__uL_IspEKGg,478
|
|
20
|
-
gllm_pipeline/router/lm_based_router.pyi,sha256=
|
|
21
|
-
gllm_pipeline/router/router.pyi,sha256=
|
|
20
|
+
gllm_pipeline/router/lm_based_router.pyi,sha256=GcYyT4BCsgEv4NOHKnR0Th-qJ_4DD7Fs_H52gQp96eU,3147
|
|
21
|
+
gllm_pipeline/router/router.pyi,sha256=2zJQGIhczzxUUnWHiacftdwXuO3OBHM6_o3w_DTuxOs,2002
|
|
22
22
|
gllm_pipeline/router/rule_based_router.pyi,sha256=9O82ubvmlOEFoyh22W2iX36wi8biQeIbqY3LYOeFGY0,4487
|
|
23
|
-
gllm_pipeline/router/similarity_based_router.pyi,sha256=
|
|
23
|
+
gllm_pipeline/router/similarity_based_router.pyi,sha256=7XPPy3jgdHI_3XJT5F7x07TpL4Z2xoCraZ3kTC1GoDs,3949
|
|
24
24
|
gllm_pipeline/router/utils.pyi,sha256=ebCD6XDdJkxKyE3-qMtGQ9IAkzBt2ekZ9chYPYRlamQ,1204
|
|
25
25
|
gllm_pipeline/router/aurelio_semantic_router/__init__.pyi,sha256=Iog2OAA7vfi0nMjF8pqnXLi5NuZcbLxMwEIOOKO-0mk,168
|
|
26
|
-
gllm_pipeline/router/aurelio_semantic_router/aurelio_semantic_router.pyi,sha256=
|
|
26
|
+
gllm_pipeline/router/aurelio_semantic_router/aurelio_semantic_router.pyi,sha256=u6j3hfgUaenhln8oFZuasJkL5IFeE4T3w5h5ccnjzeM,4956
|
|
27
27
|
gllm_pipeline/router/aurelio_semantic_router/bytes_compat_route.pyi,sha256=cnARZcTFvNNxrJ8UgRgSyfooLayNuR5h_X7TX1dv0FM,1963
|
|
28
28
|
gllm_pipeline/router/aurelio_semantic_router/encoders/__init__.pyi,sha256=9GynVnQImMz5sxrT1ib3XX0nMKZMT4NXuyLuajY5ouE,447
|
|
29
|
-
gllm_pipeline/router/aurelio_semantic_router/encoders/em_invoker_encoder.pyi,sha256=
|
|
30
|
-
gllm_pipeline/router/aurelio_semantic_router/encoders/langchain_encoder.pyi,sha256=
|
|
29
|
+
gllm_pipeline/router/aurelio_semantic_router/encoders/em_invoker_encoder.pyi,sha256=Et-hTcqMGjy_AgLBlpMu7XJ8yTkubRrDIsjO_eeiIaw,2082
|
|
30
|
+
gllm_pipeline/router/aurelio_semantic_router/encoders/langchain_encoder.pyi,sha256=AZfJotMymZYAxPVzuPeXuUhlrwdScfr_VGw9Qliy8BI,2248
|
|
31
31
|
gllm_pipeline/router/aurelio_semantic_router/encoders/tei_encoder.pyi,sha256=_aB0DBpJJFdwj_K7pPzbfccO63Xgv0vQrIafBFF5pjU,2201
|
|
32
32
|
gllm_pipeline/router/aurelio_semantic_router/index/__init__.pyi,sha256=WXTPM5Ed7Z2iPiezEm9B8EcvqMPZ5fIvfidY7X4jshc,361
|
|
33
|
-
gllm_pipeline/router/aurelio_semantic_router/index/aurelio_index.pyi,sha256=
|
|
33
|
+
gllm_pipeline/router/aurelio_semantic_router/index/aurelio_index.pyi,sha256=hMghV5Rc3wyiXYLgLU1ZcO-ukILTFhX1lcunujSJajY,3351
|
|
34
34
|
gllm_pipeline/router/aurelio_semantic_router/index/azure_ai_search_aurelio_index.pyi,sha256=XFn9EjrtBFPCmQce-03IXZcLJ9NeCyrWCVqOHn2ZG7U,3958
|
|
35
|
-
gllm_pipeline/router/aurelio_semantic_router/index/vector_store_adapter_index.pyi,sha256=
|
|
35
|
+
gllm_pipeline/router/aurelio_semantic_router/index/vector_store_adapter_index.pyi,sha256=KhUEn3dcjgWNFUvBNlheIz5IXYBk14lIE4evVZEVlic,5945
|
|
36
36
|
gllm_pipeline/router/preset/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
37
37
|
gllm_pipeline/router/preset/preset_loader.pyi,sha256=cLMkxQFtIBZ9dVA10SDIlA36cznM-g3I0VnLRGETzBs,1003
|
|
38
38
|
gllm_pipeline/router/preset/aurelio/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -40,39 +40,39 @@ gllm_pipeline/router/preset/aurelio/router_image_domain_specific.pyi,sha256=6pm2
|
|
|
40
40
|
gllm_pipeline/router/preset/lm_based/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
41
41
|
gllm_pipeline/router/preset/lm_based/router_image_domain_specific.pyi,sha256=UdiuoSXm2MVAL8AspAaSkyXYkE59bYj1y4xRRgKwavE,655
|
|
42
42
|
gllm_pipeline/steps/__init__.pyi,sha256=5HtVA5CODr_9_7_OGEXFXU40edqhHa9YlCV5qVx3xbU,1989
|
|
43
|
-
gllm_pipeline/steps/_func.pyi,sha256=
|
|
44
|
-
gllm_pipeline/steps/branching_step.pyi,sha256=
|
|
45
|
-
gllm_pipeline/steps/component_step.pyi,sha256=
|
|
46
|
-
gllm_pipeline/steps/composite_step.pyi,sha256=
|
|
47
|
-
gllm_pipeline/steps/conditional_step.pyi,sha256=
|
|
48
|
-
gllm_pipeline/steps/guard_step.pyi,sha256=
|
|
49
|
-
gllm_pipeline/steps/log_step.pyi,sha256=
|
|
50
|
-
gllm_pipeline/steps/map_reduce_step.pyi,sha256=
|
|
51
|
-
gllm_pipeline/steps/no_op_step.pyi,sha256=
|
|
52
|
-
gllm_pipeline/steps/parallel_step.pyi,sha256=
|
|
53
|
-
gllm_pipeline/steps/pipeline_step.pyi,sha256=
|
|
54
|
-
gllm_pipeline/steps/state_operator_step.pyi,sha256=
|
|
55
|
-
gllm_pipeline/steps/subgraph_step.pyi,sha256=
|
|
56
|
-
gllm_pipeline/steps/terminator_step.pyi,sha256=
|
|
43
|
+
gllm_pipeline/steps/_func.pyi,sha256=Nt_kWdAVlvTNsOiPejCF8j4AtiBPqxJr4lDieETfzr8,64124
|
|
44
|
+
gllm_pipeline/steps/branching_step.pyi,sha256=ZT4uJVxvUbmTnOOMst95qtPduigTC9ykzOcpE34oHwo,1006
|
|
45
|
+
gllm_pipeline/steps/component_step.pyi,sha256=BEViLhf874KqylPRaKFMIMeZ6uy4xOol0I68N07bdZo,5716
|
|
46
|
+
gllm_pipeline/steps/composite_step.pyi,sha256=2-iLtaAaa77Ur2HqANlcqPIpOAclAoBG4h2a8yNP33g,3452
|
|
47
|
+
gllm_pipeline/steps/conditional_step.pyi,sha256=qKlXfVuAhyyZPO8_A67TyXVgbdUpUWhjnfvafaBQZKE,10401
|
|
48
|
+
gllm_pipeline/steps/guard_step.pyi,sha256=R7h4yKrU1M_zeHqaUH9oCqk3s-nLBTcf8J5tyrQOzGM,4751
|
|
49
|
+
gllm_pipeline/steps/log_step.pyi,sha256=lXOd5VAjfi2cs5yFMQrFgZlnV1Wj9EIeuZa6SIjeaRI,3271
|
|
50
|
+
gllm_pipeline/steps/map_reduce_step.pyi,sha256=lZ1dnG6-TNt4iMRWXSfmpJkVVqHlN2GTUXcOsxi4Kls,6205
|
|
51
|
+
gllm_pipeline/steps/no_op_step.pyi,sha256=8iepve5pJB02d-yG78-eIQuBajsl-i2ovBTluFq5pCo,1578
|
|
52
|
+
gllm_pipeline/steps/parallel_step.pyi,sha256=13VK3h_CGB11pQEFrUroy2FM-J86U3sR2JP_R9yaNoo,8524
|
|
53
|
+
gllm_pipeline/steps/pipeline_step.pyi,sha256=5VZIBEoMEXwoeHLifdtmjoLeydnqXwi7wY_C_mJQsDw,11645
|
|
54
|
+
gllm_pipeline/steps/state_operator_step.pyi,sha256=rtzfedK5mDszHpFusXHUiNG3-3fO-mBvmPqDxLvk67A,5293
|
|
55
|
+
gllm_pipeline/steps/subgraph_step.pyi,sha256=f99kx8Vo2foDg6CRqzObvRCetcvzvUQIxW9M6SEZRUs,5996
|
|
56
|
+
gllm_pipeline/steps/terminator_step.pyi,sha256=RLBpARftJNOCB10WS_q1L87m5R-xm8k-F7n3l_hGWs8,2684
|
|
57
57
|
gllm_pipeline/steps/step_error_handler/__init__.pyi,sha256=6eUbWMlQKQjlqS2KJHIMZksb_dXUxmsgRzoJ03tnX4o,618
|
|
58
|
-
gllm_pipeline/steps/step_error_handler/empty_step_error_handler.pyi,sha256=
|
|
59
|
-
gllm_pipeline/steps/step_error_handler/fallback_step_error_handler.pyi,sha256=
|
|
60
|
-
gllm_pipeline/steps/step_error_handler/keep_step_error_handler.pyi,sha256=
|
|
61
|
-
gllm_pipeline/steps/step_error_handler/raise_step_error_handler.pyi,sha256=
|
|
62
|
-
gllm_pipeline/steps/step_error_handler/step_error_handler.pyi,sha256=
|
|
58
|
+
gllm_pipeline/steps/step_error_handler/empty_step_error_handler.pyi,sha256=jM5c9LB8VcBznvT8s6BujU8DqgP9Z6ZJzDQ8zg5vv2Q,851
|
|
59
|
+
gllm_pipeline/steps/step_error_handler/fallback_step_error_handler.pyi,sha256=r-C-ypk7rGmeXGnBtnyv5p7nWvpHjohoNP8a2ky3htU,1315
|
|
60
|
+
gllm_pipeline/steps/step_error_handler/keep_step_error_handler.pyi,sha256=jPedeaXx-D5QAwj4QC3mDjbPs_SqBawDe98ptmKaF1s,437
|
|
61
|
+
gllm_pipeline/steps/step_error_handler/raise_step_error_handler.pyi,sha256=u_TNlbkBoHvBOPO8SJbEfFYkta0xKYaZYmh550Hew-w,442
|
|
62
|
+
gllm_pipeline/steps/step_error_handler/step_error_handler.pyi,sha256=oI_cHCv1vRBisDo375IOFW-TxfY3yjpYMI2E9CL6FF8,2059
|
|
63
63
|
gllm_pipeline/utils/__init__.pyi,sha256=34a24yfX5Wwh3Tw7HuxnSQ1AX0L7-qa0rrXiE1FqWWk,994
|
|
64
64
|
gllm_pipeline/utils/async_utils.pyi,sha256=IB8slUq3tk9tTX7UM1uj7Z6UBXuXRNbQCJzCNp3pwug,899
|
|
65
65
|
gllm_pipeline/utils/copy.pyi,sha256=IW--DcDVCv87-6-gAlDgo3QybeFoNXEtSASK2P21k0c,260
|
|
66
66
|
gllm_pipeline/utils/error_handling.pyi,sha256=xeVodtVhoWaPhivY6joWJe1vlxHtMW2csm8ShkoHxHU,2477
|
|
67
|
-
gllm_pipeline/utils/graph.pyi,sha256=
|
|
68
|
-
gllm_pipeline/utils/has_inputs_mixin.pyi,sha256=
|
|
67
|
+
gllm_pipeline/utils/graph.pyi,sha256=33HI_9jUJA8FGZi67lUCnXfvGOuRBCp94Hygyra9vM8,682
|
|
68
|
+
gllm_pipeline/utils/has_inputs_mixin.pyi,sha256=vaoRFzZgKdXwJNe7KHziezeHgWkUMORcSxuI5gGUbfU,2585
|
|
69
69
|
gllm_pipeline/utils/input_map.pyi,sha256=mPWU9_b3VGhszuTjB3yQggZWJCxjZth4_WQdKeckA0Y,413
|
|
70
70
|
gllm_pipeline/utils/mermaid.pyi,sha256=B096GTXxVAO--kw3UDsbysOsnjGOytYfozX39YaM21A,1174
|
|
71
|
-
gllm_pipeline/utils/retry_converter.pyi,sha256=
|
|
72
|
-
gllm_pipeline/utils/step_execution.pyi,sha256=
|
|
71
|
+
gllm_pipeline/utils/retry_converter.pyi,sha256=TeWG-fsBNtk-rVaV2BZtzvM-y_drf4kGHpVyiZH40L8,1113
|
|
72
|
+
gllm_pipeline/utils/step_execution.pyi,sha256=pic3DyYF8zIBeLkZ6H_lpq5HOioMoKtPC08rfNDs65M,985
|
|
73
73
|
gllm_pipeline/utils/typing_compat.pyi,sha256=V4812i25ncSqZ0o_30lUX65tU07bWEs4LIpdLPt2ngg,116
|
|
74
74
|
gllm_pipeline.build/.gitignore,sha256=aEiIwOuxfzdCmLZe4oB1JsBmCUxwG8x-u-HBCV9JT8E,1
|
|
75
|
-
gllm_pipeline_binary-0.4.
|
|
76
|
-
gllm_pipeline_binary-0.4.
|
|
77
|
-
gllm_pipeline_binary-0.4.
|
|
78
|
-
gllm_pipeline_binary-0.4.
|
|
75
|
+
gllm_pipeline_binary-0.4.30.dist-info/METADATA,sha256=KIvzFVUk-tYhWzMydqyKUNBo2gGBLNtPqzVgO3ZYKsQ,4661
|
|
76
|
+
gllm_pipeline_binary-0.4.30.dist-info/WHEEL,sha256=x5rgv--I0NI0IT1Lh9tN1VG2cI637p3deednwYLKnxc,96
|
|
77
|
+
gllm_pipeline_binary-0.4.30.dist-info/top_level.txt,sha256=C3yeOtoE6ZhuOnBEq_FFc_Rp954IHJBlB6fBgSdAWYI,14
|
|
78
|
+
gllm_pipeline_binary-0.4.30.dist-info/RECORD,,
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.2
|
|
2
|
-
Name: gllm-pipeline-binary
|
|
3
|
-
Version: 0.4.28
|
|
4
|
-
Summary: A library containing components related to Gen AI applications pipeline orchestration.
|
|
5
|
-
Author-email: Dimitrij Ray <dimitrij.ray@gdplabs.id>, Henry Wicaksono <henry.wicaksono@gdplabs.id>, Kadek Denaya <kadek.d.r.diana@gdplabs.id>
|
|
6
|
-
Requires-Python: <3.13,>=3.11
|
|
7
|
-
Description-Content-Type: text/markdown
|
|
8
|
-
Requires-Dist: poetry<2.2.0,>=2.1.3
|
|
9
|
-
Requires-Dist: pydantic<2.12.0,>=2.11.7
|
|
10
|
-
Requires-Dist: gllm-core-binary<0.4.0,>=0.3.0
|
|
11
|
-
Requires-Dist: gllm-inference-binary<0.6.0,>=0.5.0
|
|
12
|
-
Requires-Dist: aiohttp<3.13.0,>=3.12.14
|
|
13
|
-
Requires-Dist: langgraph<0.7.0,>=0.6.0
|
|
14
|
-
Requires-Dist: typing-extensions<5.0.0,>=4.5.0
|
|
15
|
-
Provides-Extra: dev
|
|
16
|
-
Requires-Dist: coverage<7.5.0,>=7.4.4; extra == "dev"
|
|
17
|
-
Requires-Dist: mypy<1.16.0,>=1.15.0; extra == "dev"
|
|
18
|
-
Requires-Dist: pre-commit<3.8.0,>=3.7.0; extra == "dev"
|
|
19
|
-
Requires-Dist: pytest<8.2.0,>=8.1.1; extra == "dev"
|
|
20
|
-
Requires-Dist: pytest-asyncio<0.24.0,>=0.23.6; extra == "dev"
|
|
21
|
-
Requires-Dist: pytest-cov<5.1.0,>=5.0.0; extra == "dev"
|
|
22
|
-
Requires-Dist: ruff<0.7.0,>=0.6.7; extra == "dev"
|
|
23
|
-
Provides-Extra: cache
|
|
24
|
-
Requires-Dist: gllm-datastore-binary[chroma]<0.6.0,>=0.5.0; extra == "cache"
|
|
25
|
-
Provides-Extra: multimodal-router
|
|
26
|
-
Requires-Dist: gllm-inference-binary[google]<0.6.0,>=0.5.0; extra == "multimodal-router"
|
|
27
|
-
Provides-Extra: semantic-router
|
|
28
|
-
Requires-Dist: azure-search-documents<12.0.0,>=11.5.1; extra == "semantic-router"
|
|
29
|
-
Requires-Dist: semantic-router<0.2.0,>=0.1.0; extra == "semantic-router"
|
|
30
|
-
|
|
31
|
-
# GLLM Pipeline
|
|
32
|
-
|
|
33
|
-
## Description
|
|
34
|
-
|
|
35
|
-
A library containing components related to Gen AI applications pipeline orchestration.
|
|
36
|
-
|
|
37
|
-
## Installation
|
|
38
|
-
|
|
39
|
-
### Prerequisites
|
|
40
|
-
1. Python 3.11+ - [Install here](https://www.python.org/downloads/)
|
|
41
|
-
2. Pip (if using Pip) - [Install here](https://pip.pypa.io/en/stable/installation/)
|
|
42
|
-
3. Poetry 2.1.4+ - [Install here](https://python-poetry.org/docs/#installation)
|
|
43
|
-
4. Git (if using Git) - [Install here](https://git-scm.com/downloads)
|
|
44
|
-
5. gcloud CLI (for authentication) - [Install here](https://cloud.google.com/sdk/docs/install)
|
|
45
|
-
6. For git installation, access to the [GDP Labs SDK github repository](https://github.com/GDP-ADMIN/gl-sdk)
|
|
46
|
-
|
|
47
|
-
### 1. Installation from Artifact Registry
|
|
48
|
-
Choose one of the following methods to install the package:
|
|
49
|
-
|
|
50
|
-
#### Using pip
|
|
51
|
-
```bash
|
|
52
|
-
pip install gllm-pipeline-binary
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
#### Using Poetry
|
|
56
|
-
```bash
|
|
57
|
-
poetry add gllm-pipeline-binary
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
### 2. Development Installation (Git)
|
|
61
|
-
For development purposes, you can install directly from the Git repository:
|
|
62
|
-
```bash
|
|
63
|
-
poetry add "git+ssh://git@github.com/GDP-ADMIN/gen-ai-internal.git#subdirectory=libs/gllm-pipeline"
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
## Local Development Setup
|
|
67
|
-
|
|
68
|
-
### Quick Setup (Recommended)
|
|
69
|
-
For local development with editable gllm packages, use the provided Makefile:
|
|
70
|
-
|
|
71
|
-
```bash
|
|
72
|
-
# Complete setup: installs Poetry, configures auth, installs packages, sets up pre-commit
|
|
73
|
-
make setup
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
The following are the available Makefile targets:
|
|
77
|
-
|
|
78
|
-
1. `make setup` - Complete development setup (recommended for new developers)
|
|
79
|
-
2. `make install-poetry` - Install or upgrade Poetry to the latest version
|
|
80
|
-
3. `make auth` - Configure authentication for internal repositories
|
|
81
|
-
4. `make install` - Install all dependencies
|
|
82
|
-
5. `make install-pre-commit` - Set up pre-commit hooks
|
|
83
|
-
6. `make update` - Update dependencies
|
|
84
|
-
|
|
85
|
-
### Manual Development Setup (Legacy)
|
|
86
|
-
If you prefer to manage dependencies manually:
|
|
87
|
-
|
|
88
|
-
1. Go to root folder of `gllm-pipeline` module, e.g. `cd libs/gllm-pipeline`.
|
|
89
|
-
2. Run `poetry shell` to create a virtual environment.
|
|
90
|
-
3. Run `poetry lock` to create a lock file if you haven't done it yet.
|
|
91
|
-
4. Run `poetry install` to install the `gllm-pipeline` requirements for the first time.
|
|
92
|
-
5. Run `poetry update` if you update any dependency module version at `pyproject.toml`.
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
## Contributing
|
|
96
|
-
Please refer to this [Python Style Guide](https://docs.google.com/document/d/1uRggCrHnVfDPBnG641FyQBwUwLoFw0kTzNqRm92vUwM/edit?usp=sharing)
|
|
97
|
-
to get information about code style, documentation standard, and SCA that you need to use when contributing to this project
|
|
98
|
-
|
|
99
|
-
### Getting Started with Development
|
|
100
|
-
1. Clone the repository and navigate to the gllm-pipeline directory
|
|
101
|
-
2. Run `make setup` to set up your development environment
|
|
102
|
-
3. Run `which python` to get the path to be referenced at Visual Studio Code interpreter path (`Ctrl`+`Shift`+`P` or `Cmd`+`Shift`+`P`)
|
|
103
|
-
4. Try running the unit test to see if it's working:
|
|
104
|
-
```bash
|
|
105
|
-
poetry run pytest -s tests/unit_tests/
|
|
106
|
-
```
|
|
File without changes
|
{gllm_pipeline_binary-0.4.28.dist-info → gllm_pipeline_binary-0.4.30.dist-info}/top_level.txt
RENAMED
|
File without changes
|