ToolRuntimeConfig¶
-
class
oci.generative_ai_agent.models.ToolRuntimeConfig(**kwargs)¶ Bases:
objectConfiguration for the tool.
Attributes
TOOL_RUNTIME_CONFIG_TYPE_RAGA constant which can be used with the tool_runtime_config_type property of a ToolRuntimeConfig. TOOL_RUNTIME_CONFIG_TYPE_SQL_LARGEA constant which can be used with the tool_runtime_config_type property of a ToolRuntimeConfig. TOOL_RUNTIME_CONFIG_TYPE_SQL_SMALLA constant which can be used with the tool_runtime_config_type property of a ToolRuntimeConfig. tool_runtime_config_type[Required] Gets the tool_runtime_config_type of this ToolRuntimeConfig. versionGets the version of this ToolRuntimeConfig. Methods
__init__(**kwargs)Initializes a new ToolRuntimeConfig object with values from keyword arguments. -
TOOL_RUNTIME_CONFIG_TYPE_RAG= 'RAG'¶ A constant which can be used with the tool_runtime_config_type property of a ToolRuntimeConfig. This constant has a value of “RAG”
-
TOOL_RUNTIME_CONFIG_TYPE_SQL_LARGE= 'SQL_LARGE'¶ A constant which can be used with the tool_runtime_config_type property of a ToolRuntimeConfig. This constant has a value of “SQL_LARGE”
-
TOOL_RUNTIME_CONFIG_TYPE_SQL_SMALL= 'SQL_SMALL'¶ A constant which can be used with the tool_runtime_config_type property of a ToolRuntimeConfig. This constant has a value of “SQL_SMALL”
-
__init__(**kwargs)¶ Initializes a new ToolRuntimeConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - tool_runtime_config_type (str) – The value to assign to the tool_runtime_config_type property of this ToolRuntimeConfig. Allowed values for this property are: “RAG”, “SQL_SMALL”, “SQL_LARGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- version (str) – The value to assign to the version property of this ToolRuntimeConfig.
-
tool_runtime_config_type¶ [Required] Gets the tool_runtime_config_type of this ToolRuntimeConfig. The type of the tool.
Allowed values for this property are: “RAG”, “SQL_SMALL”, “SQL_LARGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The tool_runtime_config_type of this ToolRuntimeConfig. Return type: str
-
version¶ Gets the version of this ToolRuntimeConfig. The version of the components.
Returns: The version of this ToolRuntimeConfig. Return type: str
-