Skip to content

CI Update - Package-provided APIs for .NET 8/9/10 #11323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
514 changes: 232 additions & 282 deletions xml/FrameworksIndex/net-10.0-pp.xml

Large diffs are not rendered by default.

514 changes: 232 additions & 282 deletions xml/FrameworksIndex/net-8.0-pp.xml

Large diffs are not rendered by default.

514 changes: 232 additions & 282 deletions xml/FrameworksIndex/net-9.0-pp.xml

Large diffs are not rendered by default.

51 changes: 5 additions & 46 deletions xml/Microsoft.Extensions.AI/OllamaChatClient.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(0)&gt;]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents an <see cref="T:Microsoft.Extensions.AI.IChatClient" /> for Ollama.</summary>
<remarks>To be added.</remarks>
Expand All @@ -47,14 +41,7 @@
<AssemblyVersion>9.5.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="endpoint" Type="System.String">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(1)&gt;]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="endpoint" Type="System.String" />
<Parameter Name="modelId" Type="System.String" />
<Parameter Name="httpClient" Type="System.Net.Http.HttpClient" />
</Parameters>
Expand All @@ -81,14 +68,7 @@
<AssemblyVersion>9.5.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="endpoint" Type="System.Uri">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(1)&gt;]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="endpoint" Type="System.Uri" />
<Parameter Name="modelId" Type="System.String" />
<Parameter Name="httpClient" Type="System.Net.Http.HttpClient" />
</Parameters>
Expand Down Expand Up @@ -151,14 +131,7 @@
</ReturnValue>
<Parameters>
<Parameter Name="messages" Type="System.Collections.Generic.IEnumerable&lt;Microsoft.Extensions.AI.ChatMessage&gt;" />
<Parameter Name="options" Type="Microsoft.Extensions.AI.ChatOptions">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(2)&gt;]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="options" Type="Microsoft.Extensions.AI.ChatOptions" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
Expand Down Expand Up @@ -196,14 +169,7 @@
</ReturnValue>
<Parameters>
<Parameter Name="messages" Type="System.Collections.Generic.IEnumerable&lt;Microsoft.Extensions.AI.ChatMessage&gt;" />
<Parameter Name="options" Type="Microsoft.Extensions.AI.ChatOptions">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(2)&gt;]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="options" Type="Microsoft.Extensions.AI.ChatOptions" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken">
<Attributes>
<Attribute>
Expand Down Expand Up @@ -242,14 +208,7 @@
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="serviceType" Type="System.Type">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(1)&gt;]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="serviceType" Type="System.Type" />
<Parameter Name="serviceKey" Type="System.Object" />
</Parameters>
<Docs>
Expand Down
42 changes: 4 additions & 38 deletions xml/Microsoft.Extensions.AI/OllamaEmbeddingGenerator.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(0)&gt;]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents an <see cref="T:Microsoft.Extensions.AI.IEmbeddingGenerator`2" /> for Ollama.</summary>
<remarks>To be added.</remarks>
Expand All @@ -50,14 +44,7 @@
<AssemblyVersion>9.5.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="endpoint" Type="System.String">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(1)&gt;]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="endpoint" Type="System.String" />
<Parameter Name="modelId" Type="System.String" />
<Parameter Name="httpClient" Type="System.Net.Http.HttpClient" />
</Parameters>
Expand All @@ -84,14 +71,7 @@
<AssemblyVersion>9.5.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="endpoint" Type="System.Uri">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(1)&gt;]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="endpoint" Type="System.Uri" />
<Parameter Name="modelId" Type="System.String" />
<Parameter Name="httpClient" Type="System.Net.Http.HttpClient" />
</Parameters>
Expand Down Expand Up @@ -154,14 +134,7 @@
</ReturnValue>
<Parameters>
<Parameter Name="values" Type="System.Collections.Generic.IEnumerable&lt;System.String&gt;" />
<Parameter Name="options" Type="Microsoft.Extensions.AI.EmbeddingGenerationOptions">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(2)&gt;]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="options" Type="Microsoft.Extensions.AI.EmbeddingGenerationOptions" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
Expand Down Expand Up @@ -193,14 +166,7 @@
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="serviceType" Type="System.Type">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(1)&gt;]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="serviceType" Type="System.Type" />
<Parameter Name="serviceKey" Type="System.Object" />
</Parameters>
<Docs>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@
<BaseTypeName>System.Linq.Expressions.ExpressionVisitor</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.Experimental("MEVD9001")]</AttributeName>
<AttributeName Language="F#">[&lt;System.Diagnostics.CodeAnalysis.Experimental("MEVD9001")&gt;]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
A processor for user-provided filter expressions which performs various common transformations before actual translation takes place.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@
<BaseTypeName>System.Linq.Expressions.Expression</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.Experimental("MEVD9001")]</AttributeName>
<AttributeName Language="F#">[&lt;System.Diagnostics.CodeAnalysis.Experimental("MEVD9001")&gt;]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(0)&gt;]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
An expression representation a query parameter (captured variable) in the filter expression.
Expand All @@ -44,14 +34,7 @@
</AssemblyInfo>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="value" Type="System.Object">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(2)&gt;]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="value" Type="System.Object" />
<Parameter Name="type" Type="System.Type" />
</Parameters>
<Docs>
Expand Down Expand Up @@ -143,12 +126,6 @@
<AssemblyName>Microsoft.Extensions.VectorData.Abstractions</AssemblyName>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(2)&gt;]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@
<BaseTypeName>Microsoft.Extensions.VectorData.ConnectorSupport.VectorStoreRecordPropertyModel</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.Experimental("MEVD9001")]</AttributeName>
<AttributeName Language="F#">[&lt;System.Diagnostics.CodeAnalysis.Experimental("MEVD9001")&gt;]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(0)&gt;]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
Represents a data property on a vector store record.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@
<BaseTypeName>Microsoft.Extensions.VectorData.ConnectorSupport.VectorStoreRecordModelBuilder</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.Experimental("MEVD9001")]</AttributeName>
<AttributeName Language="F#">[&lt;System.Diagnostics.CodeAnalysis.Experimental("MEVD9001")&gt;]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(0)&gt;]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
A model builder that performs logic specific to connectors which use System.Text.Json for serialization.
Expand Down Expand Up @@ -68,22 +58,9 @@
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.VectorData.ConnectorSupport.VectorStoreRecordModel</ReturnType>
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(1)&gt;]</AttributeName>
</Attribute>
</Attributes>
</ReturnValue>
<Parameters>
<Parameter Name="type" Type="System.Type">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(1)&gt;]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="type" Type="System.Type" />
<Parameter Name="vectorStoreRecordDefinition" Type="Microsoft.Extensions.VectorData.VectorStoreRecordDefinition" />
<Parameter Name="defaultEmbeddingGenerator" Type="Microsoft.Extensions.AI.IEmbeddingGenerator" />
<Parameter Name="jsonSerializerOptions" Type="System.Text.Json.JsonSerializerOptions" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@
<BaseTypeName>Microsoft.Extensions.VectorData.ConnectorSupport.VectorStoreRecordPropertyModel</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.Experimental("MEVD9001")]</AttributeName>
<AttributeName Language="F#">[&lt;System.Diagnostics.CodeAnalysis.Experimental("MEVD9001")&gt;]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(0)&gt;]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
Represents a key property on a vector store record.
Expand Down
Loading