ToolRuntimeConfig¶
- class oci.generative_ai_agent.models.ToolRuntimeConfig(**kwargs)¶
Bases:
objectConfiguration for the tool.
Attributes:
A constant which can be used with the tool_runtime_config_type property of a ToolRuntimeConfig.
A constant which can be used with the tool_runtime_config_type property of a ToolRuntimeConfig.
A constant which can be used with the tool_runtime_config_type property of a ToolRuntimeConfig.
[Required] Gets the tool_runtime_config_type of this ToolRuntimeConfig.
Gets 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.
- property 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
- property version¶
Gets the version of this ToolRuntimeConfig. The version of the components.
- Returns
The version of this ToolRuntimeConfig.
- Return type
str