Class Citation
A section of the generated response which cites the documents that were used for generating the response.
Inherited Members
Namespace: Oci.GenerativeaiinferenceService.Models
Assembly: OCI.DotNetSDK.Generativeaiinference.dll
Syntax
public class Citation
Properties
DocumentIds
Declaration
[Required(ErrorMessage = "DocumentIds is required.")]
[JsonProperty(PropertyName = "documentIds")]
public List<string> DocumentIds { get; set; }
Property Value
Type | Description |
---|---|
List<string> | Identifiers for the documents cited in the current generated response. |
Remarks
Required
End
Declaration
[Required(ErrorMessage = "End is required.")]
[JsonProperty(PropertyName = "end")]
public int? End { get; set; }
Property Value
Type | Description |
---|---|
int? | Counting from zero, the index of the text that the citation ends after. |
Remarks
Required
Start
Declaration
[Required(ErrorMessage = "Start is required.")]
[JsonProperty(PropertyName = "start")]
public int? Start { get; set; }
Property Value
Type | Description |
---|---|
int? | Counting from zero, the index of the text where the citation starts. |
Remarks
Required
Text
Declaration
[Required(ErrorMessage = "Text is required.")]
[JsonProperty(PropertyName = "text")]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
string | The text of the citation. |
Remarks
Required