Citation

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

Bases: object

The citation displays the location of source text that is the agent uses to create the responses.

Methods

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

Attributes

source_location Gets the source_location of this Citation.
source_text Gets the source_text of this Citation.
__init__(**kwargs)

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

Parameters:
source_location

Gets the source_location of this Citation.

Returns:The source_location of this Citation.
Return type:oci.generative_ai_agent_runtime.models.SourceLocation
source_text

Gets the source_text of this Citation. The text that’s the source for the agent’s response.

Returns:The source_text of this Citation.
Return type:str