OciObjectStorageDataSourceConfig

class oci.generative_ai_agent.models.OciObjectStorageDataSourceConfig(**kwargs)

Bases: oci.generative_ai_agent.models.data_source_config.DataSourceConfig

OciObjectStorageDataSourceConfig

The details of OCI Search with OpenSearch data source information.

Attributes

DATA_SOURCE_CONFIG_TYPE_OCI_OBJECT_STORAGE str(object=’’) -> str
data_source_config_type [Required] Gets the data_source_config_type of this DataSourceConfig.
object_storage_prefixes [Required] Gets the object_storage_prefixes of this OciObjectStorageDataSourceConfig.

Methods

__init__(**kwargs) Initializes a new OciObjectStorageDataSourceConfig object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
DATA_SOURCE_CONFIG_TYPE_OCI_OBJECT_STORAGE = 'OCI_OBJECT_STORAGE'
__init__(**kwargs)

Initializes a new OciObjectStorageDataSourceConfig object with values from keyword arguments. The default value of the data_source_config_type attribute of this class is OCI_OBJECT_STORAGE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • data_source_config_type (str) – The value to assign to the data_source_config_type property of this OciObjectStorageDataSourceConfig. Allowed values for this property are: “OCI_OBJECT_STORAGE”
  • object_storage_prefixes (list[oci.generative_ai_agent.models.ObjectStoragePrefix]) – The value to assign to the object_storage_prefixes property of this OciObjectStorageDataSourceConfig.
data_source_config_type

[Required] Gets the data_source_config_type of this DataSourceConfig. The type of the tool. The allowed values are: - OCI_OBJECT_STORAGE: The data source is OCI Object Storage.

Allowed values for this property are: “OCI_OBJECT_STORAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The data_source_config_type of this DataSourceConfig.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

object_storage_prefixes

[Required] Gets the object_storage_prefixes of this OciObjectStorageDataSourceConfig. The locations of data items in Object Storage, can either be an object (File) or a prefix (folder).

Returns:The object_storage_prefixes of this OciObjectStorageDataSourceConfig.
Return type:list[oci.generative_ai_agent.models.ObjectStoragePrefix]