Skip to content

Commit

Permalink
Fixing parameter name to reflect the name of field
Browse files Browse the repository at this point in the history
  • Loading branch information
FMasudMsft committed Jan 31, 2025
1 parent 5d54d9c commit 02b27df
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -418,18 +418,18 @@ trait HandleEntityRecognition extends HasServiceParams {

val excludeNormalizedValues = new ServiceParam[Boolean](
this,
name = "inferenceOptions",
name = "excludeNormalizedValues",
doc = "(Optional) request parameter that allows the user to provide settings for"
+ " running the inference. If set to true, the service will exclude normalized"
)

def getInferenceOptions: Boolean = getScalarParam(excludeNormalizedValues)
def getExcludeNormalizedValues: Boolean = getScalarParam(excludeNormalizedValues)

def setInferenceOptions(value: Boolean): this.type = setScalarParam(excludeNormalizedValues, value)
def setExcludeNormalizedValues(value: Boolean): this.type = setScalarParam(excludeNormalizedValues, value)

def getInferenceOptionsCol: String = getVectorParam(excludeNormalizedValues)
def getExcludeNormalizedValuesCol: String = getVectorParam(excludeNormalizedValues)

def setInferenceOptionsCol(value: String): this.type = setVectorParam(excludeNormalizedValues, value)
def setexcludeNormalizedValuesCol(value: String): this.type = setVectorParam(excludeNormalizedValues, value)

def createEntityRecognitionRequest(row: Row,
analysisInput: MultiLanguageAnalysisInput,
Expand Down

0 comments on commit 02b27df

Please sign in to comment.