Skip to content

[speech-to-text] RecognizeOptions does not support character_insertion_bias #123

Description

@Festlandtommy

When using custom parameters for STT recognize, such as BackgroundAudioSuppression, MaxAlternatives I noticed there is no setter forCharacterInsertionBias.

Possible solution:

// SetCharacterInsertionBias : Allow user to set CharacterInsertionBias
func (_options *RecognizeOptions) SetCharacterInsertionBias(characterInsertionBias float32) *RecognizeOptions {
	_options.CharacterInsertionBias = core.Float32Ptr(characterInsertionBias)
	return _options
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions