AzureSearchIndexFieldMappingOptions Class
- java.
lang. Object - com.
azure. ai. openai. models. AzureSearchIndexFieldMappingOptions
- com.
Implements
public final class AzureSearchIndexFieldMappingOptions
implements JsonSerializable<AzureSearchIndexFieldMappingOptions>
Optional settings to control how fields are processed when using a configured Azure Search resource.
Constructor Summary
Constructor | Description |
---|---|
AzureSearchIndexFieldMappingOptions() |
Creates an instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
List<String> |
getContentFields()
Get the content |
String |
getContentFieldsSeparator()
Get the content |
String |
getFilepathField()
Get the filepath |
List<String> |
getImageVectorFields()
Get the image |
String |
getTitleField()
Get the title |
String |
getUrlField()
Get the url |
List<String> |
getVectorFields()
Get the vector |
Azure |
setContentFields(List<String> contentFields)
Set the content |
Azure |
setContentFieldsSeparator(String contentFieldsSeparator)
Set the content |
Azure |
setFilepathField(String filepathField)
Set the filepath |
Azure |
setImageVectorFields(List<String> imageVectorFields)
Set the image |
Azure |
setTitleField(String titleField)
Set the title |
Azure |
setUrlField(String urlField)
Set the url |
Azure |
setVectorFields(List<String> vectorFields)
Set the vector |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
AzureSearchIndexFieldMappingOptions
public AzureSearchIndexFieldMappingOptions()
Creates an instance of AzureSearchIndexFieldMappingOptions class.
Method Details
fromJson
public static AzureSearchIndexFieldMappingOptions fromJson(JsonReader jsonReader)
Reads an instance of AzureSearchIndexFieldMappingOptions from the JsonReader.
Parameters:
Returns:
Throws:
getContentFields
public List<String> getContentFields()
Get the contentFields property: The names of index fields that should be treated as content.
Returns:
getContentFieldsSeparator
public String getContentFieldsSeparator()
Get the contentFieldsSeparator property: The separator pattern that content fields should use.
Returns:
getFilepathField
public String getFilepathField()
Get the filepathField property: The name of the index field to use as a filepath.
Returns:
getImageVectorFields
public List<String> getImageVectorFields()
Get the imageVectorFields property: The names of fields that represent image vector data.
Returns:
getTitleField
public String getTitleField()
Get the titleField property: The name of the index field to use as a title.
Returns:
getUrlField
public String getUrlField()
Get the urlField property: The name of the index field to use as a URL.
Returns:
getVectorFields
public List<String> getVectorFields()
Get the vectorFields property: The names of fields that represent vector data.
Returns:
setContentFields
public AzureSearchIndexFieldMappingOptions setContentFields(List<String> contentFields)
Set the contentFields property: The names of index fields that should be treated as content.
Parameters:
Returns:
setContentFieldsSeparator
public AzureSearchIndexFieldMappingOptions setContentFieldsSeparator(String contentFieldsSeparator)
Set the contentFieldsSeparator property: The separator pattern that content fields should use.
Parameters:
Returns:
setFilepathField
public AzureSearchIndexFieldMappingOptions setFilepathField(String filepathField)
Set the filepathField property: The name of the index field to use as a filepath.
Parameters:
Returns:
setImageVectorFields
public AzureSearchIndexFieldMappingOptions setImageVectorFields(List<String> imageVectorFields)
Set the imageVectorFields property: The names of fields that represent image vector data.
Parameters:
Returns:
setTitleField
public AzureSearchIndexFieldMappingOptions setTitleField(String titleField)
Set the titleField property: The name of the index field to use as a title.
Parameters:
Returns:
setUrlField
public AzureSearchIndexFieldMappingOptions setUrlField(String urlField)
Set the urlField property: The name of the index field to use as a URL.
Parameters:
Returns:
setVectorFields
public AzureSearchIndexFieldMappingOptions setVectorFields(List<String> vectorFields)
Set the vectorFields property: The names of fields that represent vector data.
Parameters:
Returns: