Skip to content

Commit

Permalink
.Net Hugging face exp update (#5675)
Browse files Browse the repository at this point in the history
### Motivation and Context

Moving Hugging Face to the EXP70 `AI Connectors` category.
  • Loading branch information
RogerBarreto authored Mar 28, 2024
1 parent 0de7d34 commit f76fd5f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dotnet/docs/EXPERIMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ You can use the following diagnostic IDs to ignore warnings or errors for a part
| SKEXP0010 | OpenAI chat history extension | | | | | |
| SKEXP0010 | OpenAI file service | | | | | |
| | | | | | | |
| SKEXP0020 | Hugging Face AI connector | | | | | |
| SKEXP0020 | Azure AI Search memory connector | | | | | |
| SKEXP0020 | Chroma memory connector | | | | | |
| SKEXP0020 | DuckDB memory connector | | | | | |
Expand Down Expand Up @@ -73,6 +72,7 @@ You can use the following diagnostic IDs to ignore warnings or errors for a part
| SKEXP0070 | Gemini AI connector | | | | | |
| SKEXP0070 | Mistral AI connector | | | | | |
| SKEXP0070 | ONNX AI connector | | | | | |
| SKEXP0070 | Hugging Face AI connector | | | | | |
| | | | | | | |
| SKEXP0101 | Experiment with Assistants | | | | | |
| SKEXP0101 | Experiment with Flow Orchestration | | | | | |
2 changes: 1 addition & 1 deletion dotnet/samples/HuggingFaceImageTextExample/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace HuggingFaceImageTextDemo;

#pragma warning disable SKEXP0001 // Type is for evaluation purposes only and is subject to change or removal in future updates.
#pragma warning disable SKEXP0020 // Type is for evaluation purposes only and is subject to change or removal in future updates.
#pragma warning disable SKEXP0070 // Type is for evaluation purposes only and is subject to change or removal in future updates.

/// <summary>
/// Main form of the application.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<IsTestProject>true</IsTestProject>
<IsPackable>false</IsPackable>
<!-- Suppress: "Declare types in namespaces", "Require ConfigureAwait", "Experimental" -->
<NoWarn>CS8618,IDE0009,CA1051,CA1050,CA1707,CA2007,VSTHRD111,CS1591,RCS1110,CA5394,SKEXP0001,SKEXP0010,SKEXP0020,SKEXP0040,SKEXP0050,SKEXP0060,SKEXP0101</NoWarn>
<NoWarn>CS8618,IDE0009,CA1051,CA1050,CA1707,CA2007,VSTHRD111,CS1591,RCS1110,CA5394,SKEXP0001,SKEXP0010,SKEXP0020,SKEXP0040,SKEXP0050,SKEXP0060,SKEXP0070,SKEXP0101</NoWarn>
<OutputType>Library</OutputType>
</PropertyGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>disable</ImplicitUsings>
<IsPackable>false</IsPackable>
<NoWarn>CA2007,CA1806,CA1869,CA1861,IDE0300,VSTHRD111,SKEXP0001,SKEXP0010,SKEXP0020,SKEXP0050</NoWarn>
<NoWarn>CA2007,CA1806,CA1869,CA1861,IDE0300,VSTHRD111,SKEXP0001,SKEXP0010,SKEXP0070,SKEXP0050</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
using System.Diagnostics.CodeAnalysis;

// This assembly is currently experimental.
[assembly: Experimental("SKEXP0020")]
[assembly: Experimental("SKEXP0070")]
2 changes: 1 addition & 1 deletion dotnet/src/IntegrationTests/IntegrationTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<RollForward>LatestMajor</RollForward>
<IsTestProject>true</IsTestProject>
<IsPackable>false</IsPackable>
<NoWarn>CA2007,CA1861,VSTHRD111,SKEXP0001,SKEXP0010,SKEXP0020,SKEXP0040,SKEXP0050,SKEXP0060</NoWarn>
<NoWarn>CA2007,CA1861,VSTHRD111,SKEXP0001,SKEXP0010,SKEXP0020,SKEXP0040,SKEXP0050,SKEXP0060,SKEXP0070</NoWarn>
<UserSecretsId>b7762d10-e29b-4bb1-8b74-b6d69a667dd4</UserSecretsId>
</PropertyGroup>
<ItemGroup>
Expand Down

0 comments on commit f76fd5f

Please sign in to comment.