Class Citations
Inherited Members
Namespace: Glitch9.AIDevKit.Cohere
Assembly: Glitch9.AIDevKit.Provider.Cohere.dll
Syntax
public sealed class Citations
Properties
| Edit this page View SourceContentIndex
Optional. Index of the content block in which this citation appears.
Declaration
[JsonProperty("content_index")]
public int? ContentIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
End
Optional. End index of the cited snippet in the original source text.
Declaration
[JsonProperty("end")]
public int? End { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Sources
Optional. A list of citation sources (tool or document).
Declaration
[JsonProperty("sources")]
public CitationSource[] Sources { get; set; }
Property Value
| Type | Description |
|---|---|
| CitationSource[] |
Start
Optional. Start index of the cited snippet in the original source text.
Declaration
[JsonProperty("start")]
public int? Start { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Text
Optional. Text snippet that is being cited.
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Type
Optional. The type of citation which indicates what part of the response the citation is for.
Declaration
[JsonProperty("type")]
public CitationType? Type { get; set; }
Property Value
| Type | Description |
|---|---|
| CitationType? |