win32more-Microsoft.WindowsAppSDK 0.7.1.6.250430001__py2.py3-none-any.whl → 0.8.1.8.251003001__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.
Files changed (74) hide show
  1. win32more/Microsoft/Foundation/__init__.py +1 -1
  2. win32more/Microsoft/Graphics/DirectX/__init__.py +4 -0
  3. win32more/Microsoft/Graphics/Display/__init__.py +2 -0
  4. win32more/Microsoft/Graphics/Imaging/__init__.py +78 -0
  5. win32more/Microsoft/Security/Authentication/OAuth/__init__.py +593 -0
  6. win32more/Microsoft/UI/Composition/Core/__init__.py +4 -4
  7. win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +5 -4
  8. win32more/Microsoft/UI/Composition/Effects/__init__.py +11 -10
  9. win32more/Microsoft/UI/Composition/Interactions/__init__.py +100 -93
  10. win32more/Microsoft/UI/Composition/Scenes/__init__.py +82 -78
  11. win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +46 -42
  12. win32more/Microsoft/UI/Composition/__init__.py +146 -125
  13. win32more/Microsoft/UI/Content/__init__.py +677 -32
  14. win32more/Microsoft/UI/Dispatching/__init__.py +6 -4
  15. win32more/Microsoft/UI/Input/DragDrop/__init__.py +11 -9
  16. win32more/Microsoft/UI/Input/__init__.py +88 -66
  17. win32more/Microsoft/UI/Text/__init__.py +46 -0
  18. win32more/Microsoft/UI/Windowing/__init__.py +112 -21
  19. win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +12 -0
  20. win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +2 -0
  21. win32more/Microsoft/UI/Xaml/Automation/__init__.py +21 -0
  22. win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +19 -0
  23. win32more/Microsoft/UI/Xaml/Controls/__init__.py +369 -0
  24. win32more/Microsoft/UI/Xaml/Data/__init__.py +3 -0
  25. win32more/Microsoft/UI/Xaml/Documents/__init__.py +2 -0
  26. win32more/Microsoft/UI/Xaml/Hosting/__init__.py +1 -0
  27. win32more/Microsoft/UI/Xaml/Input/__init__.py +11 -0
  28. win32more/Microsoft/UI/Xaml/Interop/__init__.py +1 -0
  29. win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +6 -0
  30. win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +3 -0
  31. win32more/Microsoft/UI/Xaml/Media/__init__.py +14 -0
  32. win32more/Microsoft/UI/Xaml/Navigation/__init__.py +2 -0
  33. win32more/Microsoft/UI/Xaml/Printing/__init__.py +1 -0
  34. win32more/Microsoft/UI/Xaml/__init__.py +101 -2
  35. win32more/Microsoft/Windows/AI/ContentSafety/__init__.py +198 -0
  36. win32more/Microsoft/Windows/AI/Foundation/__init__.py +46 -0
  37. win32more/Microsoft/Windows/AI/Imaging/__init__.py +369 -0
  38. win32more/Microsoft/Windows/AI/MachineLearning/__init__.py +125 -0
  39. win32more/Microsoft/Windows/AI/Text/__init__.py +501 -0
  40. win32more/Microsoft/Windows/AI/__init__.py +51 -0
  41. win32more/Microsoft/Windows/AppLifecycle/__init__.py +1 -0
  42. win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +7 -1
  43. win32more/Microsoft/Windows/AppNotifications/__init__.py +4 -1
  44. win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +27 -0
  45. win32more/Microsoft/Windows/ApplicationModel/Background/__init__.py +65 -0
  46. win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +2 -0
  47. win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +1 -0
  48. win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +120 -0
  49. win32more/Microsoft/Windows/BadgeNotifications/__init__.py +54 -0
  50. win32more/Microsoft/Windows/Foundation/__init__.py +221 -0
  51. win32more/Microsoft/Windows/Management/Deployment/__init__.py +5 -0
  52. win32more/Microsoft/Windows/Media/Capture/__init__.py +201 -0
  53. win32more/Microsoft/Windows/PushNotifications/__init__.py +1 -0
  54. win32more/Microsoft/Windows/Storage/Pickers/__init__.py +260 -0
  55. win32more/Microsoft/Windows/Storage/__init__.py +2 -0
  56. win32more/Microsoft/Windows/System/Power/__init__.py +8 -0
  57. win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +8 -0
  58. win32more/Microsoft/Windows/Widgets/Notifications/__init__.py +2 -0
  59. win32more/Microsoft/Windows/Widgets/Providers/__init__.py +24 -0
  60. win32more/Microsoft/Windows/Widgets/__init__.py +2 -1
  61. win32more/Microsoft/Windows/Workloads/__init__.py +12 -0
  62. win32more/appsdk/versioninfo.py +2 -2
  63. win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  64. win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  65. win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  66. win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  67. win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  68. win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  69. win32more_microsoft_windowsappsdk-0.8.1.8.251003001.dist-info/METADATA +6 -0
  70. win32more_microsoft_windowsappsdk-0.8.1.8.251003001.dist-info/RECORD +85 -0
  71. {win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info → win32more_microsoft_windowsappsdk-0.8.1.8.251003001.dist-info}/WHEEL +1 -1
  72. {win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info → win32more_microsoft_windowsappsdk-0.8.1.8.251003001.dist-info}/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +5 -3
  73. win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info/METADATA +0 -6
  74. win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info/RECORD +0 -67
