22 lines
564 B
C#
22 lines
564 B
C#
using System.Text.Json.Serialization;
|
|||
|
|
|
||
|
|
namespace AnthropicClient.Models;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Represents a citation for specific locations within text content.
|
||
|
|
/// </summary>
|
||
|
|
public class CharacterLocationCitation : Citation
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// Gets the start character index of the citation.
|
||
|
|
/// </summary>
|
||
|
|
[JsonPropertyName("start_char_index")]
|
||
|
|
public int StartCharIndex { get; init; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Gets the end character index of the citation.
|
||
|
|
/// </summary>
|
||
|
|
[JsonPropertyName("end_char_index")]
|
||
|
|
public int EndCharIndex { get; init; }
|
||
|
|
}
|