7 references to TextSpanAnnotatedRegion
Microsoft.Extensions.AI.Abstractions.Tests (4)
Contents\AIAnnotationTests.cs (2)
33
List<AnnotatedRegion> regions = [new
TextSpanAnnotatedRegion
{ StartIndex = 10, EndIndex = 42 }];
49
AnnotatedRegions = [new
TextSpanAnnotatedRegion
{ StartIndex = 10, EndIndex = 42 }],
Contents\CitationAnnotationTests.cs (2)
42
List<AnnotatedRegion> regions = [new
TextSpanAnnotatedRegion
{ StartIndex = 10, EndIndex = 42 }];
75
AnnotatedRegions = [new
TextSpanAnnotatedRegion
{ StartIndex = 10, EndIndex = 42 }],
Microsoft.Extensions.AI.OpenAI (3)
OpenAIAssistantsChatClient.cs (1)
246
AnnotatedRegions = [new
TextSpanAnnotatedRegion
{ StartIndex = tau.StartIndex, EndIndex = tau.EndIndex }],
OpenAIChatClient.cs (1)
508
AnnotatedRegions = [new
TextSpanAnnotatedRegion
{ StartIndex = annotation.StartIndex, EndIndex = annotation.EndIndex }],
OpenAIResponsesChatClient.cs (1)
638
AnnotatedRegions = [new
TextSpanAnnotatedRegion
{ StartIndex = ota.UriCitationStartIndex, EndIndex = ota.UriCitationEndIndex }],