namespace (str) : The instance data will be partitioned based on the “namespace”
field,If the namespace is enabled, you need to specify the namespace field
name during initialization, Otherwise, the queries cannot be executed
correctly.
embedding_field_separator(str): Delimiter specified for writing vectorfield data, default is comma.
output_fields: Specify the field list returned when invoking OpenSearch,by default it is the value list of the field mapping field.
Methods
__init__(endpoint, instance_id, username, ...)
__init__(endpoint: str, instance_id: str, username: str, password: str, table_name: str, field_name_mapping: Dict[str, str], protocol: str = 'http', namespace: str = '', embedding_field_separator: str = ',', output_fields: Optional[List[str]] = None) → None[source]¶
Examples using AlibabaCloudOpenSearchSettings¶
Alibaba Cloud OpenSearch