CitationSource

io.cequence.openaiscala.gemini.domain.response.CitationSource
case class CitationSource(startIndex: Option[Int], endIndex: Option[Int], uri: Option[String], license: Option[String])

A citation to a source for a portion of a specific response.

Attributes

endIndex

Optional. End of the attributed segment, exclusive.

license

Optional. License for the GitHub project that is attributed as a source for segment. License info is required for code citations.

startIndex

Optional. Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.

uri

Optional. URI that is attributed as a source for a portion of the text.

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product