gllm-pipeline-binary 0.4.24__cp312-cp312-win_amd64.whl → 0.4.26__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.
@@ -112,16 +112,17 @@ class RAGStateModel(BaseModel):
112
112
  Example with custom JSON encoders:
113
113
  ```python
114
114
  from datetime import datetime
115
- from pydantic import BaseModel, Field
115
+ from pydantic import BaseModel, ConfigDict, Field
116
116
 
117
117
  class CustomStateModel(BaseModel):
118
118
  timestamp: datetime = Field(default_factory=datetime.now)
119
119
 
120
- class Config:
121
- json_encoders = {
120
+ model_config = ConfigDict(
121
+ json_encoders={
122
122
  datetime: lambda v: v.isoformat(),
123
123
  EventEmitter: lambda v: str(v) if v else None
124
124
  }
125
+ )
125
126
  ```
126
127
  '''
127
128
  user_query: str
@@ -134,7 +135,4 @@ class RAGStateModel(BaseModel):
134
135
  response: str
135
136
  references: str | list[str]
136
137
  event_emitter: EventEmitter | None
137
- class Config:
138
- """Pydantic configuration."""
139
- arbitrary_types_allowed: bool
140
- json_encoders: Incomplete
138
+ model_config: Incomplete
@@ -8,8 +8,8 @@ from gllm_pipeline.steps.step_error_handler.step_error_handler import BaseStepEr
8
8
  from gllm_pipeline.utils.error_handling import ErrorContext as ErrorContext
9
9
  from gllm_pipeline.utils.has_inputs_mixin import HasInputsMixin as HasInputsMixin
10
10
  from gllm_pipeline.utils.input_map import shallow_dump as shallow_dump
11
+ from langchain_core.runnables import RunnableConfig as RunnableConfig
11
12
  from langgraph.runtime import Runtime
12
- from langgraph.types import RunnableConfig as RunnableConfig
13
13
  from pydantic import BaseModel as BaseModel
14
14
  from typing import Any
15
15
 
@@ -16,9 +16,10 @@ from gllm_pipeline.utils.has_inputs_mixin import HasInputsMixin as HasInputsMixi
16
16
  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
+ from langchain_core.runnables import RunnableConfig as RunnableConfig
19
20
  from langgraph.graph import StateGraph as StateGraph
20
21
  from langgraph.runtime import Runtime as Runtime
21
- from langgraph.types import Command, RetryPolicy as RetryPolicy, RunnableConfig as RunnableConfig
22
+ from langgraph.types import Command, RetryPolicy as RetryPolicy
22
23
  from pydantic import BaseModel as BaseModel
23
24
  from typing import Any, Callable
24
25
 
@@ -4,8 +4,8 @@ from gllm_datastore.cache.cache import BaseCache as 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
+ from langchain_core.runnables import RunnableConfig as RunnableConfig
7
8
  from langgraph.runtime import Runtime as Runtime
8
- from langgraph.types import RunnableConfig as RunnableConfig
9
9
  from pydantic import BaseModel as BaseModel
10
10
  from typing import Any
11
11
 
@@ -9,8 +9,8 @@ from gllm_pipeline.utils.async_utils import execute_callable as execute_callable
9
9
  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
+ from langchain_core.runnables import RunnableConfig as RunnableConfig
12
13
  from langgraph.runtime import Runtime as Runtime
13
- from langgraph.types import RunnableConfig as RunnableConfig
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
+ from langchain_core.runnables import RunnableConfig as RunnableConfig
2
3
  from langgraph.runtime import Runtime as Runtime
3
- from langgraph.types import RunnableConfig as RunnableConfig
4
4
  from pydantic import BaseModel as BaseModel
5
5
  from typing import Any
6
6
 
@@ -12,9 +12,10 @@ from gllm_pipeline.utils.has_inputs_mixin import HasInputsMixin as HasInputsMixi
12
12
  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
+ from langchain_core.runnables import RunnableConfig as RunnableConfig
15
16
  from langgraph.graph import StateGraph as StateGraph
16
17
  from langgraph.runtime import Runtime as Runtime
17
- from langgraph.types import RetryPolicy as RetryPolicy, RunnableConfig as RunnableConfig
18
+ from langgraph.types import RetryPolicy as RetryPolicy
18
19
  from pydantic import BaseModel as BaseModel
19
20
  from typing import Any
20
21
 
@@ -11,9 +11,10 @@ from gllm_pipeline.steps.step_error_handler.step_error_handler import BaseStepEr
11
11
  from gllm_pipeline.utils.error_handling import ErrorContext as ErrorContext
12
12
  from gllm_pipeline.utils.graph import create_edge as create_edge
13
13
  from gllm_pipeline.utils.retry_converter import retry_config_to_langgraph_policy as retry_config_to_langgraph_policy
14
+ from langchain_core.runnables import RunnableConfig as RunnableConfig
14
15
  from langgraph.graph import StateGraph as StateGraph
15
16
  from langgraph.runtime import Runtime as Runtime
16
- from langgraph.types import RetryPolicy as RetryPolicy, RunnableConfig as RunnableConfig
17
+ from langgraph.types import RetryPolicy as RetryPolicy
17
18
  from pydantic import BaseModel as BaseModel
18
19
  from typing import Any
19
20
 
@@ -8,8 +8,8 @@ from gllm_pipeline.utils.async_utils import execute_callable as execute_callable
8
8
  from gllm_pipeline.utils.error_handling import ErrorContext as ErrorContext
9
9
  from gllm_pipeline.utils.has_inputs_mixin import HasInputsMixin as HasInputsMixin
10
10
  from gllm_pipeline.utils.input_map import shallow_dump as shallow_dump
11
+ from langchain_core.runnables import RunnableConfig as RunnableConfig
11
12
  from langgraph.runtime import Runtime
12
- from langgraph.types import RunnableConfig as RunnableConfig
13
13
  from pydantic import BaseModel as BaseModel
14
14
  from typing import Any, Callable
15
15
 
@@ -10,8 +10,8 @@ from gllm_pipeline.steps.step_error_handler.step_error_handler import BaseStepEr
10
10
  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
+ from langchain_core.runnables import RunnableConfig as RunnableConfig
13
14
  from langgraph.runtime import Runtime as Runtime
14
- from langgraph.types import RunnableConfig as RunnableConfig
15
15
  from pydantic import BaseModel as BaseModel
16
16
  from typing import Any
17
17
 
@@ -1,8 +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
+ from langchain_core.runnables import RunnableConfig as RunnableConfig
3
4
  from langgraph.graph import StateGraph as StateGraph
4
5
  from langgraph.runtime import Runtime as Runtime
5
- from langgraph.types import RetryPolicy as RetryPolicy, RunnableConfig as RunnableConfig
6
+ from langgraph.types import RetryPolicy as RetryPolicy
6
7
  from pydantic import BaseModel as BaseModel
7
8
  from typing import Any
8
9
 
Binary file
gllm_pipeline.pyi CHANGED
@@ -80,6 +80,7 @@ import random
80
80
  import string
81
81
  import functools
82
82
  import gllm_core.utils.analyzer
83
+ import langchain_core.runnables
83
84
  import langgraph.runtime
84
85
  import langgraph.types
85
86
  import dataclasses
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: gllm-pipeline-binary
3
- Version: 0.4.24
3
+ Version: 0.4.26
4
4
  Summary: A library containing components related to Gen AI applications pipeline orchestration.
5
5
  Author-email: Dimitrij Ray <dimitrij.ray@gdplabs.id>, Henry Wicaksono <henry.wicaksono@gdplabs.id>, Kadek Denaya <kadek.d.r.diana@gdplabs.id>
6
6
  Requires-Python: <3.13,>=3.11
@@ -1,5 +1,5 @@
1
- gllm_pipeline.cp312-win_amd64.pyd,sha256=qjhsaFUWKRHDq6mgIqfYy52U1uMsunzKOu0tQLcGRhk,2189312
2
- gllm_pipeline.pyi,sha256=KL3UbRkjsWRktt_UM70HNxLAvyYzPTQ0pvNfwTZt8SI,2346
1
+ gllm_pipeline.cp312-win_amd64.pyd,sha256=NUOzWIK7aB1S6Kf1eIfS7vA3RS9LZ9_AZwrVk0II3Z0,2192384
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
5
5
  gllm_pipeline/types.pyi,sha256=CV3cEAxlNsnVatYz5iCxqmEFPEqeKW5vv-qUD3FpF54,241
@@ -8,7 +8,7 @@ gllm_pipeline/exclusions/exclusion_manager.pyi,sha256=DzoL-2KeTRmFgJEo8rzYViFYKb
8
8
  gllm_pipeline/exclusions/exclusion_set.pyi,sha256=11XTt6IfkHpzomcNybA78SfWlp752Z3AGhXfm2rL0Fk,1685
9
9
  gllm_pipeline/pipeline/__init__.pyi,sha256=1IKGdMvmLWEiOOmAKFNUPm-gdw13zrnU1gs7tDNzgEU,168
10
10
  gllm_pipeline/pipeline/pipeline.pyi,sha256=CgP179RgbwtIsz_U0cMi3jdwbVOBz-D4sIKjoLkV55g,16504
11
- gllm_pipeline/pipeline/states.pyi,sha256=WezH44ULqlim8CoEupQGHXs5xNzkqLvK8epwYQYRT4I,6523
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
13
  gllm_pipeline/pipeline/composer/composer.pyi,sha256=7h7EhEA-hex6w36Is6uGTz9OBUbmq6C0SdkeBeLFcAI,28715
14
14
  gllm_pipeline/pipeline/composer/guard_composer.pyi,sha256=YfbXmzyU3CwAvGnCfM-6MVcTdxk53-j6Cv3IdzNr_-c,3335
@@ -42,18 +42,18 @@ gllm_pipeline/router/preset/lm_based/router_image_domain_specific.pyi,sha256=Udi
42
42
  gllm_pipeline/steps/__init__.pyi,sha256=5HtVA5CODr_9_7_OGEXFXU40edqhHa9YlCV5qVx3xbU,1989
43
43
  gllm_pipeline/steps/_func.pyi,sha256=TDTSsBwiUMwlFXLcLVolcd_7g7bAcg4mDx_r_y2mDb4,64152
44
44
  gllm_pipeline/steps/branching_step.pyi,sha256=iNarrcZgWfiRdr8CJfGm8GzUlYq13Rx5cgYXnBsNWN4,1041
45
- gllm_pipeline/steps/component_step.pyi,sha256=VNBFZscK2Q4HgBt8ZrbE6B69oLTKcXo-KkqbTjmYYhM,5748
45
+ gllm_pipeline/steps/component_step.pyi,sha256=zAtEKMCDuTZ0cyvTpXXso9c90fciwD-wnyRMZVMyZm0,5757
46
46
  gllm_pipeline/steps/composite_step.pyi,sha256=lvueTBQG_t0TtS5qRvUzZOIt3h6-uD26DJXW4ZSkuUc,3544
47
- gllm_pipeline/steps/conditional_step.pyi,sha256=Nm7zjxyPooRjJboT8Pqc3UwWKiA1gJHOwCtPW7KtrpE,10501
47
+ gllm_pipeline/steps/conditional_step.pyi,sha256=2gJHB0Wds-5zWKpTIUG6d7UgRp9tjCy46n-cAG0O1lM,10538
48
48
  gllm_pipeline/steps/guard_step.pyi,sha256=c_vdRz3hjfPu2DFkBt0_UBGJErQpdJwl0AE-GNxC4gM,4779
49
- gllm_pipeline/steps/log_step.pyi,sha256=XjL_-mlsWAEcoCBZ--qa8XkGdIXrx1K-chI8aXVsOFE,3301
50
- gllm_pipeline/steps/map_reduce_step.pyi,sha256=c9qo_EmQWlu-jjAHeOKeyj8dVRL6yR89Tj5RHRoxhhA,6235
51
- gllm_pipeline/steps/no_op_step.pyi,sha256=3DWW_gmY_66_mmNmnn2ic_NJZ0tNi_obDfjN8oLZByk,1580
52
- gllm_pipeline/steps/parallel_step.pyi,sha256=XI_gM3Z1WS2R0j_qfrwf0tausxvX6VWuiknSCLgAetg,8555
53
- gllm_pipeline/steps/pipeline_step.pyi,sha256=p0qNBL7v8Gv0wc7CeN3hIv08u_I8uaT1xPQwt-YOQPM,11711
54
- gllm_pipeline/steps/state_operator_step.pyi,sha256=55mX2vxUUmRy2sS4iqIE4ZM_D4pB1FFoQa5Ox9N1Jdg,5312
55
- gllm_pipeline/steps/subgraph_step.pyi,sha256=xvHxBiFbXJhMPW-06YcoW1SjVGthTj1_O4nymSew9L0,6026
56
- gllm_pipeline/steps/terminator_step.pyi,sha256=M1LNw1AszTVMtwOHGrWvnr15A8qIgWuHYUdbFNrCzUM,2687
49
+ gllm_pipeline/steps/log_step.pyi,sha256=90yGSkpzAtaZr4NPQMdCU-GUtb9-8jh04LZsERQ4o6U,3310
50
+ gllm_pipeline/steps/map_reduce_step.pyi,sha256=X8UPG0YyYAn_D3esht-M26YMTGqxj9GNK-G3m1uufrA,6244
51
+ gllm_pipeline/steps/no_op_step.pyi,sha256=yF7E9OZLtmilYIkEmL02T18zmCcZbGtL0kn51ZhGs48,1589
52
+ gllm_pipeline/steps/parallel_step.pyi,sha256=2EitgRdLOn0OdOWmTMp2Eyecn-IIrNwTuwNK3PUbewk,8592
53
+ gllm_pipeline/steps/pipeline_step.pyi,sha256=3ORfOtv3FjcmHSiv2p3mjwwMMQK0eFob424Sxz4bWtM,11748
54
+ gllm_pipeline/steps/state_operator_step.pyi,sha256=MGogy18cvgA9YYKEPoDp9_Ao7TzAn6uQEeSbaKmEvxY,5321
55
+ gllm_pipeline/steps/subgraph_step.pyi,sha256=gPQFEPd7SgEUkm9H4d5ErSPJaqBW2Nz3dhor7zJ-8WY,6035
56
+ gllm_pipeline/steps/terminator_step.pyi,sha256=GwVmo0SASGltbjetlBLReco4txk02SyjYXvBuYNbgfw,2724
57
57
  gllm_pipeline/steps/step_error_handler/__init__.pyi,sha256=6eUbWMlQKQjlqS2KJHIMZksb_dXUxmsgRzoJ03tnX4o,618
58
58
  gllm_pipeline/steps/step_error_handler/empty_step_error_handler.pyi,sha256=JwD09mJD-80_pmeOEaB7blKCuYXOsju4JyVejOGtTLI,901
59
59
  gllm_pipeline/steps/step_error_handler/fallback_step_error_handler.pyi,sha256=N4Skd5C5df34KdephUX5l_KclMBnnvGBmhNQFKhmtBs,1326
@@ -72,7 +72,7 @@ gllm_pipeline/utils/retry_converter.pyi,sha256=JPUuaGzKpVLshrbhX9rQHYl5XmC9GDa59
72
72
  gllm_pipeline/utils/step_execution.pyi,sha256=3o28tiCHR8t-6Vk3Poz91V-CLdYrdhvJblPW9AoOK-c,996
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.24.dist-info/METADATA,sha256=8mzbtoKhwpZLS3hpZ2rK6Rwu-eNZRs_fV_gD7rdh9eo,4524
76
- gllm_pipeline_binary-0.4.24.dist-info/WHEEL,sha256=x5rgv--I0NI0IT1Lh9tN1VG2cI637p3deednwYLKnxc,96
77
- gllm_pipeline_binary-0.4.24.dist-info/top_level.txt,sha256=C3yeOtoE6ZhuOnBEq_FFc_Rp954IHJBlB6fBgSdAWYI,14
78
- gllm_pipeline_binary-0.4.24.dist-info/RECORD,,
75
+ gllm_pipeline_binary-0.4.26.dist-info/METADATA,sha256=XHb-a8MlbZn2JAzKF6B29oeDmgimRzUB2pjmtIMfD08,4524
76
+ gllm_pipeline_binary-0.4.26.dist-info/WHEEL,sha256=x5rgv--I0NI0IT1Lh9tN1VG2cI637p3deednwYLKnxc,96
77
+ gllm_pipeline_binary-0.4.26.dist-info/top_level.txt,sha256=C3yeOtoE6ZhuOnBEq_FFc_Rp954IHJBlB6fBgSdAWYI,14
78
+ gllm_pipeline_binary-0.4.26.dist-info/RECORD,,