Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Citation

A section of the generated reply which cites external knowledge.

Properties

documentIds

documentIds: Array<string>

Identifiers of documents cited by this section of the generated reply.

end

end: number

The index of text that the citation ends after, counting from zero. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

start

start: number

The index of text that the citation starts at, counting from zero. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

text

text: string

The text of the citation

Functions

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Citation): object

getJsonObj