Cloud Speech-to-Text V2 API - Class Google::Cloud::Speech::V2::CustomPromptConfig (v1.5.0)

Reference documentation and code samples for the Cloud Speech-to-Text V2 API class Google::Cloud::Speech::V2::CustomPromptConfig.

Configuration to enable custom prompt in chirp3.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#custom_prompt

def custom_prompt() -> ::String
Returns
  • (::String) — Optional. The custom instructions to override the existing instructions for chirp3.

#custom_prompt=

def custom_prompt=(value) -> ::String
Parameter
  • value (::String) — Optional. The custom instructions to override the existing instructions for chirp3.
Returns
  • (::String) — Optional. The custom instructions to override the existing instructions for chirp3.