1 type derived from AnnotatedRegion
Microsoft.Extensions.AI.Abstractions (1)
Contents\TextSpanAnnotatedRegion.cs (1)
12
public 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
28
public 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)
33
List<
AnnotatedRegion
> regions = [new TextSpanAnnotatedRegion { StartIndex = 10, EndIndex = 42 }];
Contents\CitationAnnotationTests.cs (1)
42
List<
AnnotatedRegion
> regions = [new TextSpanAnnotatedRegion { StartIndex = 10, EndIndex = 42 }];
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAIResponseClientIntegrationTests.cs (1)
40
var regions = Assert.IsType<List<
AnnotatedRegion
>>(ca.AnnotatedRegions);