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
''
Display name for the parameter.
// openai.parameters[0].displayName
'Organization ID'
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.'
Hint for parameter usage.
// openai.parameters[0].hint
'Add an (optional) organization ID'
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 VectorOptions.
// 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 provider may take in. May or may not be required.
Passed into the
parameters
block in VectorizeServiceOptions (except forvectorDimension
, which should be set in the upper-leveldimension: number
field).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.
Field
displayName - Display name for the parameter.
Field
hint - Hint for parameter usage.
See