Special Awareness When Trying Out Windows Copilot Runtime APIs in 1.7.0-experimental3 in C# Console App #5153
Replies: 1 comment
-
Here are basically combined multiple docs information into this simple one.
The following are based on ARM (for those machine with Arm-based Snapdragon Elite X+ chip), but it should be simple to change x64 if your NPU hardware in Intel. In the csproj, here are 4 values need to be added, and we will talk one by one:
These steps should help avoid common pitfalls and ensure a smoother development experience! 🚀 |
Beta Was this translation helpful? Give feedback.
-
When trying to use the Windows Copilot Runtime APIs, such as Phi-Silica, in the 1.7.0-experimental3 release at a new Console app, you may encounter the following issues:
Execute at LanguageModel.CreateAsync() results in a System.Runtime.InteropServices.COMException '' (i.e. empty error message)
Execute at LanguageModel.IsAvailable() results in System.Runtime.InteropServices.COMException: 'Class not registered'
Beta Was this translation helpful? Give feedback.
All reactions