The default value of the provider, or an empty string if there is none.
Will always be in string form (even if the type is 'number').
// huggingface.parameters[0].defaultValue
''
Any additional help text/information about the parameter.
// huggingface.parameters[0].help
'The name of your Hugging Face dedicated endpoint, the first part of the Endpoint URL.'
The name of the parameter to be passed in.
The one exception is the vectorDimension parameter, which should be passed into the dimension field of the
vector block in CollectionVectorOptions/TableVectorColumnDefinition.
// huggingface.parameters[0].name
endpointName
Whether the parameter is required to be passed in.
// huggingface.parameters[0].required
true
The datatype of the parameter.
Commonly number or STRING.
// huggingface.parameters[0].type
STRING
Validations that may be done on the inputted value.
Commonly either an empty record, or { numericRange: [<min>, <max>] }.
// huggingface.parameters[0].validation
{}
Info about any additional, arbitrary parameter the model may take in. May or may not be required.
Passed into the
parametersblock in VectorizeServiceOptions (except forvectorDimension, which should be set in the upper-leveldimension: numberfield).Example
Field
name - The name of the parameter to be passed in.
Field
type - The datatype of the parameter.
Field
required - Whether the parameter is required to be passed in.
Field
defaultValue - The default value of the provider, or an empty string if there is none.
Field
validation - Validations that may be done on the inputted value.
Field
help - Any additional help text/information about the parameter.
See