winrt-Windows.ApplicationModel.ConversationalAgent 2.2.0__cp313-cp313-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.
- winrt/_winrt_windows_applicationmodel_conversationalagent.cp313-win_amd64.pyd +0 -0
- winrt/_winrt_windows_applicationmodel_conversationalagent.pyi +259 -0
- winrt/windows/applicationmodel/conversationalagent/__init__.py +171 -0
- winrt/windows/applicationmodel/conversationalagent/py.typed +0 -0
- winrt_Windows.ApplicationModel.ConversationalAgent-2.2.0.dist-info/METADATA +28 -0
- winrt_Windows.ApplicationModel.ConversationalAgent-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.ApplicationModel.ConversationalAgent-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.ApplicationModel.ConversationalAgent-2.2.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
|
+
import winrt.windows.media.audio as windows_media_audio
|
|
15
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
16
|
+
|
|
17
|
+
from winrt.windows.applicationmodel.conversationalagent import ActivationSignalDetectionConfigurationCreationStatus, ActivationSignalDetectionConfigurationRemovalResult, ActivationSignalDetectionConfigurationSetModelDataResult, ActivationSignalDetectionConfigurationStateChangeResult, ActivationSignalDetectionTrainingDataFormat, ActivationSignalDetectorKind, ActivationSignalDetectorPowerState, ConversationalAgentActivationKind, ConversationalAgentActivationResult, ConversationalAgentSessionUpdateResponse, ConversationalAgentState, ConversationalAgentSystemStateChangeType, ConversationalAgentVoiceActivationPrerequisiteKind, DetectionConfigurationAvailabilityChangeKind, DetectionConfigurationTrainingStatus, SignalDetectorResourceKind
|
|
18
|
+
|
|
19
|
+
Self = typing.TypeVar('Self')
|
|
20
|
+
|
|
21
|
+
@typing.final
|
|
22
|
+
class ActivationSignalDetectionConfiguration(winrt.system.Object):
|
|
23
|
+
def __enter__(self: Self) -> Self: ...
|
|
24
|
+
def __exit__(self, *args) -> None: ...
|
|
25
|
+
@staticmethod
|
|
26
|
+
def _from(obj: winrt.system.Object, /) -> ActivationSignalDetectionConfiguration: ...
|
|
27
|
+
def apply_training_data(self, training_data_format: ActivationSignalDetectionTrainingDataFormat, training_data: typing.Optional[windows_storage_streams.IInputStream], /) -> DetectionConfigurationTrainingStatus: ...
|
|
28
|
+
def apply_training_data_async(self, training_data_format: ActivationSignalDetectionTrainingDataFormat, training_data: typing.Optional[windows_storage_streams.IInputStream], /) -> windows_foundation.IAsyncOperation[DetectionConfigurationTrainingStatus]: ...
|
|
29
|
+
def clear_model_data(self) -> None: ...
|
|
30
|
+
def clear_model_data_async(self) -> windows_foundation.IAsyncAction: ...
|
|
31
|
+
def clear_training_data(self) -> None: ...
|
|
32
|
+
def clear_training_data_async(self) -> windows_foundation.IAsyncAction: ...
|
|
33
|
+
def close(self) -> None: ...
|
|
34
|
+
def get_model_data(self) -> typing.Optional[windows_storage_streams.IInputStream]: ...
|
|
35
|
+
def get_model_data_async(self) -> windows_foundation.IAsyncOperation[windows_storage_streams.IInputStream]: ...
|
|
36
|
+
def get_model_data_type(self) -> str: ...
|
|
37
|
+
def get_model_data_type_async(self) -> windows_foundation.IAsyncOperation[str]: ...
|
|
38
|
+
def set_enabled(self, value: bool, /) -> None: ...
|
|
39
|
+
def set_enabled_async(self, value: bool, /) -> windows_foundation.IAsyncAction: ...
|
|
40
|
+
def set_enabled_with_result(self, value: bool, /) -> ActivationSignalDetectionConfigurationStateChangeResult: ...
|
|
41
|
+
def set_enabled_with_result_async(self, value: bool, /) -> windows_foundation.IAsyncOperation[ActivationSignalDetectionConfigurationStateChangeResult]: ...
|
|
42
|
+
def set_model_data(self, data_type: str, data: typing.Optional[windows_storage_streams.IInputStream], /) -> None: ...
|
|
43
|
+
def set_model_data_async(self, data_type: str, data: typing.Optional[windows_storage_streams.IInputStream], /) -> windows_foundation.IAsyncAction: ...
|
|
44
|
+
def set_model_data_with_result(self, data_type: str, data: typing.Optional[windows_storage_streams.IInputStream], /) -> ActivationSignalDetectionConfigurationSetModelDataResult: ...
|
|
45
|
+
def set_model_data_with_result_async(self, data_type: str, data: typing.Optional[windows_storage_streams.IInputStream], /) -> windows_foundation.IAsyncOperation[ActivationSignalDetectionConfigurationSetModelDataResult]: ...
|
|
46
|
+
def add_availability_changed(self, handler: windows_foundation.TypedEventHandler[ActivationSignalDetectionConfiguration, DetectionConfigurationAvailabilityChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
47
|
+
def remove_availability_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
48
|
+
@_property
|
|
49
|
+
def availability_info(self) -> typing.Optional[DetectionConfigurationAvailabilityInfo]: ...
|
|
50
|
+
@_property
|
|
51
|
+
def display_name(self) -> str: ...
|
|
52
|
+
@_property
|
|
53
|
+
def is_active(self) -> bool: ...
|
|
54
|
+
@_property
|
|
55
|
+
def model_id(self) -> str: ...
|
|
56
|
+
@_property
|
|
57
|
+
def signal_id(self) -> str: ...
|
|
58
|
+
@_property
|
|
59
|
+
def training_data_format(self) -> ActivationSignalDetectionTrainingDataFormat: ...
|
|
60
|
+
@_property
|
|
61
|
+
def training_steps_completed(self) -> winrt.system.UInt32: ...
|
|
62
|
+
@_property
|
|
63
|
+
def training_steps_remaining(self) -> winrt.system.UInt32: ...
|
|
64
|
+
@_property
|
|
65
|
+
def training_step_completion_max_allowed_time(self) -> winrt.system.UInt32: ...
|
|
66
|
+
|
|
67
|
+
@typing.final
|
|
68
|
+
class ActivationSignalDetectionConfigurationCreationResult(winrt.system.Object):
|
|
69
|
+
@staticmethod
|
|
70
|
+
def _from(obj: winrt.system.Object, /) -> ActivationSignalDetectionConfigurationCreationResult: ...
|
|
71
|
+
@_property
|
|
72
|
+
def configuration(self) -> typing.Optional[ActivationSignalDetectionConfiguration]: ...
|
|
73
|
+
@_property
|
|
74
|
+
def status(self) -> ActivationSignalDetectionConfigurationCreationStatus: ...
|
|
75
|
+
|
|
76
|
+
@typing.final
|
|
77
|
+
class ActivationSignalDetector(winrt.system.Object):
|
|
78
|
+
@staticmethod
|
|
79
|
+
def _from(obj: winrt.system.Object, /) -> ActivationSignalDetector: ...
|
|
80
|
+
def create_configuration(self, signal_id: str, model_id: str, display_name: str, /) -> None: ...
|
|
81
|
+
def create_configuration_async(self, signal_id: str, model_id: str, display_name: str, /) -> windows_foundation.IAsyncAction: ...
|
|
82
|
+
def create_configuration_with_result(self, signal_id: str, model_id: str, display_name: str, /) -> typing.Optional[ActivationSignalDetectionConfigurationCreationResult]: ...
|
|
83
|
+
def create_configuration_with_result_async(self, signal_id: str, model_id: str, display_name: str, /) -> windows_foundation.IAsyncOperation[ActivationSignalDetectionConfigurationCreationResult]: ...
|
|
84
|
+
def get_available_model_ids_for_signal_id(self, signal_id: str, /) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
|
|
85
|
+
def get_available_model_ids_for_signal_id_async(self, signal_id: str, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVector[str]]: ...
|
|
86
|
+
def get_configuration(self, signal_id: str, model_id: str, /) -> typing.Optional[ActivationSignalDetectionConfiguration]: ...
|
|
87
|
+
def get_configuration_async(self, signal_id: str, model_id: str, /) -> windows_foundation.IAsyncOperation[ActivationSignalDetectionConfiguration]: ...
|
|
88
|
+
def get_configurations(self) -> typing.Optional[windows_foundation_collections.IVectorView[ActivationSignalDetectionConfiguration]]: ...
|
|
89
|
+
def get_configurations_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[ActivationSignalDetectionConfiguration]]: ...
|
|
90
|
+
def get_supported_model_ids_for_signal_id(self, signal_id: str, /) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
|
|
91
|
+
def get_supported_model_ids_for_signal_id_async(self, signal_id: str, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[str]]: ...
|
|
92
|
+
def remove_configuration(self, signal_id: str, model_id: str, /) -> None: ...
|
|
93
|
+
def remove_configuration_async(self, signal_id: str, model_id: str, /) -> windows_foundation.IAsyncAction: ...
|
|
94
|
+
def remove_configuration_with_result(self, signal_id: str, model_id: str, /) -> ActivationSignalDetectionConfigurationRemovalResult: ...
|
|
95
|
+
def remove_configuration_with_result_async(self, signal_id: str, model_id: str, /) -> windows_foundation.IAsyncOperation[ActivationSignalDetectionConfigurationRemovalResult]: ...
|
|
96
|
+
@_property
|
|
97
|
+
def can_create_configurations(self) -> bool: ...
|
|
98
|
+
@_property
|
|
99
|
+
def kind(self) -> ActivationSignalDetectorKind: ...
|
|
100
|
+
@_property
|
|
101
|
+
def provider_id(self) -> str: ...
|
|
102
|
+
@_property
|
|
103
|
+
def supported_model_data_types(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
|
|
104
|
+
@_property
|
|
105
|
+
def supported_power_states(self) -> typing.Optional[windows_foundation_collections.IVectorView[ActivationSignalDetectorPowerState]]: ...
|
|
106
|
+
@_property
|
|
107
|
+
def supported_training_data_formats(self) -> typing.Optional[windows_foundation_collections.IVectorView[ActivationSignalDetectionTrainingDataFormat]]: ...
|
|
108
|
+
@_property
|
|
109
|
+
def detector_id(self) -> str: ...
|
|
110
|
+
|
|
111
|
+
@typing.final
|
|
112
|
+
class ConversationalAgentDetectorManager_Static(type):
|
|
113
|
+
@_property
|
|
114
|
+
def default(cls) -> typing.Optional[ConversationalAgentDetectorManager]: ...
|
|
115
|
+
|
|
116
|
+
@typing.final
|
|
117
|
+
class ConversationalAgentDetectorManager(winrt.system.Object, metaclass=ConversationalAgentDetectorManager_Static):
|
|
118
|
+
@staticmethod
|
|
119
|
+
def _from(obj: winrt.system.Object, /) -> ConversationalAgentDetectorManager: ...
|
|
120
|
+
def get_activation_signal_detector_from_id(self, detector_id: str, /) -> typing.Optional[ActivationSignalDetector]: ...
|
|
121
|
+
def get_activation_signal_detector_from_id_async(self, detector_id: str, /) -> windows_foundation.IAsyncOperation[ActivationSignalDetector]: ...
|
|
122
|
+
def get_activation_signal_detectors(self, kind: ActivationSignalDetectorKind, /) -> typing.Optional[windows_foundation_collections.IVectorView[ActivationSignalDetector]]: ...
|
|
123
|
+
def get_activation_signal_detectors_async(self, kind: ActivationSignalDetectorKind, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[ActivationSignalDetector]]: ...
|
|
124
|
+
def get_all_activation_signal_detectors(self) -> typing.Optional[windows_foundation_collections.IVectorView[ActivationSignalDetector]]: ...
|
|
125
|
+
def get_all_activation_signal_detectors_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[ActivationSignalDetector]]: ...
|
|
126
|
+
|
|
127
|
+
@typing.final
|
|
128
|
+
class ConversationalAgentSession_Static(type):
|
|
129
|
+
def get_current_session_async(cls) -> windows_foundation.IAsyncOperation[ConversationalAgentSession]: ...
|
|
130
|
+
def get_current_session_sync(cls) -> typing.Optional[ConversationalAgentSession]: ...
|
|
131
|
+
|
|
132
|
+
@typing.final
|
|
133
|
+
class ConversationalAgentSession(winrt.system.Object, metaclass=ConversationalAgentSession_Static):
|
|
134
|
+
def __enter__(self: Self) -> Self: ...
|
|
135
|
+
def __exit__(self, *args) -> None: ...
|
|
136
|
+
@staticmethod
|
|
137
|
+
def _from(obj: winrt.system.Object, /) -> ConversationalAgentSession: ...
|
|
138
|
+
def close(self) -> None: ...
|
|
139
|
+
def create_audio_device_input_node(self, graph: typing.Optional[windows_media_audio.AudioGraph], /) -> typing.Optional[windows_media_audio.AudioDeviceInputNode]: ...
|
|
140
|
+
def create_audio_device_input_node_async(self, graph: typing.Optional[windows_media_audio.AudioGraph], /) -> windows_foundation.IAsyncOperation[windows_media_audio.AudioDeviceInputNode]: ...
|
|
141
|
+
def get_audio_capture_device_id(self) -> str: ...
|
|
142
|
+
def get_audio_capture_device_id_async(self) -> windows_foundation.IAsyncOperation[str]: ...
|
|
143
|
+
def get_audio_client(self) -> typing.Optional[winrt.system.Object]: ...
|
|
144
|
+
def get_audio_client_async(self) -> windows_foundation.IAsyncOperation[winrt.system.Object]: ...
|
|
145
|
+
def get_audio_render_device_id(self) -> str: ...
|
|
146
|
+
def get_audio_render_device_id_async(self) -> windows_foundation.IAsyncOperation[str]: ...
|
|
147
|
+
def get_missing_prerequisites(self) -> typing.Optional[windows_foundation_collections.IVectorView[ConversationalAgentVoiceActivationPrerequisiteKind]]: ...
|
|
148
|
+
def get_missing_prerequisites_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[ConversationalAgentVoiceActivationPrerequisiteKind]]: ...
|
|
149
|
+
def get_signal_model_id(self) -> winrt.system.UInt32: ...
|
|
150
|
+
def get_signal_model_id_async(self) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
151
|
+
def get_supported_signal_model_ids(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.UInt32]]: ...
|
|
152
|
+
def get_supported_signal_model_ids_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[winrt.system.UInt32]]: ...
|
|
153
|
+
def request_activation(self, activation_kind: ConversationalAgentActivationKind, /) -> ConversationalAgentActivationResult: ...
|
|
154
|
+
def request_activation_async(self, activation_kind: ConversationalAgentActivationKind, /) -> windows_foundation.IAsyncOperation[ConversationalAgentActivationResult]: ...
|
|
155
|
+
def request_agent_state_change(self, state: ConversationalAgentState, /) -> ConversationalAgentSessionUpdateResponse: ...
|
|
156
|
+
def request_agent_state_change_async(self, state: ConversationalAgentState, /) -> windows_foundation.IAsyncOperation[ConversationalAgentSessionUpdateResponse]: ...
|
|
157
|
+
def request_foreground_activation(self) -> ConversationalAgentSessionUpdateResponse: ...
|
|
158
|
+
def request_foreground_activation_async(self) -> windows_foundation.IAsyncOperation[ConversationalAgentSessionUpdateResponse]: ...
|
|
159
|
+
def request_interruptible(self, interruptible: bool, /) -> ConversationalAgentSessionUpdateResponse: ...
|
|
160
|
+
def request_interruptible_async(self, interruptible: bool, /) -> windows_foundation.IAsyncOperation[ConversationalAgentSessionUpdateResponse]: ...
|
|
161
|
+
def set_signal_model_id(self, signal_model_id: winrt.system.UInt32, /) -> bool: ...
|
|
162
|
+
def set_signal_model_id_async(self, signal_model_id: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
163
|
+
def set_support_lock_screen_activation(self, lock_screen_activation_supported: bool, /) -> None: ...
|
|
164
|
+
def set_support_lock_screen_activation_async(self, lock_screen_activation_supported: bool, /) -> windows_foundation.IAsyncAction: ...
|
|
165
|
+
def add_session_interrupted(self, handler: windows_foundation.TypedEventHandler[ConversationalAgentSession, ConversationalAgentSessionInterruptedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
166
|
+
def remove_session_interrupted(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
167
|
+
def add_signal_detected(self, handler: windows_foundation.TypedEventHandler[ConversationalAgentSession, ConversationalAgentSignalDetectedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
168
|
+
def remove_signal_detected(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
169
|
+
def add_system_state_changed(self, handler: windows_foundation.TypedEventHandler[ConversationalAgentSession, ConversationalAgentSystemStateChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
170
|
+
def remove_system_state_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
171
|
+
@_property
|
|
172
|
+
def agent_state(self) -> ConversationalAgentState: ...
|
|
173
|
+
@_property
|
|
174
|
+
def is_indicator_light_available(self) -> bool: ...
|
|
175
|
+
@_property
|
|
176
|
+
def is_interrupted(self) -> bool: ...
|
|
177
|
+
@_property
|
|
178
|
+
def is_interruptible(self) -> bool: ...
|
|
179
|
+
@_property
|
|
180
|
+
def is_screen_available(self) -> bool: ...
|
|
181
|
+
@_property
|
|
182
|
+
def is_user_authenticated(self) -> bool: ...
|
|
183
|
+
@_property
|
|
184
|
+
def is_voice_activation_available(self) -> bool: ...
|
|
185
|
+
@_property
|
|
186
|
+
def signal(self) -> typing.Optional[ConversationalAgentSignal]: ...
|
|
187
|
+
|
|
188
|
+
@typing.final
|
|
189
|
+
class ConversationalAgentSessionInterruptedEventArgs(winrt.system.Object):
|
|
190
|
+
@staticmethod
|
|
191
|
+
def _from(obj: winrt.system.Object, /) -> ConversationalAgentSessionInterruptedEventArgs: ...
|
|
192
|
+
|
|
193
|
+
@typing.final
|
|
194
|
+
class ConversationalAgentSignal(winrt.system.Object):
|
|
195
|
+
@staticmethod
|
|
196
|
+
def _from(obj: winrt.system.Object, /) -> ConversationalAgentSignal: ...
|
|
197
|
+
@_property
|
|
198
|
+
def signal_start(self) -> datetime.timedelta: ...
|
|
199
|
+
@signal_start.setter
|
|
200
|
+
def signal_start(self, value: datetime.timedelta) -> None: ...
|
|
201
|
+
@_property
|
|
202
|
+
def signal_name(self) -> str: ...
|
|
203
|
+
@signal_name.setter
|
|
204
|
+
def signal_name(self, value: str) -> None: ...
|
|
205
|
+
@_property
|
|
206
|
+
def signal_id(self) -> str: ...
|
|
207
|
+
@signal_id.setter
|
|
208
|
+
def signal_id(self, value: str) -> None: ...
|
|
209
|
+
@_property
|
|
210
|
+
def signal_end(self) -> datetime.timedelta: ...
|
|
211
|
+
@signal_end.setter
|
|
212
|
+
def signal_end(self, value: datetime.timedelta) -> None: ...
|
|
213
|
+
@_property
|
|
214
|
+
def signal_context(self) -> typing.Optional[winrt.system.Object]: ...
|
|
215
|
+
@signal_context.setter
|
|
216
|
+
def signal_context(self, value: typing.Optional[winrt.system.Object]) -> None: ...
|
|
217
|
+
@_property
|
|
218
|
+
def is_signal_verification_required(self) -> bool: ...
|
|
219
|
+
@is_signal_verification_required.setter
|
|
220
|
+
def is_signal_verification_required(self, value: bool) -> None: ...
|
|
221
|
+
@_property
|
|
222
|
+
def detector_id(self) -> str: ...
|
|
223
|
+
@_property
|
|
224
|
+
def detector_kind(self) -> ActivationSignalDetectorKind: ...
|
|
225
|
+
|
|
226
|
+
@typing.final
|
|
227
|
+
class ConversationalAgentSignalDetectedEventArgs(winrt.system.Object):
|
|
228
|
+
@staticmethod
|
|
229
|
+
def _from(obj: winrt.system.Object, /) -> ConversationalAgentSignalDetectedEventArgs: ...
|
|
230
|
+
|
|
231
|
+
@typing.final
|
|
232
|
+
class ConversationalAgentSystemStateChangedEventArgs(winrt.system.Object):
|
|
233
|
+
@staticmethod
|
|
234
|
+
def _from(obj: winrt.system.Object, /) -> ConversationalAgentSystemStateChangedEventArgs: ...
|
|
235
|
+
@_property
|
|
236
|
+
def system_state_change_type(self) -> ConversationalAgentSystemStateChangeType: ...
|
|
237
|
+
|
|
238
|
+
@typing.final
|
|
239
|
+
class DetectionConfigurationAvailabilityChangedEventArgs(winrt.system.Object):
|
|
240
|
+
@staticmethod
|
|
241
|
+
def _from(obj: winrt.system.Object, /) -> DetectionConfigurationAvailabilityChangedEventArgs: ...
|
|
242
|
+
@_property
|
|
243
|
+
def kind(self) -> DetectionConfigurationAvailabilityChangeKind: ...
|
|
244
|
+
|
|
245
|
+
@typing.final
|
|
246
|
+
class DetectionConfigurationAvailabilityInfo(winrt.system.Object):
|
|
247
|
+
@staticmethod
|
|
248
|
+
def _from(obj: winrt.system.Object, /) -> DetectionConfigurationAvailabilityInfo: ...
|
|
249
|
+
@_property
|
|
250
|
+
def has_lock_screen_permission(self) -> bool: ...
|
|
251
|
+
@_property
|
|
252
|
+
def has_permission(self) -> bool: ...
|
|
253
|
+
@_property
|
|
254
|
+
def has_system_resource_access(self) -> bool: ...
|
|
255
|
+
@_property
|
|
256
|
+
def is_enabled(self) -> bool: ...
|
|
257
|
+
@_property
|
|
258
|
+
def unavailable_system_resources(self) -> typing.Optional[windows_foundation_collections.IVectorView[SignalDetectorResourceKind]]: ...
|
|
259
|
+
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt import _winrt_windows_applicationmodel_conversationalagent
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"ActivationSignalDetectionConfigurationCreationStatus",
|
|
10
|
+
"ActivationSignalDetectionConfigurationRemovalResult",
|
|
11
|
+
"ActivationSignalDetectionConfigurationSetModelDataResult",
|
|
12
|
+
"ActivationSignalDetectionConfigurationStateChangeResult",
|
|
13
|
+
"ActivationSignalDetectionTrainingDataFormat",
|
|
14
|
+
"ActivationSignalDetectorKind",
|
|
15
|
+
"ActivationSignalDetectorPowerState",
|
|
16
|
+
"ConversationalAgentActivationKind",
|
|
17
|
+
"ConversationalAgentActivationResult",
|
|
18
|
+
"ConversationalAgentSessionUpdateResponse",
|
|
19
|
+
"ConversationalAgentState",
|
|
20
|
+
"ConversationalAgentSystemStateChangeType",
|
|
21
|
+
"ConversationalAgentVoiceActivationPrerequisiteKind",
|
|
22
|
+
"DetectionConfigurationAvailabilityChangeKind",
|
|
23
|
+
"DetectionConfigurationTrainingStatus",
|
|
24
|
+
"SignalDetectorResourceKind",
|
|
25
|
+
"ActivationSignalDetectionConfiguration",
|
|
26
|
+
"ActivationSignalDetectionConfigurationCreationResult",
|
|
27
|
+
"ActivationSignalDetector",
|
|
28
|
+
"ConversationalAgentDetectorManager",
|
|
29
|
+
"ConversationalAgentSession",
|
|
30
|
+
"ConversationalAgentSessionInterruptedEventArgs",
|
|
31
|
+
"ConversationalAgentSignal",
|
|
32
|
+
"ConversationalAgentSignalDetectedEventArgs",
|
|
33
|
+
"ConversationalAgentSystemStateChangedEventArgs",
|
|
34
|
+
"DetectionConfigurationAvailabilityChangedEventArgs",
|
|
35
|
+
"DetectionConfigurationAvailabilityInfo",
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
class ActivationSignalDetectionConfigurationCreationStatus(enum.IntEnum):
|
|
39
|
+
SUCCESS = 0
|
|
40
|
+
SIGNAL_ID_NOT_AVAILABLE = 1
|
|
41
|
+
MODEL_ID_NOT_SUPPORTED = 2
|
|
42
|
+
INVALID_SIGNAL_ID = 3
|
|
43
|
+
INVALID_MODEL_ID = 4
|
|
44
|
+
INVALID_DISPLAY_NAME = 5
|
|
45
|
+
CONFIGURATION_ALREADY_EXISTS = 6
|
|
46
|
+
CREATION_NOT_SUPPORTED = 7
|
|
47
|
+
|
|
48
|
+
class ActivationSignalDetectionConfigurationRemovalResult(enum.IntEnum):
|
|
49
|
+
SUCCESS = 0
|
|
50
|
+
NOT_FOUND = 1
|
|
51
|
+
CURRENTLY_ENABLED = 2
|
|
52
|
+
REMOVAL_NOT_SUPPORTED = 3
|
|
53
|
+
|
|
54
|
+
class ActivationSignalDetectionConfigurationSetModelDataResult(enum.IntEnum):
|
|
55
|
+
SUCCESS = 0
|
|
56
|
+
EMPTY_MODEL_DATA = 1
|
|
57
|
+
UNSUPPORTED_FORMAT = 2
|
|
58
|
+
CONFIGURATION_CURRENTLY_ENABLED = 3
|
|
59
|
+
INVALID_DATA = 4
|
|
60
|
+
SET_MODEL_DATA_NOT_SUPPORTED = 5
|
|
61
|
+
CONFIGURATION_NOT_FOUND = 6
|
|
62
|
+
UNKNOWN_ERROR = 7
|
|
63
|
+
|
|
64
|
+
class ActivationSignalDetectionConfigurationStateChangeResult(enum.IntEnum):
|
|
65
|
+
SUCCESS = 0
|
|
66
|
+
NO_MODEL_DATA = 1
|
|
67
|
+
CONFIGURATION_NOT_FOUND = 2
|
|
68
|
+
|
|
69
|
+
class ActivationSignalDetectionTrainingDataFormat(enum.IntEnum):
|
|
70
|
+
VOICE8K_HZ8_BIT_MONO = 0
|
|
71
|
+
VOICE8K_HZ16_BIT_MONO = 1
|
|
72
|
+
VOICE16K_HZ8_BIT_MONO = 2
|
|
73
|
+
VOICE16K_HZ16_BIT_MONO = 3
|
|
74
|
+
VOICE_O_E_M_DEFINED = 4
|
|
75
|
+
AUDIO44K_HZ8_BIT_MONO = 5
|
|
76
|
+
AUDIO44K_HZ16_BIT_MONO = 6
|
|
77
|
+
AUDIO48K_HZ8_BIT_MONO = 7
|
|
78
|
+
AUDIO48K_HZ16_BIT_MONO = 8
|
|
79
|
+
AUDIO_O_E_M_DEFINED = 9
|
|
80
|
+
OTHER_O_E_M_DEFINED = 10
|
|
81
|
+
|
|
82
|
+
class ActivationSignalDetectorKind(enum.IntEnum):
|
|
83
|
+
AUDIO_PATTERN = 0
|
|
84
|
+
AUDIO_IMPULSE = 1
|
|
85
|
+
HARDWARE_EVENT = 2
|
|
86
|
+
|
|
87
|
+
class ActivationSignalDetectorPowerState(enum.IntEnum):
|
|
88
|
+
HIGH_POWER = 0
|
|
89
|
+
CONNECTED_LOW_POWER = 1
|
|
90
|
+
DISCONNECTED_LOW_POWER = 2
|
|
91
|
+
|
|
92
|
+
class ConversationalAgentActivationKind(enum.IntEnum):
|
|
93
|
+
VOICE_ACTIVATION_PREVIEW = 0
|
|
94
|
+
FOREGROUND = 1
|
|
95
|
+
|
|
96
|
+
class ConversationalAgentActivationResult(enum.IntEnum):
|
|
97
|
+
SUCCESS = 0
|
|
98
|
+
AGENT_INACTIVE = 1
|
|
99
|
+
SCREEN_NOT_AVAILABLE = 2
|
|
100
|
+
AGENT_INTERRUPTED = 3
|
|
101
|
+
|
|
102
|
+
class ConversationalAgentSessionUpdateResponse(enum.IntEnum):
|
|
103
|
+
SUCCESS = 0
|
|
104
|
+
FAILED = 1
|
|
105
|
+
|
|
106
|
+
class ConversationalAgentState(enum.IntEnum):
|
|
107
|
+
INACTIVE = 0
|
|
108
|
+
DETECTING = 1
|
|
109
|
+
LISTENING = 2
|
|
110
|
+
WORKING = 3
|
|
111
|
+
SPEAKING = 4
|
|
112
|
+
LISTENING_AND_SPEAKING = 5
|
|
113
|
+
|
|
114
|
+
class ConversationalAgentSystemStateChangeType(enum.IntEnum):
|
|
115
|
+
USER_AUTHENTICATION = 0
|
|
116
|
+
SCREEN_AVAILABILITY = 1
|
|
117
|
+
INDICATOR_LIGHT_AVAILABILITY = 2
|
|
118
|
+
VOICE_ACTIVATION_AVAILABILITY = 3
|
|
119
|
+
|
|
120
|
+
class ConversationalAgentVoiceActivationPrerequisiteKind(enum.IntEnum):
|
|
121
|
+
MICROPHONE_PERMISSION = 0
|
|
122
|
+
KNOWN_AGENTS = 1
|
|
123
|
+
AGENT_ALLOWED = 2
|
|
124
|
+
APP_CAPABILITY = 3
|
|
125
|
+
BACKGROUND_TASK_REGISTRATION = 4
|
|
126
|
+
POLICY_PERMISSION = 5
|
|
127
|
+
|
|
128
|
+
class DetectionConfigurationAvailabilityChangeKind(enum.IntEnum):
|
|
129
|
+
SYSTEM_RESOURCE_ACCESS = 0
|
|
130
|
+
PERMISSION = 1
|
|
131
|
+
LOCK_SCREEN_PERMISSION = 2
|
|
132
|
+
|
|
133
|
+
class DetectionConfigurationTrainingStatus(enum.IntEnum):
|
|
134
|
+
SUCCESS = 0
|
|
135
|
+
FORMAT_NOT_SUPPORTED = 1
|
|
136
|
+
VOICE_TOO_QUIET = 2
|
|
137
|
+
VOICE_TOO_LOUD = 3
|
|
138
|
+
VOICE_TOO_FAST = 4
|
|
139
|
+
VOICE_TOO_SLOW = 5
|
|
140
|
+
VOICE_QUALITY_PROBLEM = 6
|
|
141
|
+
TRAINING_SYSTEM_INTERNAL_ERROR = 7
|
|
142
|
+
TRAINING_TIMED_OUT = 8
|
|
143
|
+
CONFIGURATION_NOT_FOUND = 9
|
|
144
|
+
|
|
145
|
+
class SignalDetectorResourceKind(enum.IntEnum):
|
|
146
|
+
PARALLEL_MODEL_SUPPORT = 0
|
|
147
|
+
PARALLEL_MODEL_SUPPORT_FOR_AGENT = 1
|
|
148
|
+
PARALLEL_SIGNAL_SUPPORT = 2
|
|
149
|
+
PARALLEL_SIGNAL_SUPPORT_FOR_AGENT = 3
|
|
150
|
+
DISPLAY_OFF_SUPPORT = 4
|
|
151
|
+
PLUGGED_IN_POWER = 5
|
|
152
|
+
DETECTOR = 6
|
|
153
|
+
SUPPORTED_SLEEP_STATE = 7
|
|
154
|
+
SUPPORTED_BATTERY_SAVER_STATE = 8
|
|
155
|
+
SCREEN_AVAILABILITY = 9
|
|
156
|
+
INPUT_HARDWARE = 10
|
|
157
|
+
ACOUSTIC_ECHO_CANCELLATION = 11
|
|
158
|
+
MODEL_ID_SUPPORT = 12
|
|
159
|
+
DATA_CHANNEL = 13
|
|
160
|
+
|
|
161
|
+
ActivationSignalDetectionConfiguration = _winrt_windows_applicationmodel_conversationalagent.ActivationSignalDetectionConfiguration
|
|
162
|
+
ActivationSignalDetectionConfigurationCreationResult = _winrt_windows_applicationmodel_conversationalagent.ActivationSignalDetectionConfigurationCreationResult
|
|
163
|
+
ActivationSignalDetector = _winrt_windows_applicationmodel_conversationalagent.ActivationSignalDetector
|
|
164
|
+
ConversationalAgentDetectorManager = _winrt_windows_applicationmodel_conversationalagent.ConversationalAgentDetectorManager
|
|
165
|
+
ConversationalAgentSession = _winrt_windows_applicationmodel_conversationalagent.ConversationalAgentSession
|
|
166
|
+
ConversationalAgentSessionInterruptedEventArgs = _winrt_windows_applicationmodel_conversationalagent.ConversationalAgentSessionInterruptedEventArgs
|
|
167
|
+
ConversationalAgentSignal = _winrt_windows_applicationmodel_conversationalagent.ConversationalAgentSignal
|
|
168
|
+
ConversationalAgentSignalDetectedEventArgs = _winrt_windows_applicationmodel_conversationalagent.ConversationalAgentSignalDetectedEventArgs
|
|
169
|
+
ConversationalAgentSystemStateChangedEventArgs = _winrt_windows_applicationmodel_conversationalagent.ConversationalAgentSystemStateChangedEventArgs
|
|
170
|
+
DetectionConfigurationAvailabilityChangedEventArgs = _winrt_windows_applicationmodel_conversationalagent.DetectionConfigurationAvailabilityChangedEventArgs
|
|
171
|
+
DetectionConfigurationAvailabilityInfo = _winrt_windows_applicationmodel_conversationalagent.DetectionConfigurationAvailabilityInfo
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.ConversationalAgent
|
|
3
|
+
Version: 2.2.0
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime ==2.2.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.Media.Audio[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
|
|
21
|
+
|
|
22
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
|
+
|
|
24
|
+
# winrt-Windows.ApplicationModel.ConversationalAgent
|
|
25
|
+
|
|
26
|
+
Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.ConversationalAgent` namespace.
|
|
27
|
+
|
|
28
|
+
This package provides the `winrt.windows.applicationmodel.conversationalagent` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_applicationmodel_conversationalagent.cp313-win_amd64.pyd,sha256=bLCUtcAZuHWdr7NSL29iWn2kxWuarJZxKcoLR8iPWyA,456192
|
|
2
|
+
winrt/_winrt_windows_applicationmodel_conversationalagent.pyi,sha256=ul1Ndjfkq5W-BirE8BjfBNZqp0RZUVEUi5deUyOVR0Y,17929
|
|
3
|
+
winrt/windows/applicationmodel/conversationalagent/__init__.py,sha256=LU_GgNBr07RLE9Rir5eWcPWls6atoy4FQTOhqYcpbF8,6387
|
|
4
|
+
winrt/windows/applicationmodel/conversationalagent/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.ApplicationModel.ConversationalAgent-2.2.0.dist-info/METADATA,sha256=72dZghyOds9SzBe6ACEHK3H5qOKaoGdt_i3D8_QVQj4,1358
|
|
6
|
+
winrt_Windows.ApplicationModel.ConversationalAgent-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
|
|
7
|
+
winrt_Windows.ApplicationModel.ConversationalAgent-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.ApplicationModel.ConversationalAgent-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|