Segment

io.cequence.openaiscala.gemini.domain.response.Segment
case class Segment(partIndex: Int, startIndex: Int, endIndex: Int, text: String)

Segment of the content.

Attributes

endIndex

Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero.

partIndex

Output only. The index of a Part object within its parent Content object.

startIndex

Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero.

text

Output only. The text corresponding to the segment from the response.

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