Index¶
- class oci.generative_ai_agent.models.Index(**kwargs)¶
Bases:
objectOCI OpenSearch index details.
Methods:
__init__(**kwargs)Initializes a new Index object with values from keyword arguments.
Attributes:
[Required] Gets the name of this Index.
[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.
- property name¶
[Required] Gets the name of this Index. The index name in opensearch.
- Returns
The name of this Index.
- Return type
str
- property schema¶
[Required] Gets the schema of this Index.
- Returns
The schema of this Index.
- Return type