1 type derived from AnnotatedRegion
Microsoft.Extensions.AI.Abstractions (1)
Contents\TextSpanAnnotatedRegion.cs (1)
12public sealed class TextSpanAnnotatedRegion : AnnotatedRegion
7 references to AnnotatedRegion
Microsoft.Extensions.AI.Abstractions (4)
Contents\AIAnnotation.cs (2)
25/// The most common form of <see cref="AnnotatedRegion"/> is <see cref="TextSpanAnnotatedRegion"/>, which provides starting and ending character indices 28public IList<AnnotatedRegion>? AnnotatedRegions { get; set; }
Contents\AnnotatedRegion.cs (1)
18/// Initializes a new instance of the <see cref="AnnotatedRegion"/> class.
Contents\TextSpanAnnotatedRegion.cs (1)
10/// <remarks>This <see cref="AnnotatedRegion"/> typically applies to <see cref="TextContent"/>.</remarks>
Microsoft.Extensions.AI.Abstractions.Tests (2)
Contents\AIAnnotationTests.cs (1)
33List<AnnotatedRegion> regions = [new TextSpanAnnotatedRegion { StartIndex = 10, EndIndex = 42 }];
Contents\CitationAnnotationTests.cs (1)
42List<AnnotatedRegion> regions = [new TextSpanAnnotatedRegion { StartIndex = 10, EndIndex = 42 }];
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAIResponseClientIntegrationTests.cs (1)
40var regions = Assert.IsType<List<AnnotatedRegion>>(ca.AnnotatedRegions);