Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::Citations::InlineCitation (v1.2.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::Citations::InlineCitation.

An inline citation in the response text.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cited_chunk_indices

def cited_chunk_indices() -> ::Array<::Integer>
Returns
  • (::Array<::Integer>) — The indices of the cited chunks that back this text segment. Indices refer to the elements in cited_chunks.

#cited_chunk_indices=

def cited_chunk_indices=(value) -> ::Array<::Integer>
Parameter
  • value (::Array<::Integer>) — The indices of the cited chunks that back this text segment. Indices refer to the elements in cited_chunks.
Returns
  • (::Array<::Integer>) — The indices of the cited chunks that back this text segment. Indices refer to the elements in cited_chunks.

#end_index

def end_index() -> ::Integer
Returns
  • (::Integer) — The ending index (in bytes) of the text segment in the agent response.

#end_index=

def end_index=(value) -> ::Integer
Parameter
  • value (::Integer) — The ending index (in bytes) of the text segment in the agent response.
Returns
  • (::Integer) — The ending index (in bytes) of the text segment in the agent response.

#start_index

def start_index() -> ::Integer
Returns
  • (::Integer) — The starting index (in bytes) of the text segment in the agent response.

#start_index=

def start_index=(value) -> ::Integer
Parameter
  • value (::Integer) — The starting index (in bytes) of the text segment in the agent response.
Returns
  • (::Integer) — The starting index (in bytes) of the text segment in the agent response.