Files
nearby/internal/platform/implementation/windows/generated/winrt/impl/Microsoft.Windows.Internal.AI.Generative.2.h
T
2026-01-27 23:46:02 -08:00

274 lines
15 KiB
C++

// WARNING: Please don't edit this file. It was generated by C++/WinRT
// v2.0.250303.1
#pragma once
#ifndef WINRT_Microsoft_Windows_Internal_AI_Generative_2_H
#define WINRT_Microsoft_Windows_Internal_AI_Generative_2_H
#include "winrt/impl/Microsoft.Windows.AI.GenerativeInternal.1.h"
#include "winrt/impl/Microsoft.Windows.Internal.AI.Generative.1.h"
#include "winrt/impl/Microsoft.Windows.PrivateCommon.1.h"
#include "winrt/impl/Windows.Foundation.1.h"
WINRT_EXPORT namespace winrt::Microsoft::Windows::Internal::AI::Generative {
struct WINRT_IMPL_EMPTY_BASES ImageDescriptionSession
: winrt::Microsoft::Windows::AI::GenerativeInternal::
IImageDescriptionSession,
impl::require<ImageDescriptionSession,
winrt::Microsoft::Windows::PrivateCommon::IAnchorInstance,
winrt::Microsoft::Windows::PrivateCommon::
IGetSessionHostProcessId> {
ImageDescriptionSession(std::nullptr_t) noexcept {}
ImageDescriptionSession(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::Windows::AI::GenerativeInternal::
IImageDescriptionSession(ptr, take_ownership_from_abi) {}
ImageDescriptionSession();
};
struct WINRT_IMPL_EMPTY_BASES ImageDescriptionSessionResult
: winrt::Microsoft::Windows::AI::GenerativeInternal::
IImageDescriptionSessionResult,
impl::require<ImageDescriptionSessionResult,
winrt::Microsoft::Windows::Internal::AI::Generative::
IImageDescriptionSessionResult> {
ImageDescriptionSessionResult(std::nullptr_t) noexcept {}
ImageDescriptionSessionResult(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::Windows::AI::GenerativeInternal::
IImageDescriptionSessionResult(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES ImageLLMAdapterSession
: winrt::Microsoft::Windows::AI::GenerativeInternal::
IImageLLMAdapterSession,
impl::require<
ImageLLMAdapterSession,
winrt::Microsoft::Windows::PrivateCommon::IAnchorInstance,
winrt::Microsoft::Windows::PrivateCommon::IGetSessionHostProcessId,
winrt::Microsoft::Windows::PrivateCommon::IModelManager,
winrt::Microsoft::Windows::PrivateCommon::IModelManager2,
winrt::Microsoft::Windows::PrivateCommon::IModelManager3> {
ImageLLMAdapterSession(std::nullptr_t) noexcept {}
ImageLLMAdapterSession(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::Windows::AI::GenerativeInternal::
IImageLLMAdapterSession(ptr, take_ownership_from_abi) {}
ImageLLMAdapterSession();
using impl::consume_t<ImageLLMAdapterSession,
winrt::Microsoft::Windows::PrivateCommon::
IModelManager>::GenerateCacheModel;
using impl::consume_t<ImageLLMAdapterSession,
winrt::Microsoft::Windows::PrivateCommon::
IModelManager3>::GenerateCacheModel;
};
struct WINRT_IMPL_EMPTY_BASES LanguageModelAdapterWrapper
: winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionAdapter,
impl::require<LanguageModelAdapterWrapper,
winrt::Microsoft::Windows::Internal::AI::Generative::
ILanguageModelAdapterWrapper> {
LanguageModelAdapterWrapper(std::nullptr_t) noexcept {}
LanguageModelAdapterWrapper(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionAdapter(ptr, take_ownership_from_abi) {}
LanguageModelAdapterWrapper();
};
struct WINRT_IMPL_EMPTY_BASES LanguageModelContextWrapper
: winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionContext,
impl::require<LanguageModelContextWrapper,
winrt::Microsoft::Windows::Internal::AI::Generative::
ILanguageModelContextWrapper> {
LanguageModelContextWrapper(std::nullptr_t) noexcept {}
LanguageModelContextWrapper(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionContext(ptr, take_ownership_from_abi) {}
LanguageModelContextWrapper();
};
struct WINRT_IMPL_EMPTY_BASES LanguageModelSession
: winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6,
impl::require<
LanguageModelSession,
winrt::Microsoft::Windows::PrivateCommon::IAnchorInstance,
winrt::Microsoft::Windows::PrivateCommon::IGetSessionHostProcessId,
winrt::Microsoft::Windows::PrivateCommon::IModelManager,
winrt::Microsoft::Windows::PrivateCommon::IModelManager2,
winrt::Microsoft::Windows::PrivateCommon::IModelManager3,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore2,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ITextIntelligenceSession> {
LanguageModelSession(std::nullptr_t) noexcept {}
LanguageModelSession(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6(ptr, take_ownership_from_abi) {}
LanguageModelSession();
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::CreateContext;
using impl::consume_t<LanguageModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::CreateContext;
using impl::consume_t<LanguageModelSession,
winrt::Microsoft::Windows::PrivateCommon::
IModelManager>::GenerateCacheModel;
using impl::consume_t<LanguageModelSession,
winrt::Microsoft::Windows::PrivateCommon::
IModelManager3>::GenerateCacheModel;
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::GenerateResponseWithProgressEvent;
using impl::consume_t<
LanguageModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::GenerateResponseWithProgressEvent;
using impl::consume_t<
LanguageModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore2>::GenerateResponseWithProgressEvent;
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::GetContextLength;
using impl::consume_t<LanguageModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::GetContextLength;
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::GetContextPromptCutoffIndex;
using impl::consume_t<
LanguageModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::GetContextPromptCutoffIndex;
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::GetEmbeddingSize;
using impl::consume_t<LanguageModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::GetEmbeddingSize;
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::GetPartialResult;
using impl::consume_t<LanguageModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::GetPartialResult;
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::GetTokens;
using impl::consume_t<LanguageModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::GetTokens;
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::IsPromptLargerThanContext;
using impl::consume_t<
LanguageModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::IsPromptLargerThanContext;
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::ModelVersion;
using impl::consume_t<LanguageModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::ModelVersion;
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::VectorSpaceId;
using impl::consume_t<LanguageModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::VectorSpaceId;
};
struct WINRT_IMPL_EMPTY_BASES PhiLanguageModelSession
: winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore2,
impl::require<
PhiLanguageModelSession,
winrt::Microsoft::Windows::PrivateCommon::IAnchorInstance,
winrt::Microsoft::Windows::PrivateCommon::IGetSessionHostProcessId,
winrt::Microsoft::Windows::PrivateCommon::IModelManager,
winrt::Microsoft::Windows::PrivateCommon::IModelManager2,
winrt::Microsoft::Windows::PrivateCommon::IModelManager3> {
PhiLanguageModelSession(std::nullptr_t) noexcept {}
PhiLanguageModelSession(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore2(ptr, take_ownership_from_abi) {}
PhiLanguageModelSession();
using impl::consume_t<PhiLanguageModelSession,
winrt::Microsoft::Windows::PrivateCommon::
IModelManager>::GenerateCacheModel;
using impl::consume_t<PhiLanguageModelSession,
winrt::Microsoft::Windows::PrivateCommon::
IModelManager3>::GenerateCacheModel;
};
struct WINRT_IMPL_EMPTY_BASES SettingsModelSession
: winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6,
impl::require<
SettingsModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore2,
winrt::Microsoft::Windows::PrivateCommon::IAnchorInstance,
winrt::Microsoft::Windows::PrivateCommon::IGetSessionHostProcessId,
winrt::Microsoft::Windows::PrivateCommon::IModelManager,
winrt::Microsoft::Windows::PrivateCommon::IModelManager2,
winrt::Microsoft::Windows::PrivateCommon::IModelManager3> {
SettingsModelSession(std::nullptr_t) noexcept {}
SettingsModelSession(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6(ptr, take_ownership_from_abi) {}
SettingsModelSession();
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::CreateContext;
using impl::consume_t<SettingsModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::CreateContext;
using impl::consume_t<SettingsModelSession,
winrt::Microsoft::Windows::PrivateCommon::
IModelManager>::GenerateCacheModel;
using impl::consume_t<SettingsModelSession,
winrt::Microsoft::Windows::PrivateCommon::
IModelManager3>::GenerateCacheModel;
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::GenerateResponseWithProgressEvent;
using impl::consume_t<
SettingsModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::GenerateResponseWithProgressEvent;
using impl::consume_t<
SettingsModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore2>::GenerateResponseWithProgressEvent;
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::GetContextLength;
using impl::consume_t<SettingsModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::GetContextLength;
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::GetContextPromptCutoffIndex;
using impl::consume_t<
SettingsModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::GetContextPromptCutoffIndex;
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::GetEmbeddingSize;
using impl::consume_t<SettingsModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::GetEmbeddingSize;
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::GetPartialResult;
using impl::consume_t<SettingsModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::GetPartialResult;
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::GetTokens;
using impl::consume_t<SettingsModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::GetTokens;
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::IsPromptLargerThanContext;
using impl::consume_t<
SettingsModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::IsPromptLargerThanContext;
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::ModelVersion;
using impl::consume_t<SettingsModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::ModelVersion;
using winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSession6::VectorSpaceId;
using impl::consume_t<SettingsModelSession,
winrt::Microsoft::Windows::AI::GenerativeInternal::
ILanguageModelSessionCore>::VectorSpaceId;
};
}
#endif