airia 0.1.17__py3-none-any.whl → 0.1.18__py3-none-any.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.
- airia/client/pipeline_execution/async_pipeline_execution.py +6 -0
- airia/client/pipeline_execution/base_pipeline_execution.py +3 -0
- airia/client/pipeline_execution/sync_pipeline_execution.py +6 -0
- {airia-0.1.17.dist-info → airia-0.1.18.dist-info}/METADATA +1 -1
- {airia-0.1.17.dist-info → airia-0.1.18.dist-info}/RECORD +8 -8
- {airia-0.1.17.dist-info → airia-0.1.18.dist-info}/WHEEL +0 -0
- {airia-0.1.17.dist-info → airia-0.1.18.dist-info}/licenses/LICENSE +0 -0
- {airia-0.1.17.dist-info → airia-0.1.18.dist-info}/top_level.txt +0 -0
|
@@ -33,6 +33,7 @@ class AsyncPipelineExecution(BasePipelineExecution):
|
|
|
33
33
|
save_history: bool = True,
|
|
34
34
|
additional_info: Optional[List[Any]] = None,
|
|
35
35
|
prompt_variables: Optional[Dict[str, Any]] = None,
|
|
36
|
+
voice_enabled: bool = False,
|
|
36
37
|
correlation_id: Optional[str] = None,
|
|
37
38
|
) -> PipelineExecutionResponse: ...
|
|
38
39
|
|
|
@@ -55,6 +56,7 @@ class AsyncPipelineExecution(BasePipelineExecution):
|
|
|
55
56
|
save_history: bool = True,
|
|
56
57
|
additional_info: Optional[List[Any]] = None,
|
|
57
58
|
prompt_variables: Optional[Dict[str, Any]] = None,
|
|
59
|
+
voice_enabled: bool = False,
|
|
58
60
|
correlation_id: Optional[str] = None,
|
|
59
61
|
) -> PipelineExecutionDebugResponse: ...
|
|
60
62
|
|
|
@@ -77,6 +79,7 @@ class AsyncPipelineExecution(BasePipelineExecution):
|
|
|
77
79
|
save_history: bool = True,
|
|
78
80
|
additional_info: Optional[List[Any]] = None,
|
|
79
81
|
prompt_variables: Optional[Dict[str, Any]] = None,
|
|
82
|
+
voice_enabled: bool = False,
|
|
80
83
|
correlation_id: Optional[str] = None,
|
|
81
84
|
) -> PipelineExecutionAsyncStreamedResponse: ...
|
|
82
85
|
|
|
@@ -98,6 +101,7 @@ class AsyncPipelineExecution(BasePipelineExecution):
|
|
|
98
101
|
save_history: bool = True,
|
|
99
102
|
additional_info: Optional[List[Any]] = None,
|
|
100
103
|
prompt_variables: Optional[Dict[str, Any]] = None,
|
|
104
|
+
voice_enabled: bool = False,
|
|
101
105
|
correlation_id: Optional[str] = None,
|
|
102
106
|
) -> Union[
|
|
103
107
|
PipelineExecutionDebugResponse,
|
|
@@ -124,6 +128,7 @@ class AsyncPipelineExecution(BasePipelineExecution):
|
|
|
124
128
|
save_history: Whether to save the userInput and output to conversation history. Default is True.
|
|
125
129
|
additional_info: Optional additional information.
|
|
126
130
|
prompt_variables: Optional variables to be used in the prompt.
|
|
131
|
+
voice_enabled: Whether the request came through the airia-voice-proxy. Default is False.
|
|
127
132
|
correlation_id: Optional correlation ID for request tracing. If not provided,
|
|
128
133
|
one will be generated automatically.
|
|
129
134
|
|
|
@@ -161,6 +166,7 @@ class AsyncPipelineExecution(BasePipelineExecution):
|
|
|
161
166
|
save_history=save_history,
|
|
162
167
|
additional_info=additional_info,
|
|
163
168
|
prompt_variables=prompt_variables,
|
|
169
|
+
voice_enabled=voice_enabled,
|
|
164
170
|
correlation_id=correlation_id,
|
|
165
171
|
api_version=ApiVersion.V2.value,
|
|
166
172
|
)
|
|
@@ -27,6 +27,7 @@ class BasePipelineExecution:
|
|
|
27
27
|
save_history: bool = True,
|
|
28
28
|
additional_info: Optional[List[Any]] = None,
|
|
29
29
|
prompt_variables: Optional[Dict[str, Any]] = None,
|
|
30
|
+
voice_enabled: bool = False,
|
|
30
31
|
correlation_id: Optional[str] = None,
|
|
31
32
|
api_version: str = ApiVersion.V2.value,
|
|
32
33
|
):
|
|
@@ -53,6 +54,7 @@ class BasePipelineExecution:
|
|
|
53
54
|
save_history: Whether to save to conversation history
|
|
54
55
|
additional_info: Optional additional information
|
|
55
56
|
prompt_variables: Optional prompt variables
|
|
57
|
+
voice_enabled: Whether the request came through the airia-voice-proxy
|
|
56
58
|
correlation_id: Optional correlation ID for tracing
|
|
57
59
|
api_version: API version to use for the request
|
|
58
60
|
|
|
@@ -87,6 +89,7 @@ class BasePipelineExecution:
|
|
|
87
89
|
"saveHistory": save_history,
|
|
88
90
|
"additionalInfo": additional_info,
|
|
89
91
|
"promptVariables": prompt_variables,
|
|
92
|
+
"voiceEnabled": voice_enabled,
|
|
90
93
|
}
|
|
91
94
|
|
|
92
95
|
request_data = self._request_handler.prepare_request(
|
|
@@ -33,6 +33,7 @@ class PipelineExecution(BasePipelineExecution):
|
|
|
33
33
|
save_history: bool = True,
|
|
34
34
|
additional_info: Optional[List[Any]] = None,
|
|
35
35
|
prompt_variables: Optional[Dict[str, Any]] = None,
|
|
36
|
+
voice_enabled: bool = False,
|
|
36
37
|
correlation_id: Optional[str] = None,
|
|
37
38
|
) -> PipelineExecutionResponse: ...
|
|
38
39
|
|
|
@@ -55,6 +56,7 @@ class PipelineExecution(BasePipelineExecution):
|
|
|
55
56
|
save_history: bool = True,
|
|
56
57
|
additional_info: Optional[List[Any]] = None,
|
|
57
58
|
prompt_variables: Optional[Dict[str, Any]] = None,
|
|
59
|
+
voice_enabled: bool = False,
|
|
58
60
|
correlation_id: Optional[str] = None,
|
|
59
61
|
) -> PipelineExecutionDebugResponse: ...
|
|
60
62
|
|
|
@@ -77,6 +79,7 @@ class PipelineExecution(BasePipelineExecution):
|
|
|
77
79
|
save_history: bool = True,
|
|
78
80
|
additional_info: Optional[List[Any]] = None,
|
|
79
81
|
prompt_variables: Optional[Dict[str, Any]] = None,
|
|
82
|
+
voice_enabled: bool = False,
|
|
80
83
|
correlation_id: Optional[str] = None,
|
|
81
84
|
) -> PipelineExecutionStreamedResponse: ...
|
|
82
85
|
|
|
@@ -98,6 +101,7 @@ class PipelineExecution(BasePipelineExecution):
|
|
|
98
101
|
save_history: bool = True,
|
|
99
102
|
additional_info: Optional[List[Any]] = None,
|
|
100
103
|
prompt_variables: Optional[Dict[str, Any]] = None,
|
|
104
|
+
voice_enabled: bool = False,
|
|
101
105
|
correlation_id: Optional[str] = None,
|
|
102
106
|
) -> Union[
|
|
103
107
|
PipelineExecutionDebugResponse,
|
|
@@ -124,6 +128,7 @@ class PipelineExecution(BasePipelineExecution):
|
|
|
124
128
|
save_history: Whether to save the userInput and output to conversation history. Default is True.
|
|
125
129
|
additional_info: Optional additional information.
|
|
126
130
|
prompt_variables: Optional variables to be used in the prompt.
|
|
131
|
+
voice_enabled: Whether the request came through the airia-voice-proxy. Default is False.
|
|
127
132
|
correlation_id: Optional correlation ID for request tracing. If not provided,
|
|
128
133
|
one will be generated automatically.
|
|
129
134
|
|
|
@@ -161,6 +166,7 @@ class PipelineExecution(BasePipelineExecution):
|
|
|
161
166
|
save_history=save_history,
|
|
162
167
|
additional_info=additional_info,
|
|
163
168
|
prompt_variables=prompt_variables,
|
|
169
|
+
voice_enabled=voice_enabled,
|
|
164
170
|
correlation_id=correlation_id,
|
|
165
171
|
api_version=ApiVersion.V2.value,
|
|
166
172
|
)
|
|
@@ -23,9 +23,9 @@ airia/client/deployments/async_deployments.py,sha256=IqRQZtkulBxxuviHpbcoi4UFQ-X
|
|
|
23
23
|
airia/client/deployments/base_deployments.py,sha256=luiw4Fuj2YxD0j0-rXrsWkae_CNipxwRV7wIrHBFxpI,3230
|
|
24
24
|
airia/client/deployments/sync_deployments.py,sha256=gEq2M0uUi5GLw8lxf8QasAHx48FZHzzRwrt7TAcyA9s,4230
|
|
25
25
|
airia/client/pipeline_execution/__init__.py,sha256=7qEZsPRTLySC71zlwYioBuJs6B4BwRCgFL3TQyFWXmc,175
|
|
26
|
-
airia/client/pipeline_execution/async_pipeline_execution.py,sha256=
|
|
27
|
-
airia/client/pipeline_execution/base_pipeline_execution.py,sha256=
|
|
28
|
-
airia/client/pipeline_execution/sync_pipeline_execution.py,sha256=
|
|
26
|
+
airia/client/pipeline_execution/async_pipeline_execution.py,sha256=66rTEMwdfOYsNFZSjHhs9msCV0ZltJ1smMqQuNYk4Q0,7767
|
|
27
|
+
airia/client/pipeline_execution/base_pipeline_execution.py,sha256=yOjqbFBedm0t_bS4_WAjAi71EQ76SFozWMKtZ2ZQxYc,4127
|
|
28
|
+
airia/client/pipeline_execution/sync_pipeline_execution.py,sha256=Mz4-GW5ipfUkJ7gru-xZAY3CBqPp97mWfZwUy5nUFY4,7682
|
|
29
29
|
airia/client/pipelines_config/__init__.py,sha256=Mjn3ie-bQo6zjayxrJDvoJG2vKis72yGt_CQkvtREw4,163
|
|
30
30
|
airia/client/pipelines_config/async_pipelines_config.py,sha256=69Viozs4iIW564D4i9yNCAIJsyDk67bxge-z8s5pbuA,4812
|
|
31
31
|
airia/client/pipelines_config/base_pipelines_config.py,sha256=GcK7hXisM87Qqq8HPtvr60kOTA9oFzjLolTSezFDp4c,2665
|
|
@@ -62,8 +62,8 @@ airia/types/api/store/get_files.py,sha256=v22zmOuTSFqzrS73L5JL_FgBeF5a5wutv1nK4I
|
|
|
62
62
|
airia/types/sse/__init__.py,sha256=KWnNTfsQnthfrU128pUX6ounvSS7DvjC-Y21FE-OdMk,1863
|
|
63
63
|
airia/types/sse/sse_messages.py,sha256=asq9KG5plT2XSgQMz-Nqo0WcKlXvE8UT3E-WLhCegPk,30244
|
|
64
64
|
airia/utils/sse_parser.py,sha256=XCTkuaroYWaVQOgBq8VpbseQYSAVruF69AvKUwZQKTA,4251
|
|
65
|
-
airia-0.1.
|
|
66
|
-
airia-0.1.
|
|
67
|
-
airia-0.1.
|
|
68
|
-
airia-0.1.
|
|
69
|
-
airia-0.1.
|
|
65
|
+
airia-0.1.18.dist-info/licenses/LICENSE,sha256=R3ClUMMKPRItIcZ0svzyj2taZZnFYw568YDNzN9KQ1Q,1066
|
|
66
|
+
airia-0.1.18.dist-info/METADATA,sha256=W5McWtUenn9Ls0iDmPG-W7BOwrB_kNs2GYmuhW-SA4s,4506
|
|
67
|
+
airia-0.1.18.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
68
|
+
airia-0.1.18.dist-info/top_level.txt,sha256=qUQEKfs_hdOYTwjKj1JZbRhS5YeXDNaKQaVTrzabS6w,6
|
|
69
|
+
airia-0.1.18.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|