Skip to content

Commit d21cc80

Browse files
authored
Merging WCR /WinAI API sample from feature branch to main branch (#467)
This change brings stable version of WCR sample from feature branch to main branch. Given Language Model related changes didn't make into stable, and are experimental, they are removed. Image object remover is also removed because it was experimental. WindowsCopilotRuntime renamed to WindowsAIFoundry and WindowsCopilotRuntimeSample renamed to WindowsAISample for all namespaces. README and contributing doc moved inside cs-winui because other samples will also exist within this folder.
1 parent 82912c3 commit d21cc80

File tree

94 files changed

+382
-1047
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+382
-1047
lines changed

README.md

Lines changed: 2 additions & 1 deletion

Samples/WindowsCopilotRuntime/cs-winui/App.xaml renamed to Samples/WindowsAIFoundry/cs-winui/App.xaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
Licensed under the MIT License. -->
33

44
<Application
5-
x:Class="WindowsCopilotRuntimeSample.App"
5+
x:Class="WindowsAISample.App"
66
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
77
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
8-
xmlns:local="using:WindowsCopilotRuntimeSample"
9-
xmlns:local_converters="using:WindowsCopilotRuntimeSample.Converters">
8+
xmlns:local="using:WindowsAISample"
9+
xmlns:local_converters="using:WindowsAISample.Converters">
1010
<Application.Resources>
1111
<ResourceDictionary>
1212
<ResourceDictionary.MergedDictionaries>
@@ -16,7 +16,6 @@
1616
<!-- Other app resources here -->
1717
<local_converters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter"/>
1818
<local_converters:NullToVisibilityConverter x:Key="NullToVisibilityConverter"/>
19-
<local_converters:EmbeddingVectorConverter x:Key="EmbeddingVectorConverter"/>
2019
<local_converters:ContentFilterOptionsSeverityLevelConverter x:Key="ContentFilterOptionsSeverityLevelConverter"/>
2120

2221
<!-- Window width adaptive breakpoints. -->

Samples/WindowsCopilotRuntime/cs-winui/App.xaml.cs renamed to Samples/WindowsAIFoundry/cs-winui/App.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// To learn more about WinUI, the WinUI project structure,
88
// and more about our project templates, see: http://aka.ms/winui-project-info.
99

10-
namespace WindowsCopilotRuntimeSample
10+
namespace WindowsAISample
1111
{
1212
public partial class App : Application
1313
{

Samples/WindowsCopilotRuntime/cs-winui/Assets/LockScreenLogo.scale-200.png renamed to Samples/WindowsAIFoundry/cs-winui/Assets/LockScreenLogo.scale-200.png

File renamed without changes.

Samples/WindowsCopilotRuntime/cs-winui/Assets/SplashScreen.scale-200.png renamed to Samples/WindowsAIFoundry/cs-winui/Assets/SplashScreen.scale-200.png

File renamed without changes.

Samples/WindowsCopilotRuntime/cs-winui/Assets/Square150x150Logo.scale-200.png renamed to Samples/WindowsAIFoundry/cs-winui/Assets/Square150x150Logo.scale-200.png

File renamed without changes.

Samples/WindowsCopilotRuntime/cs-winui/Assets/Square44x44Logo.scale-200.png renamed to Samples/WindowsAIFoundry/cs-winui/Assets/Square44x44Logo.scale-200.png

File renamed without changes.

Samples/WindowsCopilotRuntime/cs-winui/Assets/Square44x44Logo.targetsize-24_altform-unplated.png renamed to Samples/WindowsAIFoundry/cs-winui/Assets/Square44x44Logo.targetsize-24_altform-unplated.png

File renamed without changes.

Samples/WindowsCopilotRuntime/cs-winui/Assets/StoreLogo.png renamed to Samples/WindowsAIFoundry/cs-winui/Assets/StoreLogo.png

File renamed without changes.

Samples/WindowsCopilotRuntime/cs-winui/Assets/Wide310x150Logo.scale-200.png renamed to Samples/WindowsAIFoundry/cs-winui/Assets/Wide310x150Logo.scale-200.png

File renamed without changes.

0 commit comments

Comments
 (0)