@@ -0,0 +1,125 @@
1
+ from __future__ import annotations
2
+ from win32more._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) -> hstr: ...
13
+ @winrt_mixinmethod
14
+ def get_LibraryPath(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProvider) -> hstr: ...
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
+ _name_ = 'Microsoft.Windows.AI.MachineLearning.ExecutionProviderCertification'
44
+ Unknown = 0
45
+ Certified = 1
46
+ Uncertified = 2
47
+ class ExecutionProviderReadyResult(ComPtr):
48
+ extends: IInspectable
49
+ default_interface: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderReadyResult
50
+ _classid_ = 'Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyResult'
51
+ @winrt_mixinmethod
52
+ def get_Status(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderReadyResult) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyResultState: ...
53
+ @winrt_mixinmethod
54
+ def get_ExtendedError(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderReadyResult) -> win32more.Windows.Foundation.HResult: ...
55
+ @winrt_mixinmethod
56
+ def get_DiagnosticText(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderReadyResult) -> hstr: ...
57
+ DiagnosticText = property(get_DiagnosticText, None)
58
+ ExtendedError = property(get_ExtendedError, None)
59
+ Status = property(get_Status, None)
60
+ class ExecutionProviderReadyResultState(Enum, Int32):
61
+ _name_ = 'Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyResultState'
62
+ InProgress = 0
63
+ Success = 1
64
+ Failure = 2
65
+ class ExecutionProviderReadyState(Enum, Int32):
66
+ _name_ = 'Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyState'
67
+ Ready = 0
68
+ NotReady = 1
69
+ NotPresent = 2
70
+ class IExecutionProvider(ComPtr):
71
+ extends: IInspectable
72
+ _classid_ = 'Microsoft.Windows.AI.MachineLearning.IExecutionProvider'
73
+ _iid_ = Guid('{98356468-cf23-504f-b29c-9347781925ff}')
74
+ @winrt_commethod(6)
75
+ def get_Name(self) -> hstr: ...
76
+ @winrt_commethod(7)
77
+ def get_LibraryPath(self) -> hstr: ...
78
+ @winrt_commethod(8)
79
+ def get_PackageId(self) -> win32more.Windows.ApplicationModel.PackageId: ...
80
+ @winrt_commethod(9)
81
+ def get_ReadyState(self) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyState: ...
82
+ @winrt_commethod(10)
83
+ def get_Certification(self) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderCertification: ...
84
+ @winrt_commethod(11)
85
+ def EnsureReadyAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyResult, Double]: ...
86
+ @winrt_commethod(12)
87
+ def TryRegister(self) -> Boolean: ...
88
+ Certification = property(get_Certification, None)
89
+ LibraryPath = property(get_LibraryPath, None)
90
+ Name = property(get_Name, None)
91
+ PackageId = property(get_PackageId, None)
92
+ ReadyState = property(get_ReadyState, None)
93
+ class IExecutionProviderCatalog(ComPtr):
94
+ extends: IInspectable
95
+ _classid_ = 'Microsoft.Windows.AI.MachineLearning.IExecutionProviderCatalog'
96
+ _iid_ = Guid('{aa9bfe14-2222-5921-8002-4d2a205ea03c}')
97
+ @winrt_commethod(6)
98
+ def FindAllProviders(self) -> ReceiveArray[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProvider]: ...
99
+ @winrt_commethod(7)
100
+ def EnsureAndRegisterCertifiedAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProvider], Double]: ...
101
+ @winrt_commethod(8)
102
+ def RegisterCertifiedAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProvider], Double]: ...
103
+ class IExecutionProviderCatalogStatics(ComPtr):
104
+ extends: IInspectable
105
+ _classid_ = 'Microsoft.Windows.AI.MachineLearning.IExecutionProviderCatalogStatics'
106
+ _iid_ = Guid('{550def98-2611-5433-afb8-43673b610848}')
107
+ @winrt_commethod(6)
108
+ def GetDefault(self) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderCatalog: ...
109
+ class IExecutionProviderReadyResult(ComPtr):
110
+ extends: IInspectable
111
+ _classid_ = 'Microsoft.Windows.AI.MachineLearning.IExecutionProviderReadyResult'
112
+ _iid_ = Guid('{91c1724d-93c7-5284-adbe-ba2bd7be7c79}')
113
+ @winrt_commethod(6)
114
+ def get_Status(self) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyResultState: ...
115
+ @winrt_commethod(7)
116
+ def get_ExtendedError(self) -> win32more.Windows.Foundation.HResult: ...
117
+ @winrt_commethod(8)
118
+ def get_DiagnosticText(self) -> hstr: ...
119
+ DiagnosticText = property(get_DiagnosticText, None)
120
+ ExtendedError = property(get_ExtendedError, None)
121
+ Status = property(get_Status, None)
122
+ MachineLearningContract: UInt32 = 131072
123
+
124
+
125
+ make_ready(__name__)
@@ -0,0 +1,501 @@
1
+ from __future__ import annotations
2
+ from win32more._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) -> hstr: ...
24
+ @winrt_mixinmethod
25
+ def put_Participant(self: win32more.Microsoft.Windows.AI.Text.IConversationItem, value: hstr) -> Void: ...
26
+ @winrt_mixinmethod
27
+ def get_Message(self: win32more.Microsoft.Windows.AI.Text.IConversationItem) -> hstr: ...
28
+ @winrt_mixinmethod
29
+ def put_Message(self: win32more.Microsoft.Windows.AI.Text.IConversationItem, value: hstr) -> 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) -> hstr: ...
63
+ @winrt_mixinmethod
64
+ def put_Language(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions, value: hstr) -> 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) -> hstr: ...
76
+ @winrt_commethod(7)
77
+ def put_Participant(self, value: hstr) -> Void: ...
78
+ @winrt_commethod(8)
79
+ def get_Message(self) -> hstr: ...
80
+ @winrt_commethod(9)
81
+ def put_Message(self, value: hstr) -> 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) -> hstr: ...
106
+ @winrt_commethod(15)
107
+ def put_Language(self, value: hstr) -> 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: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
123
+ @winrt_commethod(7)
124
+ def GenerateResponseAsync2(self, prompt: hstr, options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
125
+ @winrt_commethod(8)
126
+ def GenerateResponseAsync3(self, context: win32more.Microsoft.Windows.AI.Text.LanguageModelContext, prompt: hstr, options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
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, hstr]: ...
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, hstr]: ...
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, hstr]: ...
133
+ @winrt_commethod(12)
134
+ def GenerateEmbeddingVectors(self, prompt: hstr) -> win32more.Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult: ...
135
+ @winrt_commethod(13)
136
+ def GenerateEmbeddingVectors2(self, prompt: hstr, contentFilterOptions: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> win32more.Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult: ...
137
+ @winrt_commethod(14)
138
+ def GetUsablePromptLength(self, prompt: hstr) -> UInt64: ...
139
+ @winrt_commethod(15)
140
+ def GetUsablePromptLength2(self, context: win32more.Microsoft.Windows.AI.Text.LanguageModelContext, prompt: hstr) -> 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: hstr) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
147
+ @winrt_commethod(19)
148
+ def CreateContext3(self, systemPrompt: hstr, 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) -> hstr: ...
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: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
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: hstr, tone: win32more.Microsoft.Windows.AI.Text.TextRewriteTone) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
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: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
237
+ @winrt_commethod(7)
238
+ def SummarizeParagraphAsync(self, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
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, hstr]: ...
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: hstr, 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: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.TextToTableResponseResult, hstr]: ...
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[hstr]: ...
293
+ class InputKind(Enum, Int32):
294
+ _name_ = 'Microsoft.Windows.AI.Text.InputKind'
295
+ GeneralConversation = 0
296
+ Email = 1
297
+ class LanguageModel(ComPtr):
298
+ extends: IInspectable
299
+ implements: Tuple[ContextManagerProtocol]
300
+ default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModel
301
+ _classid_ = 'Microsoft.Windows.AI.Text.LanguageModel'
302
+ @winrt_mixinmethod
303
+ def GenerateResponseAsync(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
304
+ @winrt_mixinmethod
305
+ def GenerateResponseAsync2(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: hstr, options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
306
+ @winrt_mixinmethod
307
+ def GenerateResponseAsync3(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, context: win32more.Microsoft.Windows.AI.Text.LanguageModelContext, prompt: hstr, options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
308
+ @winrt_mixinmethod
309
+ 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, hstr]: ...
310
+ @winrt_mixinmethod
311
+ 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, hstr]: ...
312
+ @winrt_mixinmethod
313
+ 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, hstr]: ...
314
+ @winrt_mixinmethod
315
+ def GenerateEmbeddingVectors(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: hstr) -> win32more.Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult: ...
316
+ @winrt_mixinmethod
317
+ def GenerateEmbeddingVectors2(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: hstr, contentFilterOptions: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> win32more.Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult: ...
318
+ @winrt_mixinmethod
319
+ def GetUsablePromptLength(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: hstr) -> UInt64: ...
320
+ @winrt_mixinmethod
321
+ def GetUsablePromptLength2(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, context: win32more.Microsoft.Windows.AI.Text.LanguageModelContext, prompt: hstr) -> UInt64: ...
322
+ @winrt_mixinmethod
323
+ def GetVectorSpaceId(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2) -> Guid: ...
324
+ @winrt_mixinmethod
325
+ def CreateContext(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
326
+ @winrt_mixinmethod
327
+ def CreateContext2(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, systemPrompt: hstr) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
328
+ @winrt_mixinmethod
329
+ def CreateContext3(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, systemPrompt: hstr, contentFilterOptions: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
330
+ @winrt_mixinmethod
331
+ def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
332
+ @winrt_classmethod
333
+ def GetReadyState(cls: win32more.Microsoft.Windows.AI.Text.ILanguageModelStatics) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
334
+ @winrt_classmethod
335
+ def EnsureReadyAsync(cls: win32more.Microsoft.Windows.AI.Text.ILanguageModelStatics) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
336
+ @winrt_classmethod
337
+ def CreateAsync(cls: win32more.Microsoft.Windows.AI.Text.ILanguageModelStatics) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Text.LanguageModel]: ...
338
+ class LanguageModelContext(ComPtr):
339
+ extends: IInspectable
340
+ implements: Tuple[ContextManagerProtocol]
341
+ default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModelContext
342
+ _classid_ = 'Microsoft.Windows.AI.Text.LanguageModelContext'
343
+ @winrt_mixinmethod
344
+ def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
345
+ LanguageModelContract: UInt32 = 131072
346
+ class LanguageModelEmbeddingVectorResult(ComPtr):
347
+ extends: IInspectable
348
+ default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult
349
+ _classid_ = 'Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult'
350
+ @winrt_mixinmethod
351
+ def get_EmbeddingVectors(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector]: ...
352
+ @winrt_mixinmethod
353
+ def get_Status(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult) -> win32more.Microsoft.Windows.AI.Text.LanguageModelResponseStatus: ...
354
+ @winrt_mixinmethod
355
+ def get_ExtendedError(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult) -> win32more.Windows.Foundation.HResult: ...
356
+ EmbeddingVectors = property(get_EmbeddingVectors, None)
357
+ ExtendedError = property(get_ExtendedError, None)
358
+ Status = property(get_Status, None)
359
+ class LanguageModelOptions(ComPtr):
360
+ extends: IInspectable
361
+ default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions
362
+ _classid_ = 'Microsoft.Windows.AI.Text.LanguageModelOptions'
363
+ def __init__(self, *args, **kwargs):
364
+ if kwargs:
365
+ super().__init__(**kwargs)
366
+ elif len(args) == 0:
367
+ super().__init__(move=win32more.Microsoft.Windows.AI.Text.LanguageModelOptions.CreateInstance(*args))
368
+ else:
369
+ raise ValueError('no matched constructor')
370
+ @winrt_activatemethod
371
+ def CreateInstance(cls) -> win32more.Microsoft.Windows.AI.Text.LanguageModelOptions: ...
372
+ @winrt_mixinmethod
373
+ def get_Temperature(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions) -> Single: ...
374
+ @winrt_mixinmethod
375
+ def put_Temperature(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions, value: Single) -> Void: ...
376
+ @winrt_mixinmethod
377
+ def get_TopP(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions) -> Single: ...
378
+ @winrt_mixinmethod
379
+ def put_TopP(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions, value: Single) -> Void: ...
380
+ @winrt_mixinmethod
381
+ def get_TopK(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions) -> UInt32: ...
382
+ @winrt_mixinmethod
383
+ def put_TopK(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions, value: UInt32) -> Void: ...
384
+ @winrt_mixinmethod
385
+ def get_ContentFilterOptions(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions) -> win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions: ...
386
+ @winrt_mixinmethod
387
+ def put_ContentFilterOptions(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions, value: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> Void: ...
388
+ ContentFilterOptions = property(get_ContentFilterOptions, put_ContentFilterOptions)
389
+ Temperature = property(get_Temperature, put_Temperature)
390
+ TopK = property(get_TopK, put_TopK)
391
+ TopP = property(get_TopP, put_TopP)
392
+ class LanguageModelResponseResult(ComPtr):
393
+ extends: IInspectable
394
+ default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModelResponseResult
395
+ _classid_ = 'Microsoft.Windows.AI.Text.LanguageModelResponseResult'
396
+ @winrt_mixinmethod
397
+ def get_Text(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelResponseResult) -> hstr: ...
398
+ @winrt_mixinmethod
399
+ def get_Status(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelResponseResult) -> win32more.Microsoft.Windows.AI.Text.LanguageModelResponseStatus: ...
400
+ @winrt_mixinmethod
401
+ def get_ExtendedError(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelResponseResult) -> win32more.Windows.Foundation.HResult: ...
402
+ ExtendedError = property(get_ExtendedError, None)
403
+ Status = property(get_Status, None)
404
+ Text = property(get_Text, None)
405
+ class LanguageModelResponseStatus(Enum, Int32):
406
+ _name_ = 'Microsoft.Windows.AI.Text.LanguageModelResponseStatus'
407
+ Complete = 0
408
+ InProgress = 1
409
+ BlockedByPolicy = 2
410
+ PromptLargerThanContext = 3
411
+ PromptBlockedByContentModeration = 4
412
+ ResponseBlockedByContentModeration = 5
413
+ Error = 6
414
+ TextIntelligenceContract: UInt32 = 393216
415
+ class TextRewriteTone(Enum, Int32):
416
+ _name_ = 'Microsoft.Windows.AI.Text.TextRewriteTone'
417
+ Default = 0
418
+ General = 1
419
+ Casual = 2
420
+ Concise = 3
421
+ Formal = 4
422
+ class TextRewriter(ComPtr):
423
+ extends: IInspectable
424
+ default_interface: win32more.Microsoft.Windows.AI.Text.ITextRewriter
425
+ _classid_ = 'Microsoft.Windows.AI.Text.TextRewriter'
426
+ def __init__(self, *args, **kwargs):
427
+ if kwargs:
428
+ super().__init__(**kwargs)
429
+ elif len(args) == 1:
430
+ super().__init__(move=win32more.Microsoft.Windows.AI.Text.TextRewriter.CreateInstance(*args))
431
+ else:
432
+ raise ValueError('no matched constructor')
433
+ @winrt_factorymethod
434
+ def CreateInstance(cls: win32more.Microsoft.Windows.AI.Text.ITextRewriterFactory, languageModel: win32more.Microsoft.Windows.AI.Text.LanguageModel) -> win32more.Microsoft.Windows.AI.Text.TextRewriter: ...
435
+ @winrt_overload
436
+ @winrt_mixinmethod
437
+ def RewriteAsync(self: win32more.Microsoft.Windows.AI.Text.ITextRewriter, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
438
+ @RewriteAsync.register
439
+ @winrt_mixinmethod
440
+ def RewriteAsync(self: win32more.Microsoft.Windows.AI.Text.ITextRewriter2, text: hstr, tone: win32more.Microsoft.Windows.AI.Text.TextRewriteTone) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
441
+ class TextSummarizer(ComPtr):
442
+ extends: IInspectable
443
+ default_interface: win32more.Microsoft.Windows.AI.Text.ITextSummarizer
444
+ _classid_ = 'Microsoft.Windows.AI.Text.TextSummarizer'
445
+ def __init__(self, *args, **kwargs):
446
+ if kwargs:
447
+ super().__init__(**kwargs)
448
+ elif len(args) == 1:
449
+ super().__init__(move=win32more.Microsoft.Windows.AI.Text.TextSummarizer.CreateInstance(*args))
450
+ else:
451
+ raise ValueError('no matched constructor')
452
+ @winrt_factorymethod
453
+ def CreateInstance(cls: win32more.Microsoft.Windows.AI.Text.ITextSummarizerFactory, languageModel: win32more.Microsoft.Windows.AI.Text.LanguageModel) -> win32more.Microsoft.Windows.AI.Text.TextSummarizer: ...
454
+ @winrt_mixinmethod
455
+ def SummarizeAsync(self: win32more.Microsoft.Windows.AI.Text.ITextSummarizer, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
456
+ @winrt_mixinmethod
457
+ def SummarizeParagraphAsync(self: win32more.Microsoft.Windows.AI.Text.ITextSummarizer, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
458
+ @winrt_mixinmethod
459
+ 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, hstr]: ...
460
+ @winrt_overload
461
+ @winrt_mixinmethod
462
+ 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: ...
463
+ @IsPromptLargerThanContext.register
464
+ @winrt_mixinmethod
465
+ def IsPromptLargerThanContext(self: win32more.Microsoft.Windows.AI.Text.ITextSummarizer4, text: hstr, cutoffPosition: POINTER(UInt64)) -> Boolean: ...
466
+ class TextToTableConverter(ComPtr):
467
+ extends: IInspectable
468
+ default_interface: win32more.Microsoft.Windows.AI.Text.ITextToTableConverter
469
+ _classid_ = 'Microsoft.Windows.AI.Text.TextToTableConverter'
470
+ def __init__(self, *args, **kwargs):
471
+ if kwargs:
472
+ super().__init__(**kwargs)
473
+ elif len(args) == 1:
474
+ super().__init__(move=win32more.Microsoft.Windows.AI.Text.TextToTableConverter.CreateInstance(*args))
475
+ else:
476
+ raise ValueError('no matched constructor')
477
+ @winrt_factorymethod
478
+ def CreateInstance(cls: win32more.Microsoft.Windows.AI.Text.ITextToTableConverterFactory, languageModel: win32more.Microsoft.Windows.AI.Text.LanguageModel) -> win32more.Microsoft.Windows.AI.Text.TextToTableConverter: ...
479
+ @winrt_mixinmethod
480
+ def ConvertAsync(self: win32more.Microsoft.Windows.AI.Text.ITextToTableConverter, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.TextToTableResponseResult, hstr]: ...
481
+ class TextToTableResponseResult(ComPtr):
482
+ extends: IInspectable
483
+ default_interface: win32more.Microsoft.Windows.AI.Text.ITextToTableResponseResult
484
+ _classid_ = 'Microsoft.Windows.AI.Text.TextToTableResponseResult'
485
+ @winrt_mixinmethod
486
+ def GetRows(self: win32more.Microsoft.Windows.AI.Text.ITextToTableResponseResult) -> ReceiveArray[win32more.Microsoft.Windows.AI.Text.TextToTableRow]: ...
487
+ @winrt_mixinmethod
488
+ def get_Status(self: win32more.Microsoft.Windows.AI.Text.ITextToTableResponseResult) -> win32more.Microsoft.Windows.AI.Text.LanguageModelResponseStatus: ...
489
+ @winrt_mixinmethod
490
+ def get_ExtendedError(self: win32more.Microsoft.Windows.AI.Text.ITextToTableResponseResult) -> win32more.Windows.Foundation.HResult: ...
491
+ ExtendedError = property(get_ExtendedError, None)
492
+ Status = property(get_Status, None)
493
+ class TextToTableRow(ComPtr):
494
+ extends: IInspectable
495
+ default_interface: win32more.Microsoft.Windows.AI.Text.ITextToTableRow
496
+ _classid_ = 'Microsoft.Windows.AI.Text.TextToTableRow'
497
+ @winrt_mixinmethod
498
+ def GetColumns(self: win32more.Microsoft.Windows.AI.Text.ITextToTableRow) -> ReceiveArray[hstr]: ...
499
+
500
+
501
+ make_ready(__name__)