win32more-Microsoft.WindowsAppSDK 0.6.1.8.251003001__py2.py3-none-any.whl → 0.7.1.5.240311000__py2.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.

Potentially problematic release.


This version of win32more-Microsoft.WindowsAppSDK might be problematic. Click here for more details.

Files changed (89) hide show
  1. win32more/Microsoft/Foundation/__init__.py +2 -2
  2. win32more/Microsoft/Graphics/DirectX/__init__.py +1 -1
  3. win32more/Microsoft/Graphics/Display/__init__.py +9 -9
  4. win32more/Microsoft/UI/Composition/Core/__init__.py +9 -9
  5. win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +3 -3
  6. win32more/Microsoft/UI/Composition/Effects/__init__.py +11 -11
  7. win32more/Microsoft/UI/Composition/Interactions/__init__.py +95 -95
  8. win32more/Microsoft/UI/Composition/Scenes/__init__.py +81 -81
  9. win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +41 -41
  10. win32more/Microsoft/UI/Composition/__init__.py +261 -261
  11. win32more/Microsoft/UI/Content/__init__.py +55 -696
  12. win32more/Microsoft/UI/Dispatching/__init__.py +15 -15
  13. win32more/Microsoft/UI/Input/DragDrop/__init__.py +13 -13
  14. win32more/Microsoft/UI/Input/Interop/__init__.py +1 -1
  15. win32more/Microsoft/UI/Input/__init__.py +150 -376
  16. win32more/Microsoft/UI/System/__init__.py +5 -5
  17. win32more/Microsoft/UI/Text/__init__.py +26 -47
  18. win32more/Microsoft/UI/Windowing/__init__.py +42 -125
  19. win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +56 -78
  20. win32more/Microsoft/UI/Xaml/Automation/Provider/__init__.py +19 -19
  21. win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +1 -1
  22. win32more/Microsoft/UI/Xaml/Automation/__init__.py +41 -41
  23. win32more/Microsoft/UI/Xaml/Controls/AnimatedVisuals/__init__.py +17 -17
  24. win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +108 -107
  25. win32more/Microsoft/UI/Xaml/Controls/__init__.py +727 -1217
  26. win32more/Microsoft/UI/Xaml/Core/Direct/__init__.py +7 -0
  27. win32more/Microsoft/UI/Xaml/Data/__init__.py +31 -30
  28. win32more/Microsoft/UI/Xaml/Documents/__init__.py +38 -37
  29. win32more/Microsoft/UI/Xaml/Hosting/__init__.py +7 -7
  30. win32more/Microsoft/UI/Xaml/Input/__init__.py +38 -31
  31. win32more/Microsoft/UI/Xaml/Interop/__init__.py +3 -3
  32. win32more/Microsoft/UI/Xaml/Markup/__init__.py +19 -17
  33. win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +111 -109
  34. win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +11 -11
  35. win32more/Microsoft/UI/Xaml/Media/Media3D/__init__.py +2 -1
  36. win32more/Microsoft/UI/Xaml/Media/__init__.py +34 -28
  37. win32more/Microsoft/UI/Xaml/Navigation/__init__.py +1 -1
  38. win32more/Microsoft/UI/Xaml/Printing/__init__.py +7 -7
  39. win32more/Microsoft/UI/Xaml/Resources/__init__.py +3 -3
  40. win32more/Microsoft/UI/Xaml/Shapes/__init__.py +1 -1
  41. win32more/Microsoft/UI/Xaml/XamlTypeInfo/__init__.py +2 -2
  42. win32more/Microsoft/UI/Xaml/__init__.py +192 -260
  43. win32more/Microsoft/UI/__init__.py +6 -11
  44. win32more/Microsoft/Web/WebView2/Core/__init__.py +4686 -0
  45. win32more/Microsoft/Windows/AppLifecycle/__init__.py +21 -21
  46. win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +100 -100
  47. win32more/Microsoft/Windows/AppNotifications/__init__.py +46 -46
  48. win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +22 -21
  49. win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +60 -60
  50. win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +1 -118
  51. win32more/Microsoft/Windows/Management/Deployment/__init__.py +83 -143
  52. win32more/Microsoft/Windows/PushNotifications/__init__.py +6 -5
  53. win32more/Microsoft/Windows/Security/AccessControl/__init__.py +7 -6
  54. win32more/Microsoft/Windows/System/Power/__init__.py +23 -12
  55. win32more/Microsoft/Windows/System/__init__.py +15 -15
  56. win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +25 -292
  57. win32more/Microsoft/Windows/Widgets/Providers/__init__.py +49 -260
  58. win32more/Microsoft/Windows/Widgets/__init__.py +2 -2
  59. win32more/appsdk/versioninfo.py +2 -2
  60. win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  61. win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  62. win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  63. win32more_microsoft_windowsappsdk-0.7.1.5.240311000.dist-info/METADATA +5 -0
  64. win32more_microsoft_windowsappsdk-0.7.1.5.240311000.dist-info/RECORD +66 -0
  65. {win32more_microsoft_windowsappsdk-0.6.1.8.251003001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.5.240311000.dist-info}/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +3 -5
  66. win32more/Microsoft/Graphics/Imaging/__init__.py +0 -77
  67. win32more/Microsoft/Security/Authentication/OAuth/__init__.py +0 -591
  68. win32more/Microsoft/Windows/AI/ContentSafety/__init__.py +0 -197
  69. win32more/Microsoft/Windows/AI/Foundation/__init__.py +0 -46
  70. win32more/Microsoft/Windows/AI/Imaging/__init__.py +0 -365
  71. win32more/Microsoft/Windows/AI/MachineLearning/__init__.py +0 -122
  72. win32more/Microsoft/Windows/AI/Text/__init__.py +0 -498
  73. win32more/Microsoft/Windows/AI/__init__.py +0 -49
  74. win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +0 -27
  75. win32more/Microsoft/Windows/ApplicationModel/Background/__init__.py +0 -65
  76. win32more/Microsoft/Windows/BadgeNotifications/__init__.py +0 -53
  77. win32more/Microsoft/Windows/Foundation/__init__.py +0 -220
  78. win32more/Microsoft/Windows/Globalization/__init__.py +0 -38
  79. win32more/Microsoft/Windows/Media/Capture/__init__.py +0 -196
  80. win32more/Microsoft/Windows/Storage/Pickers/__init__.py +0 -258
  81. win32more/Microsoft/Windows/Storage/__init__.py +0 -178
  82. win32more/Microsoft/Windows/Widgets/Notifications/__init__.py +0 -193
  83. win32more/Microsoft/Windows/Workloads/__init__.py +0 -11
  84. win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  85. win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  86. win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  87. win32more_microsoft_windowsappsdk-0.6.1.8.251003001.dist-info/METADATA +0 -6
  88. win32more_microsoft_windowsappsdk-0.6.1.8.251003001.dist-info/RECORD +0 -85
  89. {win32more_microsoft_windowsappsdk-0.6.1.8.251003001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.5.240311000.dist-info}/WHEEL +0 -0
