DefaultIndexConfig

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

Bases: oci.generative_ai_agent.models.index_config.IndexConfig

DefaultIndexConfig

The default index is service managed vector store on behalf of the customer.

Attributes

INDEX_CONFIG_TYPE_DEFAULT_INDEX_CONFIG str(object=’’) -> str
INDEX_CONFIG_TYPE_OCI_DATABASE_CONFIG str(object=’’) -> str
INDEX_CONFIG_TYPE_OCI_OPEN_SEARCH_INDEX_CONFIG str(object=’’) -> str
index_config_type [Required] Gets the index_config_type of this IndexConfig.
should_enable_hybrid_search Gets the should_enable_hybrid_search of this DefaultIndexConfig.

Methods

__init__(**kwargs) Initializes a new DefaultIndexConfig 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.
INDEX_CONFIG_TYPE_DEFAULT_INDEX_CONFIG = 'DEFAULT_INDEX_CONFIG'
INDEX_CONFIG_TYPE_OCI_DATABASE_CONFIG = 'OCI_DATABASE_CONFIG'
INDEX_CONFIG_TYPE_OCI_OPEN_SEARCH_INDEX_CONFIG = 'OCI_OPEN_SEARCH_INDEX_CONFIG'
__init__(**kwargs)

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

Parameters:
  • index_config_type (str) – The value to assign to the index_config_type property of this DefaultIndexConfig. Allowed values for this property are: “DEFAULT_INDEX_CONFIG”, “OCI_OPEN_SEARCH_INDEX_CONFIG”, “OCI_DATABASE_CONFIG”
  • should_enable_hybrid_search (bool) – The value to assign to the should_enable_hybrid_search property of this DefaultIndexConfig.
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.

index_config_type

[Required] Gets the index_config_type of this IndexConfig. The type of index. The allowed values are: - DEFAULT_INDEX_CONFIG: DefaultIndexConfig allows the service to create and manage vector store on behalf of the customer. - OCI_OPEN_SEARCH_INDEX_CONFIG: OciOpenSearchIndexConfig allows customer to configure their OpenSearch cluster. - OCI_DATABASE_CONFIG: OciDatabaseConfig allows customer to configure their Database.

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

Returns:The index_config_type of this IndexConfig.
Return type:str

Gets the should_enable_hybrid_search of this DefaultIndexConfig. Whether to enable Hybrid search in service managed OpenSearch.

Returns:The should_enable_hybrid_search of this DefaultIndexConfig.
Return type:bool