google-apis-firebaseml_v2beta 0.44.0 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5215a8974c91fc848551dc5d172dd99be8e3b310fdb26263a24e46224398e31a
|
|
4
|
+
data.tar.gz: c8a36df1b70898d5e4fcff2577cef5b8bad3eaae555d7672f06670aafbd67d6e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9561377e5a6fc89c2aebea73f4bc580e92382aea90370f6dc6ed3203f27cce5822db89ea4fe8edfe84ab3019755e04ad8b5d905133d654cb926c89332e62d9f4
|
|
7
|
+
data.tar.gz: d19cd1a1243e7554a1afc32f7d638b6f497fc78aae9803ec55430779430cd4015c0911b16d2f667ba7a669304ea2e7dee50bb67c581cf01e3a2a18f9104a6023
|
data/CHANGELOG.md
CHANGED
|
@@ -222,16 +222,6 @@ module Google
|
|
|
222
222
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints]
|
|
223
223
|
attr_accessor :language_hints
|
|
224
224
|
|
|
225
|
-
# Optional. Configures transcription mode. Supported values: `VERBATIM`, `SMART`.
|
|
226
|
-
# If unspecified, defaults to `VERBATIM` transcription. In `SMART` mode, the
|
|
227
|
-
# model performs disfluency removal (eliminating filler words, repetitions, and
|
|
228
|
-
# false starts), light grammatical cleanup, automatic formatting (paragraphs,
|
|
229
|
-
# bullet points, numbered lists), and minor user edits (inline self-corrections).
|
|
230
|
-
# Timestamps and diarization are incompatible with mode `SMART`.
|
|
231
|
-
# Corresponds to the JSON property `mode`
|
|
232
|
-
# @return [String]
|
|
233
|
-
attr_accessor :mode
|
|
234
|
-
|
|
235
225
|
# Optional. Configures word-level timestamp generation.
|
|
236
226
|
# Corresponds to the JSON property `wordTimestamp`
|
|
237
227
|
# @return [Boolean]
|
|
@@ -250,7 +240,6 @@ module Google
|
|
|
250
240
|
@language_auto = args[:language_auto] if args.key?(:language_auto)
|
|
251
241
|
@language_codes = args[:language_codes] if args.key?(:language_codes)
|
|
252
242
|
@language_hints = args[:language_hints] if args.key?(:language_hints)
|
|
253
|
-
@mode = args[:mode] if args.key?(:mode)
|
|
254
243
|
@word_timestamp = args[:word_timestamp] if args.key?(:word_timestamp)
|
|
255
244
|
end
|
|
256
245
|
end
|
|
@@ -1885,6 +1874,11 @@ module Google
|
|
|
1885
1874
|
# @return [Float]
|
|
1886
1875
|
attr_accessor :top_p
|
|
1887
1876
|
|
|
1877
|
+
# Config for translation features.
|
|
1878
|
+
# Corresponds to the JSON property `translationConfig`
|
|
1879
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1TranslationConfig]
|
|
1880
|
+
attr_accessor :translation_config
|
|
1881
|
+
|
|
1888
1882
|
def initialize(**args)
|
|
1889
1883
|
update!(**args)
|
|
1890
1884
|
end
|
|
@@ -1916,6 +1910,7 @@ module Google
|
|
|
1916
1910
|
@thinking_config = args[:thinking_config] if args.key?(:thinking_config)
|
|
1917
1911
|
@top_k = args[:top_k] if args.key?(:top_k)
|
|
1918
1912
|
@top_p = args[:top_p] if args.key?(:top_p)
|
|
1913
|
+
@translation_config = args[:translation_config] if args.key?(:translation_config)
|
|
1919
1914
|
end
|
|
1920
1915
|
end
|
|
1921
1916
|
|
|
@@ -4298,6 +4293,35 @@ module Google
|
|
|
4298
4293
|
end
|
|
4299
4294
|
end
|
|
4300
4295
|
|
|
4296
|
+
# Config for translation features.
|
|
4297
|
+
class GoogleCloudAiplatformV1beta1TranslationConfig
|
|
4298
|
+
include Google::Apis::Core::Hashable
|
|
4299
|
+
|
|
4300
|
+
# Optional. If `true`, the model will generate audio when the target language is
|
|
4301
|
+
# spoken, essentially it will parrot the input. If `false`, we will not produce
|
|
4302
|
+
# audio for the target language.
|
|
4303
|
+
# Corresponds to the JSON property `echoTargetLanguage`
|
|
4304
|
+
# @return [Boolean]
|
|
4305
|
+
attr_accessor :echo_target_language
|
|
4306
|
+
alias_method :echo_target_language?, :echo_target_language
|
|
4307
|
+
|
|
4308
|
+
# Required. The target language for translation. Supported values are BCP-47
|
|
4309
|
+
# language codes (e.g. "en", "es", "fr").
|
|
4310
|
+
# Corresponds to the JSON property `targetLanguageCode`
|
|
4311
|
+
# @return [String]
|
|
4312
|
+
attr_accessor :target_language_code
|
|
4313
|
+
|
|
4314
|
+
def initialize(**args)
|
|
4315
|
+
update!(**args)
|
|
4316
|
+
end
|
|
4317
|
+
|
|
4318
|
+
# Update properties of this object
|
|
4319
|
+
def update!(**args)
|
|
4320
|
+
@echo_target_language = args[:echo_target_language] if args.key?(:echo_target_language)
|
|
4321
|
+
@target_language_code = args[:target_language_code] if args.key?(:target_language_code)
|
|
4322
|
+
end
|
|
4323
|
+
end
|
|
4324
|
+
|
|
4301
4325
|
# Tool to support URL context.
|
|
4302
4326
|
class GoogleCloudAiplatformV1beta1UrlContext
|
|
4303
4327
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module FirebasemlV2beta
|
|
18
18
|
# Version of the google-apis-firebaseml_v2beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.45.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260830"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -664,6 +664,12 @@ module Google
|
|
|
664
664
|
include Google::Apis::Core::JsonObjectSupport
|
|
665
665
|
end
|
|
666
666
|
|
|
667
|
+
class GoogleCloudAiplatformV1beta1TranslationConfig
|
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
669
|
+
|
|
670
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
671
|
+
end
|
|
672
|
+
|
|
667
673
|
class GoogleCloudAiplatformV1beta1UrlContext
|
|
668
674
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
669
675
|
|
|
@@ -792,7 +798,6 @@ module Google
|
|
|
792
798
|
collection :language_codes, as: 'languageCodes'
|
|
793
799
|
property :language_hints, as: 'languageHints', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints::Representation
|
|
794
800
|
|
|
795
|
-
property :mode, as: 'mode'
|
|
796
801
|
property :word_timestamp, as: 'wordTimestamp'
|
|
797
802
|
end
|
|
798
803
|
end
|
|
@@ -1217,6 +1222,8 @@ module Google
|
|
|
1217
1222
|
|
|
1218
1223
|
property :top_k, as: 'topK'
|
|
1219
1224
|
property :top_p, as: 'topP'
|
|
1225
|
+
property :translation_config, as: 'translationConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1TranslationConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1TranslationConfig::Representation
|
|
1226
|
+
|
|
1220
1227
|
end
|
|
1221
1228
|
end
|
|
1222
1229
|
|
|
@@ -1887,6 +1894,14 @@ module Google
|
|
|
1887
1894
|
end
|
|
1888
1895
|
end
|
|
1889
1896
|
|
|
1897
|
+
class GoogleCloudAiplatformV1beta1TranslationConfig
|
|
1898
|
+
# @private
|
|
1899
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1900
|
+
property :echo_target_language, as: 'echoTargetLanguage'
|
|
1901
|
+
property :target_language_code, as: 'targetLanguageCode'
|
|
1902
|
+
end
|
|
1903
|
+
end
|
|
1904
|
+
|
|
1890
1905
|
class GoogleCloudAiplatformV1beta1UrlContext
|
|
1891
1906
|
# @private
|
|
1892
1907
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-firebaseml_v2beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.45.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseml_v2beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.45.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseml_v2beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|