@@ -1,122 +0,0 @@
1
- from __future__ import annotations
2
- from win32more.winrt.prelude import *
3
- import win32more.Microsoft.Windows.AI.MachineLearning
4
- import win32more.Windows.ApplicationModel
5
- import win32more.Windows.Foundation
6
- import win32more.Windows.Foundation.Collections
7
- class ExecutionProvider(ComPtr):
8
- extends: IInspectable
9
- default_interface: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProvider
10
- _classid_ = 'Microsoft.Windows.AI.MachineLearning.ExecutionProvider'
11
- @winrt_mixinmethod
12
- def get_Name(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProvider) -> WinRT_String: ...
13
- @winrt_mixinmethod
14
- def get_LibraryPath(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProvider) -> WinRT_String: ...
15
- @winrt_mixinmethod
16
- def get_PackageId(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProvider) -> win32more.Windows.ApplicationModel.PackageId: ...
17
- @winrt_mixinmethod
18
- def get_ReadyState(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProvider) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyState: ...
19
- @winrt_mixinmethod
20
- def get_Certification(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProvider) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderCertification: ...
21
- @winrt_mixinmethod
22
- def EnsureReadyAsync(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProvider) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyResult, Double]: ...
23
- @winrt_mixinmethod
24
- def TryRegister(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProvider) -> Boolean: ...
25
- Certification = property(get_Certification, None)
26
- LibraryPath = property(get_LibraryPath, None)
27
- Name = property(get_Name, None)
28
- PackageId = property(get_PackageId, None)
29
- ReadyState = property(get_ReadyState, None)
30
- class ExecutionProviderCatalog(ComPtr):
31
- extends: IInspectable
32
- default_interface: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderCatalog
33
- _classid_ = 'Microsoft.Windows.AI.MachineLearning.ExecutionProviderCatalog'
34
- @winrt_mixinmethod
35
- def FindAllProviders(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderCatalog) -> ReceiveArray[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProvider]: ...
36
- @winrt_mixinmethod
37
- def EnsureAndRegisterCertifiedAsync(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderCatalog) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProvider], Double]: ...
38
- @winrt_mixinmethod
39
- def RegisterCertifiedAsync(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderCatalog) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProvider], Double]: ...
40
- @winrt_classmethod
41
- def GetDefault(cls: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderCatalogStatics) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderCatalog: ...
42
- class ExecutionProviderCertification(Enum, Int32):
43
- Unknown = 0
44
- Certified = 1
45
- Uncertified = 2
46
- class ExecutionProviderReadyResult(ComPtr):
47
- extends: IInspectable
48
- default_interface: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderReadyResult
49
- _classid_ = 'Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyResult'
50
- @winrt_mixinmethod
51
- def get_Status(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderReadyResult) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyResultState: ...
52
- @winrt_mixinmethod
53
- def get_ExtendedError(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderReadyResult) -> win32more.Windows.Foundation.HResult: ...
54
- @winrt_mixinmethod
55
- def get_DiagnosticText(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderReadyResult) -> WinRT_String: ...
56
- DiagnosticText = property(get_DiagnosticText, None)
57
- ExtendedError = property(get_ExtendedError, None)
58
- Status = property(get_Status, None)
59
- class ExecutionProviderReadyResultState(Enum, Int32):
60
- InProgress = 0
61
- Success = 1
62
- Failure = 2
63
- class ExecutionProviderReadyState(Enum, Int32):
64
- Ready = 0
65
- NotReady = 1
66
- NotPresent = 2
67
- class IExecutionProvider(ComPtr):
68
- extends: IInspectable
69
- _classid_ = 'Microsoft.Windows.AI.MachineLearning.IExecutionProvider'
70
- _iid_ = Guid('{98356468-cf23-504f-b29c-9347781925ff}')
71
- @winrt_commethod(6)
72
- def get_Name(self) -> WinRT_String: ...
73
- @winrt_commethod(7)
74
- def get_LibraryPath(self) -> WinRT_String: ...
75
- @winrt_commethod(8)
76
- def get_PackageId(self) -> win32more.Windows.ApplicationModel.PackageId: ...
77
- @winrt_commethod(9)
78
- def get_ReadyState(self) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyState: ...
79
- @winrt_commethod(10)
80
- def get_Certification(self) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderCertification: ...
81
- @winrt_commethod(11)
82
- def EnsureReadyAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyResult, Double]: ...
83
- @winrt_commethod(12)
84
- def TryRegister(self) -> Boolean: ...
85
- Certification = property(get_Certification, None)
86
- LibraryPath = property(get_LibraryPath, None)
87
- Name = property(get_Name, None)
88
- PackageId = property(get_PackageId, None)
89
- ReadyState = property(get_ReadyState, None)
90
- class IExecutionProviderCatalog(ComPtr):
91
- extends: IInspectable
92
- _classid_ = 'Microsoft.Windows.AI.MachineLearning.IExecutionProviderCatalog'
93
- _iid_ = Guid('{aa9bfe14-2222-5921-8002-4d2a205ea03c}')
94
- @winrt_commethod(6)
95
- def FindAllProviders(self) -> ReceiveArray[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProvider]: ...
96
- @winrt_commethod(7)
97
- def EnsureAndRegisterCertifiedAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProvider], Double]: ...
98
- @winrt_commethod(8)
99
- def RegisterCertifiedAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProvider], Double]: ...
100
- class IExecutionProviderCatalogStatics(ComPtr):
101
- extends: IInspectable
102
- _classid_ = 'Microsoft.Windows.AI.MachineLearning.IExecutionProviderCatalogStatics'
103
- _iid_ = Guid('{550def98-2611-5433-afb8-43673b610848}')
104
- @winrt_commethod(6)
105
- def GetDefault(self) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderCatalog: ...
106
- class IExecutionProviderReadyResult(ComPtr):
107
- extends: IInspectable
108
- _classid_ = 'Microsoft.Windows.AI.MachineLearning.IExecutionProviderReadyResult'
109
- _iid_ = Guid('{91c1724d-93c7-5284-adbe-ba2bd7be7c79}')
110
- @winrt_commethod(6)
111
- def get_Status(self) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyResultState: ...
112
- @winrt_commethod(7)
113
- def get_ExtendedError(self) -> win32more.Windows.Foundation.HResult: ...
114
- @winrt_commethod(8)
115
- def get_DiagnosticText(self) -> WinRT_String: ...
116
- DiagnosticText = property(get_DiagnosticText, None)
117
- ExtendedError = property(get_ExtendedError, None)
118
- Status = property(get_Status, None)
119
- MachineLearningContract: UInt32 = 131072
120
-
121
-
122
- make_ready(__name__)
@@ -1,498 +0,0 @@
1
- from __future__ import annotations
2
- from win32more.winrt.prelude import *
3
- import win32more.Microsoft.Windows.AI
4
- import win32more.Microsoft.Windows.AI.ContentSafety
5
- import win32more.Microsoft.Windows.AI.Foundation
6
- import win32more.Microsoft.Windows.AI.Text
7
- import win32more.Windows.Foundation
8
- import win32more.Windows.Foundation.Collections
9
- class ConversationItem(ComPtr):
10
- extends: IInspectable
11
- default_interface: win32more.Microsoft.Windows.AI.Text.IConversationItem
12
- _classid_ = 'Microsoft.Windows.AI.Text.ConversationItem'
13
- def __init__(self, *args, **kwargs):
14
- if kwargs:
15
- super().__init__(**kwargs)
16
- elif len(args) == 0:
17
- super().__init__(move=win32more.Microsoft.Windows.AI.Text.ConversationItem.CreateInstance(*args))
18
- else:
19
- raise ValueError('no matched constructor')
20
- @winrt_activatemethod
21
- def CreateInstance(cls) -> win32more.Microsoft.Windows.AI.Text.ConversationItem: ...
22
- @winrt_mixinmethod
23
- def get_Participant(self: win32more.Microsoft.Windows.AI.Text.IConversationItem) -> WinRT_String: ...
24
- @winrt_mixinmethod
25
- def put_Participant(self: win32more.Microsoft.Windows.AI.Text.IConversationItem, value: WinRT_String) -> Void: ...
26
- @winrt_mixinmethod
27
- def get_Message(self: win32more.Microsoft.Windows.AI.Text.IConversationItem) -> WinRT_String: ...
28
- @winrt_mixinmethod
29
- def put_Message(self: win32more.Microsoft.Windows.AI.Text.IConversationItem, value: WinRT_String) -> Void: ...
30
- Message = property(get_Message, put_Message)
31
- Participant = property(get_Participant, put_Participant)
32
- class ConversationSummaryOptions(ComPtr):
33
- extends: IInspectable
34
- default_interface: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions
35
- _classid_ = 'Microsoft.Windows.AI.Text.ConversationSummaryOptions'
36
- def __init__(self, *args, **kwargs):
37
- if kwargs:
38
- super().__init__(**kwargs)
39
- elif len(args) == 0:
40
- super().__init__(move=win32more.Microsoft.Windows.AI.Text.ConversationSummaryOptions.CreateInstance(*args))
41
- else:
42
- raise ValueError('no matched constructor')
43
- @winrt_activatemethod
44
- def CreateInstance(cls) -> win32more.Microsoft.Windows.AI.Text.ConversationSummaryOptions: ...
45
- @winrt_mixinmethod
46
- def get_InputKind(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions) -> win32more.Microsoft.Windows.AI.Text.InputKind: ...
47
- @winrt_mixinmethod
48
- def put_InputKind(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions, value: win32more.Microsoft.Windows.AI.Text.InputKind) -> Void: ...
49
- @winrt_mixinmethod
50
- def get_IncludeMessageCitations(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions) -> Boolean: ...
51
- @winrt_mixinmethod
52
- def put_IncludeMessageCitations(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions, value: Boolean) -> Void: ...
53
- @winrt_mixinmethod
54
- def get_IncludeParticipantAttribution(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions) -> Boolean: ...
55
- @winrt_mixinmethod
56
- def put_IncludeParticipantAttribution(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions, value: Boolean) -> Void: ...
57
- @winrt_mixinmethod
58
- def get_MaxKeyPoints(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions) -> UInt32: ...
59
- @winrt_mixinmethod
60
- def put_MaxKeyPoints(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions, value: UInt32) -> Void: ...
61
- @winrt_mixinmethod
62
- def get_Language(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions) -> WinRT_String: ...
63
- @winrt_mixinmethod
64
- def put_Language(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions, value: WinRT_String) -> Void: ...
65
- IncludeMessageCitations = property(get_IncludeMessageCitations, put_IncludeMessageCitations)
66
- IncludeParticipantAttribution = property(get_IncludeParticipantAttribution, put_IncludeParticipantAttribution)
67
- InputKind = property(get_InputKind, put_InputKind)
68
- Language = property(get_Language, put_Language)
69
- MaxKeyPoints = property(get_MaxKeyPoints, put_MaxKeyPoints)
70
- class IConversationItem(ComPtr):
71
- extends: IInspectable
72
- _classid_ = 'Microsoft.Windows.AI.Text.IConversationItem'
73
- _iid_ = Guid('{957b0b85-4d7e-5788-baae-af7cf256bb8e}')
74
- @winrt_commethod(6)
75
- def get_Participant(self) -> WinRT_String: ...
76
- @winrt_commethod(7)
77
- def put_Participant(self, value: WinRT_String) -> Void: ...
78
- @winrt_commethod(8)
79
- def get_Message(self) -> WinRT_String: ...
80
- @winrt_commethod(9)
81
- def put_Message(self, value: WinRT_String) -> Void: ...
82
- Message = property(get_Message, put_Message)
83
- Participant = property(get_Participant, put_Participant)
84
- class IConversationSummaryOptions(ComPtr):
85
- extends: IInspectable
86
- _classid_ = 'Microsoft.Windows.AI.Text.IConversationSummaryOptions'
87
- _iid_ = Guid('{360bce9f-fd14-5d0e-bd24-fd78ed3038e6}')
88
- @winrt_commethod(6)
89
- def get_InputKind(self) -> win32more.Microsoft.Windows.AI.Text.InputKind: ...
90
- @winrt_commethod(7)
91
- def put_InputKind(self, value: win32more.Microsoft.Windows.AI.Text.InputKind) -> Void: ...
92
- @winrt_commethod(8)
93
- def get_IncludeMessageCitations(self) -> Boolean: ...
94
- @winrt_commethod(9)
95
- def put_IncludeMessageCitations(self, value: Boolean) -> Void: ...
96
- @winrt_commethod(10)
97
- def get_IncludeParticipantAttribution(self) -> Boolean: ...
98
- @winrt_commethod(11)
99
- def put_IncludeParticipantAttribution(self, value: Boolean) -> Void: ...
100
- @winrt_commethod(12)
101
- def get_MaxKeyPoints(self) -> UInt32: ...
102
- @winrt_commethod(13)
103
- def put_MaxKeyPoints(self, value: UInt32) -> Void: ...
104
- @winrt_commethod(14)
105
- def get_Language(self) -> WinRT_String: ...
106
- @winrt_commethod(15)
107
- def put_Language(self, value: WinRT_String) -> Void: ...
108
- IncludeMessageCitations = property(get_IncludeMessageCitations, put_IncludeMessageCitations)
109
- IncludeParticipantAttribution = property(get_IncludeParticipantAttribution, put_IncludeParticipantAttribution)
110
- InputKind = property(get_InputKind, put_InputKind)
111
- Language = property(get_Language, put_Language)
112
- MaxKeyPoints = property(get_MaxKeyPoints, put_MaxKeyPoints)
113
- class ILanguageModel(ComPtr):
114
- extends: IInspectable
115
- _classid_ = 'Microsoft.Windows.AI.Text.ILanguageModel'
116
- _iid_ = Guid('{6331c629-8c86-5bfe-8c4e-9ca5573cc14b}')
117
- class ILanguageModel2(ComPtr):
118
- extends: IInspectable
119
- _classid_ = 'Microsoft.Windows.AI.Text.ILanguageModel2'
120
- _iid_ = Guid('{653b714e-f9b3-51cb-954f-5ea58f63ab89}')
121
- @winrt_commethod(6)
122
- def GenerateResponseAsync(self, prompt: WinRT_String) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
123
- @winrt_commethod(7)
124
- def GenerateResponseAsync2(self, prompt: WinRT_String, options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
125
- @winrt_commethod(8)
126
- def GenerateResponseAsync3(self, context: win32more.Microsoft.Windows.AI.Text.LanguageModelContext, prompt: WinRT_String, options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
127
- @winrt_commethod(9)
128
- def GenerateResponseFromEmbeddingsAsync(self, promptEmbedding: win32more.Windows.Foundation.Collections.IIterable[win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector]) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
129
- @winrt_commethod(10)
130
- def GenerateResponseFromEmbeddingsAsync2(self, promptEmbedding: win32more.Windows.Foundation.Collections.IIterable[win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector], options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
131
- @winrt_commethod(11)
132
- def GenerateResponseFromEmbeddingsAsync3(self, context: win32more.Microsoft.Windows.AI.Text.LanguageModelContext, promptEmbedding: win32more.Windows.Foundation.Collections.IIterable[win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector], options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
133
- @winrt_commethod(12)
134
- def GenerateEmbeddingVectors(self, prompt: WinRT_String) -> win32more.Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult: ...
135
- @winrt_commethod(13)
136
- def GenerateEmbeddingVectors2(self, prompt: WinRT_String, contentFilterOptions: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> win32more.Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult: ...
137
- @winrt_commethod(14)
138
- def GetUsablePromptLength(self, prompt: WinRT_String) -> UInt64: ...
139
- @winrt_commethod(15)
140
- def GetUsablePromptLength2(self, context: win32more.Microsoft.Windows.AI.Text.LanguageModelContext, prompt: WinRT_String) -> UInt64: ...
141
- @winrt_commethod(16)
142
- def GetVectorSpaceId(self) -> Guid: ...
143
- @winrt_commethod(17)
144
- def CreateContext(self) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
145
- @winrt_commethod(18)
146
- def CreateContext2(self, systemPrompt: WinRT_String) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
147
- @winrt_commethod(19)
148
- def CreateContext3(self, systemPrompt: WinRT_String, contentFilterOptions: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
149
- class ILanguageModelContext(ComPtr):
150
- extends: IInspectable
151
- _classid_ = 'Microsoft.Windows.AI.Text.ILanguageModelContext'
152
- _iid_ = Guid('{518b305c-7b69-5a33-8129-d47d6b8eec4e}')
153
- class ILanguageModelEmbeddingVectorResult(ComPtr):
154
- extends: IInspectable
155
- _classid_ = 'Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult'
156
- _iid_ = Guid('{4dbdb154-ee3c-56f6-a40b-413e95bd5acb}')
157
- @winrt_commethod(6)
158
- def get_EmbeddingVectors(self) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector]: ...
159
- @winrt_commethod(7)
160
- def get_Status(self) -> win32more.Microsoft.Windows.AI.Text.LanguageModelResponseStatus: ...
161
- @winrt_commethod(8)
162
- def get_ExtendedError(self) -> win32more.Windows.Foundation.HResult: ...
163
- EmbeddingVectors = property(get_EmbeddingVectors, None)
164
- ExtendedError = property(get_ExtendedError, None)
165
- Status = property(get_Status, None)
166
- class ILanguageModelOptions(ComPtr):
167
- extends: IInspectable
168
- _classid_ = 'Microsoft.Windows.AI.Text.ILanguageModelOptions'
169
- _iid_ = Guid('{7f380003-5a09-5f1f-afb0-aa483e3670cc}')
170
- @winrt_commethod(6)
171
- def get_Temperature(self) -> Single: ...
172
- @winrt_commethod(7)
173
- def put_Temperature(self, value: Single) -> Void: ...
174
- @winrt_commethod(8)
175
- def get_TopP(self) -> Single: ...
176
- @winrt_commethod(9)
177
- def put_TopP(self, value: Single) -> Void: ...
178
- @winrt_commethod(10)
179
- def get_TopK(self) -> UInt32: ...
180
- @winrt_commethod(11)
181
- def put_TopK(self, value: UInt32) -> Void: ...
182
- @winrt_commethod(12)
183
- def get_ContentFilterOptions(self) -> win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions: ...
184
- @winrt_commethod(13)
185
- def put_ContentFilterOptions(self, value: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> Void: ...
186
- ContentFilterOptions = property(get_ContentFilterOptions, put_ContentFilterOptions)
187
- Temperature = property(get_Temperature, put_Temperature)
188
- TopK = property(get_TopK, put_TopK)
189
- TopP = property(get_TopP, put_TopP)
190
- class ILanguageModelResponseResult(ComPtr):
191
- extends: IInspectable
192
- _classid_ = 'Microsoft.Windows.AI.Text.ILanguageModelResponseResult'
193
- _iid_ = Guid('{3a256fff-a426-5d3b-8e4b-3ac84162471e}')
194
- @winrt_commethod(6)
195
- def get_Text(self) -> WinRT_String: ...
196
- @winrt_commethod(7)
197
- def get_Status(self) -> win32more.Microsoft.Windows.AI.Text.LanguageModelResponseStatus: ...
198
- @winrt_commethod(8)
199
- def get_ExtendedError(self) -> win32more.Windows.Foundation.HResult: ...
200
- ExtendedError = property(get_ExtendedError, None)
201
- Status = property(get_Status, None)
202
- Text = property(get_Text, None)
203
- class ILanguageModelStatics(ComPtr):
204
- extends: IInspectable
205
- _classid_ = 'Microsoft.Windows.AI.Text.ILanguageModelStatics'
206
- _iid_ = Guid('{8f18f9af-6095-553b-8d9d-6bcc98026546}')
207
- @winrt_commethod(6)
208
- def GetReadyState(self) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
209
- @winrt_commethod(7)
210
- def EnsureReadyAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
211
- @winrt_commethod(8)
212
- def CreateAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Text.LanguageModel]: ...
213
- class ITextRewriter(ComPtr):
214
- extends: IInspectable
215
- _classid_ = 'Microsoft.Windows.AI.Text.ITextRewriter'
216
- _iid_ = Guid('{eb1e7cf0-e110-506c-b0ea-7a288d8e7778}')
217
- @winrt_commethod(6)
218
- def RewriteAsync(self, text: WinRT_String) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
219
- class ITextRewriter2(ComPtr):
220
- extends: IInspectable
221
- _classid_ = 'Microsoft.Windows.AI.Text.ITextRewriter2'
222
- _iid_ = Guid('{7937d261-13ce-5b24-b17c-fe5cd0be23b6}')
223
- @winrt_commethod(6)
224
- def RewriteAsync(self, text: WinRT_String, tone: win32more.Microsoft.Windows.AI.Text.TextRewriteTone) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
225
- class ITextRewriterFactory(ComPtr):
226
- extends: IInspectable
227
- _classid_ = 'Microsoft.Windows.AI.Text.ITextRewriterFactory'
228
- _iid_ = Guid('{f452e60d-ef50-5bc9-b483-217d5b4e7151}')
229
- @winrt_commethod(6)
230
- def CreateInstance(self, languageModel: win32more.Microsoft.Windows.AI.Text.LanguageModel) -> win32more.Microsoft.Windows.AI.Text.TextRewriter: ...
231
- class ITextSummarizer(ComPtr):
232
- extends: IInspectable
233
- _classid_ = 'Microsoft.Windows.AI.Text.ITextSummarizer'
234
- _iid_ = Guid('{eef548c5-d7bc-50be-a8ab-29e241b78bd1}')
235
- @winrt_commethod(6)
236
- def SummarizeAsync(self, text: WinRT_String) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
237
- @winrt_commethod(7)
238
- def SummarizeParagraphAsync(self, text: WinRT_String) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
239
- class ITextSummarizer2(ComPtr):
240
- extends: IInspectable
241
- _classid_ = 'Microsoft.Windows.AI.Text.ITextSummarizer2'
242
- _iid_ = Guid('{9e20797d-1ff6-5295-8cb6-d48fb8ba483b}')
243
- @winrt_commethod(6)
244
- def SummarizeConversationAsync(self, messages: win32more.Windows.Foundation.Collections.IVectorView[win32more.Microsoft.Windows.AI.Text.ConversationItem], options: win32more.Microsoft.Windows.AI.Text.ConversationSummaryOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
245
- class ITextSummarizer3(ComPtr):
246
- extends: IInspectable
247
- _classid_ = 'Microsoft.Windows.AI.Text.ITextSummarizer3'
248
- _iid_ = Guid('{493d32b9-dbc9-5d4b-802f-90473850500e}')
249
- @winrt_commethod(6)
250
- def IsPromptLargerThanContext(self, messages: PassArray[win32more.Microsoft.Windows.AI.Text.ConversationItem], options: win32more.Microsoft.Windows.AI.Text.ConversationSummaryOptions, cutoffPosition: POINTER(UInt64)) -> Boolean: ...
251
- class ITextSummarizer4(ComPtr):
252
- extends: IInspectable
253
- _classid_ = 'Microsoft.Windows.AI.Text.ITextSummarizer4'
254
- _iid_ = Guid('{5b7a28c0-7777-52e5-9934-b95b514cf535}')
255
- @winrt_commethod(6)
256
- def IsPromptLargerThanContext(self, text: WinRT_String, cutoffPosition: POINTER(UInt64)) -> Boolean: ...
257
- class ITextSummarizerFactory(ComPtr):
258
- extends: IInspectable
259
- _classid_ = 'Microsoft.Windows.AI.Text.ITextSummarizerFactory'
260
- _iid_ = Guid('{b6a75913-4a1e-59e7-856a-ae7ab2383864}')
261
- @winrt_commethod(6)
262
- def CreateInstance(self, languageModel: win32more.Microsoft.Windows.AI.Text.LanguageModel) -> win32more.Microsoft.Windows.AI.Text.TextSummarizer: ...
263
- class ITextToTableConverter(ComPtr):
264
- extends: IInspectable
265
- _classid_ = 'Microsoft.Windows.AI.Text.ITextToTableConverter'
266
- _iid_ = Guid('{a008d9ad-25ce-5a6b-9ceb-d8e95d04e10b}')
267
- @winrt_commethod(6)
268
- def ConvertAsync(self, text: WinRT_String) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.TextToTableResponseResult, WinRT_String]: ...
269
- class ITextToTableConverterFactory(ComPtr):
270
- extends: IInspectable
271
- _classid_ = 'Microsoft.Windows.AI.Text.ITextToTableConverterFactory'
272
- _iid_ = Guid('{bb84cbb5-19c8-5857-b65d-705aa1486404}')
273
- @winrt_commethod(6)
274
- def CreateInstance(self, languageModel: win32more.Microsoft.Windows.AI.Text.LanguageModel) -> win32more.Microsoft.Windows.AI.Text.TextToTableConverter: ...
275
- class ITextToTableResponseResult(ComPtr):
276
- extends: IInspectable
277
- _classid_ = 'Microsoft.Windows.AI.Text.ITextToTableResponseResult'
278
- _iid_ = Guid('{391fbf11-59cd-575d-834a-9ef823116f98}')
279
- @winrt_commethod(6)
280
- def GetRows(self) -> ReceiveArray[win32more.Microsoft.Windows.AI.Text.TextToTableRow]: ...
281
- @winrt_commethod(7)
282
- def get_Status(self) -> win32more.Microsoft.Windows.AI.Text.LanguageModelResponseStatus: ...
283
- @winrt_commethod(8)
284
- def get_ExtendedError(self) -> win32more.Windows.Foundation.HResult: ...
285
- ExtendedError = property(get_ExtendedError, None)
286
- Status = property(get_Status, None)
287
- class ITextToTableRow(ComPtr):
288
- extends: IInspectable
289
- _classid_ = 'Microsoft.Windows.AI.Text.ITextToTableRow'
290
- _iid_ = Guid('{036294fe-e53c-5e66-93d2-7c92338db881}')
291
- @winrt_commethod(6)
292
- def GetColumns(self) -> ReceiveArray[WinRT_String]: ...
293
- class InputKind(Enum, Int32):
294
- GeneralConversation = 0
295
- Email = 1
296
- class LanguageModel(ComPtr):
297
- extends: IInspectable
298
- implements: Tuple[ContextManagerProtocol]
299
- default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModel
300
- _classid_ = 'Microsoft.Windows.AI.Text.LanguageModel'
301
- @winrt_mixinmethod
302
- def GenerateResponseAsync(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: WinRT_String) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
303
- @winrt_mixinmethod
304
- def GenerateResponseAsync2(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: WinRT_String, options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
305
- @winrt_mixinmethod
306
- def GenerateResponseAsync3(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, context: win32more.Microsoft.Windows.AI.Text.LanguageModelContext, prompt: WinRT_String, options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
307
- @winrt_mixinmethod
308
- def GenerateResponseFromEmbeddingsAsync(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, promptEmbedding: win32more.Windows.Foundation.Collections.IIterable[win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector]) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
309
- @winrt_mixinmethod
310
- def GenerateResponseFromEmbeddingsAsync2(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, promptEmbedding: win32more.Windows.Foundation.Collections.IIterable[win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector], options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
311
- @winrt_mixinmethod
312
- def GenerateResponseFromEmbeddingsAsync3(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, context: win32more.Microsoft.Windows.AI.Text.LanguageModelContext, promptEmbedding: win32more.Windows.Foundation.Collections.IIterable[win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector], options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
313
- @winrt_mixinmethod
314
- def GenerateEmbeddingVectors(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: WinRT_String) -> win32more.Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult: ...
315
- @winrt_mixinmethod
316
- def GenerateEmbeddingVectors2(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: WinRT_String, contentFilterOptions: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> win32more.Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult: ...
317
- @winrt_mixinmethod
318
- def GetUsablePromptLength(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: WinRT_String) -> UInt64: ...
319
- @winrt_mixinmethod
320
- def GetUsablePromptLength2(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, context: win32more.Microsoft.Windows.AI.Text.LanguageModelContext, prompt: WinRT_String) -> UInt64: ...
321
- @winrt_mixinmethod
322
- def GetVectorSpaceId(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2) -> Guid: ...
323
- @winrt_mixinmethod
324
- def CreateContext(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
325
- @winrt_mixinmethod
326
- def CreateContext2(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, systemPrompt: WinRT_String) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
327
- @winrt_mixinmethod
328
- def CreateContext3(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, systemPrompt: WinRT_String, contentFilterOptions: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
329
- @winrt_mixinmethod
330
- def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
331
- @winrt_classmethod
332
- def GetReadyState(cls: win32more.Microsoft.Windows.AI.Text.ILanguageModelStatics) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
333
- @winrt_classmethod
334
- def EnsureReadyAsync(cls: win32more.Microsoft.Windows.AI.Text.ILanguageModelStatics) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
335
- @winrt_classmethod
336
- def CreateAsync(cls: win32more.Microsoft.Windows.AI.Text.ILanguageModelStatics) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Text.LanguageModel]: ...
337
- class LanguageModelContext(ComPtr):
338
- extends: IInspectable
339
- implements: Tuple[ContextManagerProtocol]
340
- default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModelContext
341
- _classid_ = 'Microsoft.Windows.AI.Text.LanguageModelContext'
342
- @winrt_mixinmethod
343
- def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
344
- LanguageModelContract: UInt32 = 131072
345
- class LanguageModelEmbeddingVectorResult(ComPtr):
346
- extends: IInspectable
347
- default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult
348
- _classid_ = 'Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult'
349
- @winrt_mixinmethod
350
- def get_EmbeddingVectors(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector]: ...
351
- @winrt_mixinmethod
352
- def get_Status(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult) -> win32more.Microsoft.Windows.AI.Text.LanguageModelResponseStatus: ...
353
- @winrt_mixinmethod
354
- def get_ExtendedError(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult) -> win32more.Windows.Foundation.HResult: ...
355
- EmbeddingVectors = property(get_EmbeddingVectors, None)
356
- ExtendedError = property(get_ExtendedError, None)
357
- Status = property(get_Status, None)
358
- class LanguageModelOptions(ComPtr):
359
- extends: IInspectable
360
- default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions
361
- _classid_ = 'Microsoft.Windows.AI.Text.LanguageModelOptions'
362
- def __init__(self, *args, **kwargs):
363
- if kwargs:
364
- super().__init__(**kwargs)
365
- elif len(args) == 0:
366
- super().__init__(move=win32more.Microsoft.Windows.AI.Text.LanguageModelOptions.CreateInstance(*args))
367
- else:
368
- raise ValueError('no matched constructor')
369
- @winrt_activatemethod
370
- def CreateInstance(cls) -> win32more.Microsoft.Windows.AI.Text.LanguageModelOptions: ...
371
- @winrt_mixinmethod
372
- def get_Temperature(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions) -> Single: ...
373
- @winrt_mixinmethod
374
- def put_Temperature(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions, value: Single) -> Void: ...
375
- @winrt_mixinmethod
376
- def get_TopP(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions) -> Single: ...
377
- @winrt_mixinmethod
378
- def put_TopP(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions, value: Single) -> Void: ...
379
- @winrt_mixinmethod
380
- def get_TopK(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions) -> UInt32: ...
381
- @winrt_mixinmethod
382
- def put_TopK(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions, value: UInt32) -> Void: ...
383
- @winrt_mixinmethod
384
- def get_ContentFilterOptions(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions) -> win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions: ...
385
- @winrt_mixinmethod
386
- def put_ContentFilterOptions(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions, value: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> Void: ...
387
- ContentFilterOptions = property(get_ContentFilterOptions, put_ContentFilterOptions)
388
- Temperature = property(get_Temperature, put_Temperature)
389
- TopK = property(get_TopK, put_TopK)
390
- TopP = property(get_TopP, put_TopP)
391
- class LanguageModelResponseResult(ComPtr):
392
- extends: IInspectable
393
- default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModelResponseResult
394
- _classid_ = 'Microsoft.Windows.AI.Text.LanguageModelResponseResult'
395
- @winrt_mixinmethod
396
- def get_Text(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelResponseResult) -> WinRT_String: ...
397
- @winrt_mixinmethod
398
- def get_Status(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelResponseResult) -> win32more.Microsoft.Windows.AI.Text.LanguageModelResponseStatus: ...
399
- @winrt_mixinmethod
400
- def get_ExtendedError(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelResponseResult) -> win32more.Windows.Foundation.HResult: ...
401
- ExtendedError = property(get_ExtendedError, None)
402
- Status = property(get_Status, None)
403
- Text = property(get_Text, None)
404
- class LanguageModelResponseStatus(Enum, Int32):
405
- Complete = 0
406
- InProgress = 1
407
- BlockedByPolicy = 2
408
- PromptLargerThanContext = 3
409
- PromptBlockedByContentModeration = 4
410
- ResponseBlockedByContentModeration = 5
411
- Error = 6
412
- TextIntelligenceContract: UInt32 = 393216
413
- class TextRewriteTone(Enum, Int32):
414
- Default = 0
415
- General = 1
416
- Casual = 2
417
- Concise = 3
418
- Formal = 4
419
- class TextRewriter(ComPtr):
420
- extends: IInspectable
421
- default_interface: win32more.Microsoft.Windows.AI.Text.ITextRewriter
422
- _classid_ = 'Microsoft.Windows.AI.Text.TextRewriter'
423
- def __init__(self, *args, **kwargs):
424
- if kwargs:
425
- super().__init__(**kwargs)
426
- elif len(args) == 1:
427
- super().__init__(move=win32more.Microsoft.Windows.AI.Text.TextRewriter.CreateInstance(*args))
428
- else:
429
- raise ValueError('no matched constructor')
430
- @winrt_factorymethod
431
- def CreateInstance(cls: win32more.Microsoft.Windows.AI.Text.ITextRewriterFactory, languageModel: win32more.Microsoft.Windows.AI.Text.LanguageModel) -> win32more.Microsoft.Windows.AI.Text.TextRewriter: ...
432
- @winrt_overload
433
- @winrt_mixinmethod
434
- def RewriteAsync(self: win32more.Microsoft.Windows.AI.Text.ITextRewriter, text: WinRT_String) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
435
- @RewriteAsync.register
436
- @winrt_mixinmethod
437
- def RewriteAsync(self: win32more.Microsoft.Windows.AI.Text.ITextRewriter2, text: WinRT_String, tone: win32more.Microsoft.Windows.AI.Text.TextRewriteTone) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
438
- class TextSummarizer(ComPtr):
439
- extends: IInspectable
440
- default_interface: win32more.Microsoft.Windows.AI.Text.ITextSummarizer
441
- _classid_ = 'Microsoft.Windows.AI.Text.TextSummarizer'
442
- def __init__(self, *args, **kwargs):
443
- if kwargs:
444
- super().__init__(**kwargs)
445
- elif len(args) == 1:
446
- super().__init__(move=win32more.Microsoft.Windows.AI.Text.TextSummarizer.CreateInstance(*args))
447
- else:
448
- raise ValueError('no matched constructor')
449
- @winrt_factorymethod
450
- def CreateInstance(cls: win32more.Microsoft.Windows.AI.Text.ITextSummarizerFactory, languageModel: win32more.Microsoft.Windows.AI.Text.LanguageModel) -> win32more.Microsoft.Windows.AI.Text.TextSummarizer: ...
451
- @winrt_mixinmethod
452
- def SummarizeAsync(self: win32more.Microsoft.Windows.AI.Text.ITextSummarizer, text: WinRT_String) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
453
- @winrt_mixinmethod
454
- def SummarizeParagraphAsync(self: win32more.Microsoft.Windows.AI.Text.ITextSummarizer, text: WinRT_String) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
455
- @winrt_mixinmethod
456
- def SummarizeConversationAsync(self: win32more.Microsoft.Windows.AI.Text.ITextSummarizer2, messages: win32more.Windows.Foundation.Collections.IVectorView[win32more.Microsoft.Windows.AI.Text.ConversationItem], options: win32more.Microsoft.Windows.AI.Text.ConversationSummaryOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, WinRT_String]: ...
457
- @winrt_overload
458
- @winrt_mixinmethod
459
- def IsPromptLargerThanContext(self: win32more.Microsoft.Windows.AI.Text.ITextSummarizer3, messages: PassArray[win32more.Microsoft.Windows.AI.Text.ConversationItem], options: win32more.Microsoft.Windows.AI.Text.ConversationSummaryOptions, cutoffPosition: POINTER(UInt64)) -> Boolean: ...
460
- @IsPromptLargerThanContext.register
461
- @winrt_mixinmethod
462
- def IsPromptLargerThanContext(self: win32more.Microsoft.Windows.AI.Text.ITextSummarizer4, text: WinRT_String, cutoffPosition: POINTER(UInt64)) -> Boolean: ...
463
- class TextToTableConverter(ComPtr):
464
- extends: IInspectable
465
- default_interface: win32more.Microsoft.Windows.AI.Text.ITextToTableConverter
466
- _classid_ = 'Microsoft.Windows.AI.Text.TextToTableConverter'
467
- def __init__(self, *args, **kwargs):
468
- if kwargs:
469
- super().__init__(**kwargs)
470
- elif len(args) == 1:
471
- super().__init__(move=win32more.Microsoft.Windows.AI.Text.TextToTableConverter.CreateInstance(*args))
472
- else:
473
- raise ValueError('no matched constructor')
474
- @winrt_factorymethod
475
- def CreateInstance(cls: win32more.Microsoft.Windows.AI.Text.ITextToTableConverterFactory, languageModel: win32more.Microsoft.Windows.AI.Text.LanguageModel) -> win32more.Microsoft.Windows.AI.Text.TextToTableConverter: ...
476
- @winrt_mixinmethod
477
- def ConvertAsync(self: win32more.Microsoft.Windows.AI.Text.ITextToTableConverter, text: WinRT_String) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.TextToTableResponseResult, WinRT_String]: ...
478
- class TextToTableResponseResult(ComPtr):
479
- extends: IInspectable
480
- default_interface: win32more.Microsoft.Windows.AI.Text.ITextToTableResponseResult
481
- _classid_ = 'Microsoft.Windows.AI.Text.TextToTableResponseResult'
482
- @winrt_mixinmethod
483
- def GetRows(self: win32more.Microsoft.Windows.AI.Text.ITextToTableResponseResult) -> ReceiveArray[win32more.Microsoft.Windows.AI.Text.TextToTableRow]: ...
484
- @winrt_mixinmethod
485
- def get_Status(self: win32more.Microsoft.Windows.AI.Text.ITextToTableResponseResult) -> win32more.Microsoft.Windows.AI.Text.LanguageModelResponseStatus: ...
486
- @winrt_mixinmethod
487
- def get_ExtendedError(self: win32more.Microsoft.Windows.AI.Text.ITextToTableResponseResult) -> win32more.Windows.Foundation.HResult: ...
488
- ExtendedError = property(get_ExtendedError, None)
489
- Status = property(get_Status, None)
490
- class TextToTableRow(ComPtr):
491
- extends: IInspectable
492
- default_interface: win32more.Microsoft.Windows.AI.Text.ITextToTableRow
493
- _classid_ = 'Microsoft.Windows.AI.Text.TextToTableRow'
494
- @winrt_mixinmethod
495
- def GetColumns(self: win32more.Microsoft.Windows.AI.Text.ITextToTableRow) -> ReceiveArray[WinRT_String]: ...
496
-
497
-
498
- make_ready(__name__)