GroundingSupport¶
- class oci.generative_ai_inference.models.GroundingSupport(**kwargs)¶
Bases:
objectchunk to connect model response text to the source in groundingChunk
Methods:
__init__(**kwargs)Initializes a new GroundingSupport object with values from keyword arguments.
Attributes:
Gets the grounding_chunk_indices of this GroundingSupport.
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
segment (oci.generative_ai_inference.models.GroundingSupportSegment) – The value to assign to the segment property of this GroundingSupport.
grounding_chunk_indices (list[int]) – The value to assign to the grounding_chunk_indices property of this GroundingSupport.
- property 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]
- property segment¶
Gets the segment of this GroundingSupport.
- Returns
The segment of this GroundingSupport.
- Return type