GroundingSupport

class oci.generative_ai_inference.models.GroundingSupport(**kwargs)

Bases: object

chunk to connect model response text to the source in groundingChunk

Methods

__init__(**kwargs) Initializes a new GroundingSupport object with values from keyword arguments.

Attributes

grounding_chunk_indices Gets the grounding_chunk_indices of this GroundingSupport.
segment Gets the segment of this GroundingSupport.
__init__(**kwargs)

Initializes a new GroundingSupport object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
grounding_chunk_indices

Gets the grounding_chunk_indices of this GroundingSupport. The grounding chunk indices

Returns:The grounding_chunk_indices of this GroundingSupport.
Return type:list[int]
segment

Gets the segment of this GroundingSupport.

Returns:The segment of this GroundingSupport.
Return type:oci.generative_ai_inference.models.GroundingSupportSegment