// WARNING: Please don't edit this file. It was generated by C++/WinRT // v2.0.250303.1 #pragma once #ifndef WINRT_Microsoft_Windows_AI_Text_0_H #define WINRT_Microsoft_Windows_AI_Text_0_H WINRT_EXPORT namespace winrt::Microsoft::Windows::AI { enum class AIFeatureReadyState : int32_t; } WINRT_EXPORT namespace winrt::Microsoft::Windows::AI::ContentSafety { struct ContentFilterOptions; } WINRT_EXPORT namespace winrt::Microsoft::Windows::AI::Foundation { struct EmbeddingVector; } WINRT_EXPORT namespace winrt::Windows::Foundation { struct HResult; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct WINRT_IMPL_EMPTY_BASES IIterable; template struct WINRT_IMPL_EMPTY_BASES IVectorView; } WINRT_EXPORT namespace winrt::Microsoft::Windows::AI::Text { enum class InputKind : int32_t { GeneralConversation = 0, Email = 1, }; enum class LanguageModelResponseStatus : int32_t { Complete = 0, InProgress = 1, BlockedByPolicy = 2, PromptLargerThanContext = 3, PromptBlockedByContentModeration = 4, ResponseBlockedByContentModeration = 5, Error = 6, }; enum class TextRewriteTone : int32_t { Default = 0, General = 1, Casual = 2, Concise = 3, Formal = 4, }; struct IConversationItem; struct IConversationSummaryOptions; struct ILanguageModel; struct ILanguageModel2; struct ILanguageModelContext; struct ILanguageModelEmbeddingVectorResult; struct ILanguageModelOptions; struct ILanguageModelResponseResult; struct ILanguageModelStatics; struct ITextRewriter; struct ITextRewriter2; struct ITextRewriter3; struct ITextRewriterFactory; struct ITextSummarizer; struct ITextSummarizer2; struct ITextSummarizer3; struct ITextSummarizer4; struct ITextSummarizerFactory; struct ITextToTableConverter; struct ITextToTableConverterFactory; struct ITextToTableResponseResult; struct ITextToTableRow; struct ConversationItem; struct ConversationSummaryOptions; struct LanguageModel; struct LanguageModelContext; struct LanguageModelEmbeddingVectorResult; struct LanguageModelOptions; struct LanguageModelResponseResult; struct TextRewriter; struct TextSummarizer; struct TextToTableConverter; struct TextToTableResponseResult; struct TextToTableRow; struct LanguageModelContract; struct TextIntelligenceContract; } namespace winrt::impl { template <> struct category { using type = interface_category; }; template <> struct category< winrt::Microsoft::Windows::AI::Text::IConversationSummaryOptions> { using type = interface_category; }; template <> struct category { using type = interface_category; }; template <> struct category { using type = interface_category; }; template <> struct category { using type = interface_category; }; template <> struct category< winrt::Microsoft::Windows::AI::Text::ILanguageModelEmbeddingVectorResult> { using type = interface_category; }; template <> struct category { using type = interface_category; }; template <> struct category< winrt::Microsoft::Windows::AI::Text::ILanguageModelResponseResult> { using type = interface_category; }; template <> struct category { using type = interface_category; }; template <> struct category { using type = interface_category; }; template <> struct category { using type = interface_category; }; template <> struct category { using type = interface_category; }; template <> struct category { using type = interface_category; }; template <> struct category { using type = interface_category; }; template <> struct category { using type = interface_category; }; template <> struct category { using type = interface_category; }; template <> struct category { using type = interface_category; }; template <> struct category { using type = interface_category; }; template <> struct category { using type = interface_category; }; template <> struct category< winrt::Microsoft::Windows::AI::Text::ITextToTableConverterFactory> { using type = interface_category; }; template <> struct category< winrt::Microsoft::Windows::AI::Text::ITextToTableResponseResult> { using type = interface_category; }; template <> struct category { using type = interface_category; }; template <> struct category { using type = class_category; }; template <> struct category< winrt::Microsoft::Windows::AI::Text::ConversationSummaryOptions> { using type = class_category; }; template <> struct category { using type = class_category; }; template <> struct category { using type = class_category; }; template <> struct category< winrt::Microsoft::Windows::AI::Text::LanguageModelEmbeddingVectorResult> { using type = class_category; }; template <> struct category { using type = class_category; }; template <> struct category< winrt::Microsoft::Windows::AI::Text::LanguageModelResponseResult> { using type = class_category; }; template <> struct category { using type = class_category; }; template <> struct category { using type = class_category; }; template <> struct category { using type = class_category; }; template <> struct category< winrt::Microsoft::Windows::AI::Text::TextToTableResponseResult> { using type = class_category; }; template <> struct category { using type = class_category; }; template <> struct category { using type = enum_category; }; template <> struct category< winrt::Microsoft::Windows::AI::Text::LanguageModelResponseStatus> { using type = enum_category; }; template <> struct category { using type = enum_category; }; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ConversationItem"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ConversationSummaryOptions"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.LanguageModel"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.LanguageModelContext"; template <> inline constexpr auto& name_v< winrt::Microsoft::Windows::AI::Text::LanguageModelEmbeddingVectorResult> = L"Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.LanguageModelOptions"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.LanguageModelResponseResult"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.TextRewriter"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.TextSummarizer"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.TextToTableConverter"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.TextToTableResponseResult"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.TextToTableRow"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.InputKind"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.LanguageModelResponseStatus"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.TextRewriteTone"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.IConversationItem"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.IConversationSummaryOptions"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ILanguageModel"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ILanguageModel2"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ILanguageModelContext"; template <> inline constexpr auto& name_v< winrt::Microsoft::Windows::AI::Text::ILanguageModelEmbeddingVectorResult> = L"Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ILanguageModelOptions"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ILanguageModelResponseResult"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ILanguageModelStatics"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ITextRewriter"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ITextRewriter2"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ITextRewriter3"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ITextRewriterFactory"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ITextSummarizer"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ITextSummarizer2"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ITextSummarizer3"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ITextSummarizer4"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ITextSummarizerFactory"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ITextToTableConverter"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ITextToTableConverterFactory"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ITextToTableResponseResult"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.ITextToTableRow"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.LanguageModelContract"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.AI.Text.TextIntelligenceContract"; template <> inline constexpr guid guid_v{ 0x957B0B85, 0x4D7E, 0x5788, {0xBA, 0xAE, 0xAF, 0x7C, 0xF2, 0x56, 0xBB, 0x8E}}; // 957B0B85-4D7E-5788-BAAE-AF7CF256BB8E template <> inline constexpr guid guid_v{ 0x360BCE9F, 0xFD14, 0x5D0E, {0xBD, 0x24, 0xFD, 0x78, 0xED, 0x30, 0x38, 0xE6}}; // 360BCE9F-FD14-5D0E-BD24-FD78ED3038E6 template <> inline constexpr guid guid_v{ 0x6331C629, 0x8C86, 0x5BFE, {0x8C, 0x4E, 0x9C, 0xA5, 0x57, 0x3C, 0xC1, 0x4B}}; // 6331C629-8C86-5BFE-8C4E-9CA5573CC14B template <> inline constexpr guid guid_v{ 0x653B714E, 0xF9B3, 0x51CB, {0x95, 0x4F, 0x5E, 0xA5, 0x8F, 0x63, 0xAB, 0x89}}; // 653B714E-F9B3-51CB-954F-5EA58F63AB89 template <> inline constexpr guid guid_v{ 0x518B305C, 0x7B69, 0x5A33, {0x81, 0x29, 0xD4, 0x7D, 0x6B, 0x8E, 0xEC, 0x4E}}; // 518B305C-7B69-5A33-8129-D47D6B8EEC4E template <> inline constexpr guid guid_v< winrt::Microsoft::Windows::AI::Text::ILanguageModelEmbeddingVectorResult>{ 0x4DBDB154, 0xEE3C, 0x56F6, {0xA4, 0x0B, 0x41, 0x3E, 0x95, 0xBD, 0x5A, 0xCB}}; // 4DBDB154-EE3C-56F6-A40B-413E95BD5ACB template <> inline constexpr guid guid_v{ 0x7F380003, 0x5A09, 0x5F1F, {0xAF, 0xB0, 0xAA, 0x48, 0x3E, 0x36, 0x70, 0xCC}}; // 7F380003-5A09-5F1F-AFB0-AA483E3670CC template <> inline constexpr guid guid_v{ 0x3A256FFF, 0xA426, 0x5D3B, {0x8E, 0x4B, 0x3A, 0xC8, 0x41, 0x62, 0x47, 0x1E}}; // 3A256FFF-A426-5D3B-8E4B-3AC84162471E template <> inline constexpr guid guid_v{ 0x8F18F9AF, 0x6095, 0x553B, {0x8D, 0x9D, 0x6B, 0xCC, 0x98, 0x02, 0x65, 0x46}}; // 8F18F9AF-6095-553B-8D9D-6BCC98026546 template <> inline constexpr guid guid_v{ 0xEB1E7CF0, 0xE110, 0x506C, {0xB0, 0xEA, 0x7A, 0x28, 0x8D, 0x8E, 0x77, 0x78}}; // EB1E7CF0-E110-506C-B0EA-7A288D8E7778 template <> inline constexpr guid guid_v{ 0x7937D261, 0x13CE, 0x5B24, {0xB1, 0x7C, 0xFE, 0x5C, 0xD0, 0xBE, 0x23, 0xB6}}; // 7937D261-13CE-5B24-B17C-FE5CD0BE23B6 template <> inline constexpr guid guid_v{ 0x622EB80A, 0xED1A, 0x5525, {0x80, 0xD8, 0xC6, 0xE8, 0x02, 0x36, 0xA1, 0x95}}; // 622EB80A-ED1A-5525-80D8-C6E80236A195 template <> inline constexpr guid guid_v{ 0xF452E60D, 0xEF50, 0x5BC9, {0xB4, 0x83, 0x21, 0x7D, 0x5B, 0x4E, 0x71, 0x51}}; // F452E60D-EF50-5BC9-B483-217D5B4E7151 template <> inline constexpr guid guid_v{ 0xEEF548C5, 0xD7BC, 0x50BE, {0xA8, 0xAB, 0x29, 0xE2, 0x41, 0xB7, 0x8B, 0xD1}}; // EEF548C5-D7BC-50BE-A8AB-29E241B78BD1 template <> inline constexpr guid guid_v{ 0x9E20797D, 0x1FF6, 0x5295, {0x8C, 0xB6, 0xD4, 0x8F, 0xB8, 0xBA, 0x48, 0x3B}}; // 9E20797D-1FF6-5295-8CB6-D48FB8BA483B template <> inline constexpr guid guid_v{ 0x493D32B9, 0xDBC9, 0x5D4B, {0x80, 0x2F, 0x90, 0x47, 0x38, 0x50, 0x50, 0x0E}}; // 493D32B9-DBC9-5D4B-802F-90473850500E template <> inline constexpr guid guid_v{ 0x5B7A28C0, 0x7777, 0x52E5, {0x99, 0x34, 0xB9, 0x5B, 0x51, 0x4C, 0xF5, 0x35}}; // 5B7A28C0-7777-52E5-9934-B95B514CF535 template <> inline constexpr guid guid_v{ 0xB6A75913, 0x4A1E, 0x59E7, {0x85, 0x6A, 0xAE, 0x7A, 0xB2, 0x38, 0x38, 0x64}}; // B6A75913-4A1E-59E7-856A-AE7AB2383864 template <> inline constexpr guid guid_v{ 0xA008D9AD, 0x25CE, 0x5A6B, {0x9C, 0xEB, 0xD8, 0xE9, 0x5D, 0x04, 0xE1, 0x0B}}; // A008D9AD-25CE-5A6B-9CEB-D8E95D04E10B template <> inline constexpr guid guid_v{ 0xBB84CBB5, 0x19C8, 0x5857, {0xB6, 0x5D, 0x70, 0x5A, 0xA1, 0x48, 0x64, 0x04}}; // BB84CBB5-19C8-5857-B65D-705AA1486404 template <> inline constexpr guid guid_v{ 0x391FBF11, 0x59CD, 0x575D, {0x83, 0x4A, 0x9E, 0xF8, 0x23, 0x11, 0x6F, 0x98}}; // 391FBF11-59CD-575D-834A-9EF823116F98 template <> inline constexpr guid guid_v{ 0x036294FE, 0xE53C, 0x5E66, {0x93, 0xD2, 0x7C, 0x92, 0x33, 0x8D, 0xB8, 0x81}}; // 036294FE-E53C-5E66-93D2-7C92338DB881 template <> struct default_interface< winrt::Microsoft::Windows::AI::Text::ConversationItem> { using type = winrt::Microsoft::Windows::AI::Text::IConversationItem; }; template <> struct default_interface< winrt::Microsoft::Windows::AI::Text::ConversationSummaryOptions> { using type = winrt::Microsoft::Windows::AI::Text::IConversationSummaryOptions; }; template <> struct default_interface { using type = winrt::Microsoft::Windows::AI::Text::ILanguageModel; }; template <> struct default_interface< winrt::Microsoft::Windows::AI::Text::LanguageModelContext> { using type = winrt::Microsoft::Windows::AI::Text::ILanguageModelContext; }; template <> struct default_interface< winrt::Microsoft::Windows::AI::Text::LanguageModelEmbeddingVectorResult> { using type = winrt::Microsoft::Windows::AI::Text::ILanguageModelEmbeddingVectorResult; }; template <> struct default_interface< winrt::Microsoft::Windows::AI::Text::LanguageModelOptions> { using type = winrt::Microsoft::Windows::AI::Text::ILanguageModelOptions; }; template <> struct default_interface< winrt::Microsoft::Windows::AI::Text::LanguageModelResponseResult> { using type = winrt::Microsoft::Windows::AI::Text::ILanguageModelResponseResult; }; template <> struct default_interface { using type = winrt::Microsoft::Windows::AI::Text::ITextRewriter; }; template <> struct default_interface { using type = winrt::Microsoft::Windows::AI::Text::ITextSummarizer; }; template <> struct default_interface< winrt::Microsoft::Windows::AI::Text::TextToTableConverter> { using type = winrt::Microsoft::Windows::AI::Text::ITextToTableConverter; }; template <> struct default_interface< winrt::Microsoft::Windows::AI::Text::TextToTableResponseResult> { using type = winrt::Microsoft::Windows::AI::Text::ITextToTableResponseResult; }; template <> struct default_interface { using type = winrt::Microsoft::Windows::AI::Text::ITextToTableRow; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Participant(void**) noexcept = 0; virtual int32_t __stdcall put_Participant(void*) noexcept = 0; virtual int32_t __stdcall get_Message(void**) noexcept = 0; virtual int32_t __stdcall put_Message(void*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_InputKind(int32_t*) noexcept = 0; virtual int32_t __stdcall put_InputKind(int32_t) noexcept = 0; virtual int32_t __stdcall get_IncludeMessageCitations(bool*) noexcept = 0; virtual int32_t __stdcall put_IncludeMessageCitations(bool) noexcept = 0; virtual int32_t __stdcall get_IncludeParticipantAttribution( bool*) noexcept = 0; virtual int32_t __stdcall put_IncludeParticipantAttribution( bool) noexcept = 0; virtual int32_t __stdcall get_MaxKeyPoints(uint32_t*) noexcept = 0; virtual int32_t __stdcall put_MaxKeyPoints(uint32_t) noexcept = 0; virtual int32_t __stdcall get_Language(void**) noexcept = 0; virtual int32_t __stdcall put_Language(void*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi {}; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall GenerateResponseAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall GenerateResponseAsync2(void*, void*, void**) noexcept = 0; virtual int32_t __stdcall GenerateResponseAsync3(void*, void*, void*, void**) noexcept = 0; virtual int32_t __stdcall GenerateResponseFromEmbeddingsAsync( void*, void**) noexcept = 0; virtual int32_t __stdcall GenerateResponseFromEmbeddingsAsync2( void*, void*, void**) noexcept = 0; virtual int32_t __stdcall GenerateResponseFromEmbeddingsAsync3( void*, void*, void*, void**) noexcept = 0; virtual int32_t __stdcall GenerateEmbeddingVectors(void*, void**) noexcept = 0; virtual int32_t __stdcall GenerateEmbeddingVectors2(void*, void*, void**) noexcept = 0; virtual int32_t __stdcall GetUsablePromptLength(void*, uint64_t*) noexcept = 0; virtual int32_t __stdcall GetUsablePromptLength2(void*, void*, uint64_t*) noexcept = 0; virtual int32_t __stdcall GetVectorSpaceId(winrt::guid*) noexcept = 0; virtual int32_t __stdcall CreateContext(void**) noexcept = 0; virtual int32_t __stdcall CreateContext2(void*, void**) noexcept = 0; virtual int32_t __stdcall CreateContext3(void*, void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi {}; }; template <> struct abi< winrt::Microsoft::Windows::AI::Text::ILanguageModelEmbeddingVectorResult> { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_EmbeddingVectors(void**) noexcept = 0; virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Temperature(float*) noexcept = 0; virtual int32_t __stdcall put_Temperature(float) noexcept = 0; virtual int32_t __stdcall get_TopP(float*) noexcept = 0; virtual int32_t __stdcall put_TopP(float) noexcept = 0; virtual int32_t __stdcall get_TopK(uint32_t*) noexcept = 0; virtual int32_t __stdcall put_TopK(uint32_t) noexcept = 0; virtual int32_t __stdcall get_ContentFilterOptions(void**) noexcept = 0; virtual int32_t __stdcall put_ContentFilterOptions(void*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Text(void**) noexcept = 0; virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall GetReadyState(int32_t*) noexcept = 0; virtual int32_t __stdcall EnsureReadyAsync(void**) noexcept = 0; virtual int32_t __stdcall CreateAsync(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall RewriteAsync(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall RewriteAsync(void*, int32_t, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall RewriteCustomAsync(void*, void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall CreateInstance(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall SummarizeAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall SummarizeParagraphAsync(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall SummarizeConversationAsync(void*, void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall IsPromptLargerThanContext(uint32_t, void**, void*, uint64_t*, bool*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall IsPromptLargerThanContext(void*, uint64_t*, bool*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall CreateInstance(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall ConvertAsync(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall CreateInstance(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall GetRows(uint32_t* __resultSize, void***) noexcept = 0; virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall GetColumns(uint32_t* __resultSize, void***) noexcept = 0; }; }; template struct consume_Microsoft_Windows_AI_Text_IConversationItem { [[nodiscard]] auto Participant() const; auto Participant(param::hstring const& value) const; [[nodiscard]] auto Message() const; auto Message(param::hstring const& value) const; }; template <> struct consume { template using type = consume_Microsoft_Windows_AI_Text_IConversationItem; }; template struct consume_Microsoft_Windows_AI_Text_IConversationSummaryOptions { [[nodiscard]] auto InputKind() const; auto InputKind( winrt::Microsoft::Windows::AI::Text::InputKind const& value) const; [[nodiscard]] auto IncludeMessageCitations() const; auto IncludeMessageCitations(bool value) const; [[nodiscard]] auto IncludeParticipantAttribution() const; auto IncludeParticipantAttribution(bool value) const; [[nodiscard]] auto MaxKeyPoints() const; auto MaxKeyPoints(uint32_t value) const; [[nodiscard]] auto Language() const; auto Language(param::hstring const& value) const; }; template <> struct consume< winrt::Microsoft::Windows::AI::Text::IConversationSummaryOptions> { template using type = consume_Microsoft_Windows_AI_Text_IConversationSummaryOptions; }; template struct consume_Microsoft_Windows_AI_Text_ILanguageModel {}; template <> struct consume { template using type = consume_Microsoft_Windows_AI_Text_ILanguageModel; }; template struct consume_Microsoft_Windows_AI_Text_ILanguageModel2 { auto GenerateResponseAsync(param::hstring const& prompt) const; auto GenerateResponseAsync( param::hstring const& prompt, winrt::Microsoft::Windows::AI::Text::LanguageModelOptions const& options) const; auto GenerateResponseAsync( winrt::Microsoft::Windows::AI::Text::LanguageModelContext const& context, param::hstring const& prompt, winrt::Microsoft::Windows::AI::Text::LanguageModelOptions const& options) const; auto GenerateResponseFromEmbeddingsAsync( param::async_iterable< winrt::Microsoft::Windows::AI::Foundation::EmbeddingVector> const& promptEmbedding) const; auto GenerateResponseFromEmbeddingsAsync( param::async_iterable< winrt::Microsoft::Windows::AI::Foundation::EmbeddingVector> const& promptEmbedding, winrt::Microsoft::Windows::AI::Text::LanguageModelOptions const& options) const; auto GenerateResponseFromEmbeddingsAsync( winrt::Microsoft::Windows::AI::Text::LanguageModelContext const& context, param::async_iterable< winrt::Microsoft::Windows::AI::Foundation::EmbeddingVector> const& promptEmbedding, winrt::Microsoft::Windows::AI::Text::LanguageModelOptions const& options) const; auto GenerateEmbeddingVectors(param::hstring const& prompt) const; auto GenerateEmbeddingVectors( param::hstring const& prompt, winrt::Microsoft::Windows::AI::ContentSafety::ContentFilterOptions const& contentFilterOptions) const; auto GetUsablePromptLength(param::hstring const& prompt) const; auto GetUsablePromptLength( winrt::Microsoft::Windows::AI::Text::LanguageModelContext const& context, param::hstring const& prompt) const; auto GetVectorSpaceId() const; auto CreateContext() const; auto CreateContext(param::hstring const& systemPrompt) const; auto CreateContext( param::hstring const& systemPrompt, winrt::Microsoft::Windows::AI::ContentSafety::ContentFilterOptions const& contentFilterOptions) const; }; template <> struct consume { template using type = consume_Microsoft_Windows_AI_Text_ILanguageModel2; }; template struct consume_Microsoft_Windows_AI_Text_ILanguageModelContext {}; template <> struct consume { template using type = consume_Microsoft_Windows_AI_Text_ILanguageModelContext; }; template struct consume_Microsoft_Windows_AI_Text_ILanguageModelEmbeddingVectorResult { [[nodiscard]] auto EmbeddingVectors() const; [[nodiscard]] auto Status() const; [[nodiscard]] auto ExtendedError() const; }; template <> struct consume< winrt::Microsoft::Windows::AI::Text::ILanguageModelEmbeddingVectorResult> { template using type = consume_Microsoft_Windows_AI_Text_ILanguageModelEmbeddingVectorResult; }; template struct consume_Microsoft_Windows_AI_Text_ILanguageModelOptions { [[nodiscard]] auto Temperature() const; auto Temperature(float value) const; [[nodiscard]] auto TopP() const; auto TopP(float value) const; [[nodiscard]] auto TopK() const; auto TopK(uint32_t value) const; [[nodiscard]] auto ContentFilterOptions() const; auto ContentFilterOptions( winrt::Microsoft::Windows::AI::ContentSafety::ContentFilterOptions const& value) const; }; template <> struct consume { template using type = consume_Microsoft_Windows_AI_Text_ILanguageModelOptions; }; template struct consume_Microsoft_Windows_AI_Text_ILanguageModelResponseResult { [[nodiscard]] auto Text() const; [[nodiscard]] auto Status() const; [[nodiscard]] auto ExtendedError() const; }; template <> struct consume< winrt::Microsoft::Windows::AI::Text::ILanguageModelResponseResult> { template using type = consume_Microsoft_Windows_AI_Text_ILanguageModelResponseResult; }; template struct consume_Microsoft_Windows_AI_Text_ILanguageModelStatics { auto GetReadyState() const; auto EnsureReadyAsync() const; auto CreateAsync() const; }; template <> struct consume { template using type = consume_Microsoft_Windows_AI_Text_ILanguageModelStatics; }; template struct consume_Microsoft_Windows_AI_Text_ITextRewriter { auto RewriteAsync(param::hstring const& text) const; }; template <> struct consume { template using type = consume_Microsoft_Windows_AI_Text_ITextRewriter; }; template struct consume_Microsoft_Windows_AI_Text_ITextRewriter2 { auto RewriteAsync( param::hstring const& text, winrt::Microsoft::Windows::AI::Text::TextRewriteTone const& tone) const; }; template <> struct consume { template using type = consume_Microsoft_Windows_AI_Text_ITextRewriter2; }; template struct consume_Microsoft_Windows_AI_Text_ITextRewriter3 { auto RewriteCustomAsync(param::hstring const& text, param::hstring const& customTone) const; }; template <> struct consume { template using type = consume_Microsoft_Windows_AI_Text_ITextRewriter3; }; template struct consume_Microsoft_Windows_AI_Text_ITextRewriterFactory { auto CreateInstance(winrt::Microsoft::Windows::AI::Text::LanguageModel const& languageModel) const; }; template <> struct consume { template using type = consume_Microsoft_Windows_AI_Text_ITextRewriterFactory; }; template struct consume_Microsoft_Windows_AI_Text_ITextSummarizer { auto SummarizeAsync(param::hstring const& text) const; auto SummarizeParagraphAsync(param::hstring const& text) const; }; template <> struct consume { template using type = consume_Microsoft_Windows_AI_Text_ITextSummarizer; }; template struct consume_Microsoft_Windows_AI_Text_ITextSummarizer2 { auto SummarizeConversationAsync( param::async_vector_view< winrt::Microsoft::Windows::AI::Text::ConversationItem> const& messages, winrt::Microsoft::Windows::AI::Text::ConversationSummaryOptions const& options) const; }; template <> struct consume { template using type = consume_Microsoft_Windows_AI_Text_ITextSummarizer2; }; template struct consume_Microsoft_Windows_AI_Text_ITextSummarizer3 { auto IsPromptLargerThanContext( array_view messages, winrt::Microsoft::Windows::AI::Text::ConversationSummaryOptions const& options, uint64_t& cutoffPosition) const; }; template <> struct consume { template using type = consume_Microsoft_Windows_AI_Text_ITextSummarizer3; }; template struct consume_Microsoft_Windows_AI_Text_ITextSummarizer4 { auto IsPromptLargerThanContext(param::hstring const& text, uint64_t& cutoffPosition) const; }; template <> struct consume { template using type = consume_Microsoft_Windows_AI_Text_ITextSummarizer4; }; template struct consume_Microsoft_Windows_AI_Text_ITextSummarizerFactory { auto CreateInstance(winrt::Microsoft::Windows::AI::Text::LanguageModel const& languageModel) const; }; template <> struct consume { template using type = consume_Microsoft_Windows_AI_Text_ITextSummarizerFactory; }; template struct consume_Microsoft_Windows_AI_Text_ITextToTableConverter { auto ConvertAsync(param::hstring const& text) const; }; template <> struct consume { template using type = consume_Microsoft_Windows_AI_Text_ITextToTableConverter; }; template struct consume_Microsoft_Windows_AI_Text_ITextToTableConverterFactory { auto CreateInstance(winrt::Microsoft::Windows::AI::Text::LanguageModel const& languageModel) const; }; template <> struct consume< winrt::Microsoft::Windows::AI::Text::ITextToTableConverterFactory> { template using type = consume_Microsoft_Windows_AI_Text_ITextToTableConverterFactory; }; template struct consume_Microsoft_Windows_AI_Text_ITextToTableResponseResult { auto GetRows() const; [[nodiscard]] auto Status() const; [[nodiscard]] auto ExtendedError() const; }; template <> struct consume< winrt::Microsoft::Windows::AI::Text::ITextToTableResponseResult> { template using type = consume_Microsoft_Windows_AI_Text_ITextToTableResponseResult; }; template struct consume_Microsoft_Windows_AI_Text_ITextToTableRow { auto GetColumns() const; }; template <> struct consume { template using type = consume_Microsoft_Windows_AI_Text_ITextToTableRow; }; } // namespace winrt::impl #endif