Class Citation
- Namespace
- AnthropicClient.Models
- Assembly
- AnthropicClient.dll
Represents a citation
public abstract class Citation
- Inheritance
-
Citation
- Derived
- Inherited Members
Constructors
Citation(string)
Initializes a new instance of the Citation class with a specified type.
protected Citation(string type)
Parameters
type
stringThe type of the citation.
Properties
CitedText
Gets the text that is cited.
[JsonPropertyName("cited_text")]
public string CitedText { get; init; }
Property Value
DocumentIndex
Gets the document index of the citation.
[JsonPropertyName("document_index")]
public int DocumentIndex { get; init; }
Property Value
DocumentTitle
Gets the title of the document from which the citation is made.
[JsonPropertyName("document_title")]
public string DocumentTitle { get; init; }
Property Value
Type
Gets the type of the citation.
public string Type { get; init; }