Index¶
-
class
oci.generative_ai_agent.models.
Index
(**kwargs)¶ Bases:
object
Index
OCI OpenSearch index details.
Methods
__init__
(**kwargs)Initializes a new Index object with values from keyword arguments. Attributes
name
[Required] Gets the name of this Index. schema
[Required] Gets the schema of this Index. -
__init__
(**kwargs)¶ Initializes a new Index object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this Index.
- schema (oci.generative_ai_agent.models.IndexSchema) – The value to assign to the schema property of this Index.
-
name
¶ [Required] Gets the name of this Index. The index name in opensearch.
Returns: The name of this Index. Return type: str
-
schema
¶ [Required] Gets the schema of this Index.
Returns: The schema of this Index. Return type: oci.generative_ai_agent.models.IndexSchema
-