CreateAgentEndpointDetails¶
- class oci.generative_ai_agent.models.CreateAgentEndpointDetails(**kwargs)¶
Bases:
objectThe data to create an endpoint.
Methods:
__init__(**kwargs)Initializes a new CreateAgentEndpointDetails object with values from keyword arguments.
Attributes:
[Required] Gets the agent_id of this CreateAgentEndpointDetails.
[Required] Gets the compartment_id of this CreateAgentEndpointDetails.
Gets the content_moderation_config of this CreateAgentEndpointDetails.
Gets the defined_tags of this CreateAgentEndpointDetails.
Gets the description of this CreateAgentEndpointDetails.
Gets the display_name of this CreateAgentEndpointDetails.
Gets the freeform_tags of this CreateAgentEndpointDetails.
Gets the guardrail_config of this CreateAgentEndpointDetails.
Gets the human_input_config of this CreateAgentEndpointDetails.
Gets the metadata of this CreateAgentEndpointDetails.
Gets the output_config of this CreateAgentEndpointDetails.
Gets the provisioned_capacity_config of this CreateAgentEndpointDetails.
Gets the session_config of this CreateAgentEndpointDetails.
Gets the should_enable_citation of this CreateAgentEndpointDetails.
Gets the should_enable_multi_language of this CreateAgentEndpointDetails.
Gets the should_enable_session of this CreateAgentEndpointDetails.
Gets the should_enable_trace of this CreateAgentEndpointDetails.
- __init__(**kwargs)¶
Initializes a new CreateAgentEndpointDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this CreateAgentEndpointDetails.
description (str) – The value to assign to the description property of this CreateAgentEndpointDetails.
agent_id (str) – The value to assign to the agent_id property of this CreateAgentEndpointDetails.
content_moderation_config (oci.generative_ai_agent.models.ContentModerationConfig) – The value to assign to the content_moderation_config property of this CreateAgentEndpointDetails.
guardrail_config (oci.generative_ai_agent.models.GuardrailConfig) – The value to assign to the guardrail_config property of this CreateAgentEndpointDetails.
metadata (dict(str, str)) – The value to assign to the metadata property of this CreateAgentEndpointDetails.
human_input_config (oci.generative_ai_agent.models.HumanInputConfig) – The value to assign to the human_input_config property of this CreateAgentEndpointDetails.
output_config (oci.generative_ai_agent.models.OutputConfig) – The value to assign to the output_config property of this CreateAgentEndpointDetails.
should_enable_trace (bool) – The value to assign to the should_enable_trace property of this CreateAgentEndpointDetails.
should_enable_citation (bool) – The value to assign to the should_enable_citation property of this CreateAgentEndpointDetails.
should_enable_session (bool) – The value to assign to the should_enable_session property of this CreateAgentEndpointDetails.
should_enable_multi_language (bool) – The value to assign to the should_enable_multi_language property of this CreateAgentEndpointDetails.
session_config (oci.generative_ai_agent.models.SessionConfig) – The value to assign to the session_config property of this CreateAgentEndpointDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateAgentEndpointDetails.
provisioned_capacity_config (oci.generative_ai_agent.models.ProvisionedCapacityConfig) – The value to assign to the provisioned_capacity_config property of this CreateAgentEndpointDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateAgentEndpointDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateAgentEndpointDetails.
- property agent_id¶
[Required] Gets the agent_id of this CreateAgentEndpointDetails. The OCID of the agent that this endpoint is associated with.
- Returns
The agent_id of this CreateAgentEndpointDetails.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this CreateAgentEndpointDetails. The OCID of the compartment to create the endpoint in.
- Returns
The compartment_id of this CreateAgentEndpointDetails.
- Return type
str
- property content_moderation_config¶
Gets the content_moderation_config of this CreateAgentEndpointDetails.
- Returns
The content_moderation_config of this CreateAgentEndpointDetails.
- Return type
- property defined_tags¶
Gets the defined_tags of this CreateAgentEndpointDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this CreateAgentEndpointDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this CreateAgentEndpointDetails. An optional description of the endpoint.
- Returns
The description of this CreateAgentEndpointDetails.
- Return type
str
- property display_name¶
Gets the display_name of this CreateAgentEndpointDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this CreateAgentEndpointDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateAgentEndpointDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this CreateAgentEndpointDetails.
- Return type
dict(str, str)
- property guardrail_config¶
Gets the guardrail_config of this CreateAgentEndpointDetails.
- Returns
The guardrail_config of this CreateAgentEndpointDetails.
- Return type
- property human_input_config¶
Gets the human_input_config of this CreateAgentEndpointDetails.
- Returns
The human_input_config of this CreateAgentEndpointDetails.
- Return type
- property metadata¶
Gets the metadata of this CreateAgentEndpointDetails. Key-value pairs to allow additional configurations.
- Returns
The metadata of this CreateAgentEndpointDetails.
- Return type
dict(str, str)
- property output_config¶
Gets the output_config of this CreateAgentEndpointDetails.
- Returns
The output_config of this CreateAgentEndpointDetails.
- Return type
- property provisioned_capacity_config¶
Gets the provisioned_capacity_config of this CreateAgentEndpointDetails.
- Returns
The provisioned_capacity_config of this CreateAgentEndpointDetails.
- Return type
- property session_config¶
Gets the session_config of this CreateAgentEndpointDetails.
- Returns
The session_config of this CreateAgentEndpointDetails.
- Return type
- property should_enable_citation¶
Gets the should_enable_citation of this CreateAgentEndpointDetails. Whether to show citations in the chat result.
- Returns
The should_enable_citation of this CreateAgentEndpointDetails.
- Return type
bool
- property should_enable_multi_language¶
Gets the should_enable_multi_language of this CreateAgentEndpointDetails. Whether to enable multi-language for chat.
- Returns
The should_enable_multi_language of this CreateAgentEndpointDetails.
- Return type
bool
- property should_enable_session¶
Gets the should_enable_session of this CreateAgentEndpointDetails. Whether or not to enable Session-based chat.
- Returns
The should_enable_session of this CreateAgentEndpointDetails.
- Return type
bool
- property should_enable_trace¶
Gets the should_enable_trace of this CreateAgentEndpointDetails. Whether to show traces in the chat result.
- Returns
The should_enable_trace of this CreateAgentEndpointDetails.
- Return type
bool