OciObjectStorageDataSourceConfig¶
- class oci.generative_ai_agent.models.OciObjectStorageDataSourceConfig(**kwargs)¶
Bases:
DataSourceConfigThe details of OCI Search with OpenSearch data source information.
Attributes:
A constant which can be used with the data_source_config_type property of a DataSourceConfig.
[Required] Gets the data_source_config_type of this DataSourceConfig.
Gets the object_storage_prefixes of this OciObjectStorageDataSourceConfig.
Gets the should_enable_multi_modality of this DataSourceConfig.
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'¶
A constant which can be used with the data_source_config_type property of a DataSourceConfig. This constant has a value of “OCI_OBJECT_STORAGE”
- __init__(**kwargs)¶
Initializes a new OciObjectStorageDataSourceConfig object with values from keyword arguments. The default value of the
data_source_config_typeattribute of this class isOCI_OBJECT_STORAGEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
should_enable_multi_modality (bool) – The value to assign to the should_enable_multi_modality property of this OciObjectStorageDataSourceConfig.
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.
- property data_source_config_type¶
[Required] Gets the data_source_config_type of this DataSourceConfig. The type of the tool.
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.
- property object_storage_prefixes¶
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
- property should_enable_multi_modality¶
Gets the should_enable_multi_modality of this DataSourceConfig. Flag to enable or disable multi modality such as image processing while ingestion of data. True enable the processing and false exclude the multi modality contents during ingestion.
- Returns
The should_enable_multi_modality of this DataSourceConfig.
- Return type
bool