Paragraph

class oci.generative_ai_agent_runtime.models.Paragraph(**kwargs)

Bases: object

The paragraph of the generated message that contains a citation.

Methods

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

Attributes

end [Required] Gets the end of this Paragraph.
start [Required] Gets the start of this Paragraph.
text [Required] Gets the text of this Paragraph.
__init__(**kwargs)

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

Parameters:
  • text (str) – The value to assign to the text property of this Paragraph.
  • start (int) – The value to assign to the start property of this Paragraph.
  • end (int) – The value to assign to the end property of this Paragraph.
end

[Required] Gets the end of this Paragraph. Where the text with a citation ends in the generated message.

Returns:The end of this Paragraph.
Return type:int
start

[Required] Gets the start of this Paragraph. Where the text with a citation starts in the generated message.

Returns:The start of this Paragraph.
Return type:int
text

[Required] Gets the text of this Paragraph. The part of the generated message that contains a citation.

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