GroundingSupportSegment¶
- class oci.generative_ai_inference.models.GroundingSupportSegment(**kwargs)¶
Bases:
objectsegment within groundingSupport.
Methods:
__init__(**kwargs)Initializes a new GroundingSupportSegment object with values from keyword arguments.
Attributes:
Gets the end_index of this GroundingSupportSegment.
Gets the start_index of this GroundingSupportSegment.
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.
- property end_index¶
Gets the end_index of this GroundingSupportSegment. The end index
- Returns
The end_index of this GroundingSupportSegment.
- Return type
int
- property start_index¶
Gets the start_index of this GroundingSupportSegment. The start index
- Returns
The start_index of this GroundingSupportSegment.
- Return type
int
- property text¶
Gets the text of this GroundingSupportSegment. the text in the segment
- Returns
The text of this GroundingSupportSegment.
- Return type
str