GroundingSupportSegment

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

Bases: object

segment within groundingSupport.

Methods

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

Attributes

end_index Gets the end_index of this GroundingSupportSegment.
start_index Gets the start_index of this GroundingSupportSegment.
text Gets the text of this GroundingSupportSegment.
__init__(**kwargs)

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

Parameters:
  • start_index (int) – The value to assign to the start_index property of this GroundingSupportSegment.
  • end_index (int) – The value to assign to the end_index property of this GroundingSupportSegment.
  • text (str) – The value to assign to the text property of this GroundingSupportSegment.
end_index

Gets the end_index of this GroundingSupportSegment. The end index

Returns:The end_index of this GroundingSupportSegment.
Return type:int
start_index

Gets the start_index of this GroundingSupportSegment. The start index

Returns:The start_index of this GroundingSupportSegment.
Return type:int
text

Gets the text of this GroundingSupportSegment. the text in the segment

Returns:The text of this GroundingSupportSegment.
Return type:str