AttributionSourceId

io.cequence.openaiscala.gemini.domain.response.AttributionSourceId$
See theAttributionSourceId companion trait

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

case class GroundingPassageId(passageId: String, partIndex: Int) extends AttributionSourceId

Identifier for a part within a GroundingPassage.

Identifier for a part within a GroundingPassage.

Attributes

partIndex

Output only. Index of the part within the GenerateAnswerRequest's GroundingPassage.content.

passageId

Output only. ID of the passage matching the GenerateAnswerRequest's GroundingPassage.id.

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class SemanticRetrieverChunk(source: String, chunk: String) extends AttributionSourceId

Identifier for a Chunk retrieved via Semantic Retriever specified in the GenerateAnswerRequest using SemanticRetrieverConfig.

Identifier for a Chunk retrieved via Semantic Retriever specified in the GenerateAnswerRequest using SemanticRetrieverConfig.

Attributes

chunk

Output only. Name of the Chunk containing the attributed text. Example: corpora/123/documents/abc/chunks/xyz

source

Output only. Name of the source matching the request's SemanticRetrieverConfig.source. Example: corpora/123 or corpora/123/documents/abc

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

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror