google-apis-firebaseml_v2beta 0.3.0 → 0.5.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: 623f39cffbb9f40de504abf22c37634a69e30c9678785dbd613bc931f20cf9cd
|
4
|
+
data.tar.gz: beafa9130d306bd9863e517e70278697d4000b6932303776cccc5296c7436a9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 216deb059eb8c7537371a459cdaed72c3655aeaeecef1760d512de0b8adbe1fb86faab90868527ea4f55c973c70f0281a1d6768713b0fe7e58937a93b8e82e39
|
7
|
+
data.tar.gz: 44992ac4dce3d1d1dc121869d172d86049c99a973b1d79171aed2c43f6339e77b63292ef6bf3a3394f583dbfc37fee3971d14bd17ce7059f5ae94e81b34236ab
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-firebaseml_v2beta
|
2
2
|
|
3
|
+
### v0.5.0 (2024-05-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240521
|
6
|
+
|
7
|
+
### v0.4.0 (2024-05-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240515
|
10
|
+
* Regenerated using generator version 0.15.0
|
11
|
+
|
3
12
|
### v0.3.0 (2024-04-28)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240425
|
@@ -594,6 +594,13 @@ module Google
|
|
594
594
|
# @return [String]
|
595
595
|
attr_accessor :response_mime_type
|
596
596
|
|
597
|
+
# Schema is used to define the format of input/output data. Represents a select
|
598
|
+
# subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
|
599
|
+
# schema). More fields may be added in the future as needed.
|
600
|
+
# Corresponds to the JSON property `responseSchema`
|
601
|
+
# @return [Google::Apis::FirebasemlV2beta::Schema]
|
602
|
+
attr_accessor :response_schema
|
603
|
+
|
597
604
|
# Optional. Stop sequences.
|
598
605
|
# Corresponds to the JSON property `stopSequences`
|
599
606
|
# @return [Array<String>]
|
@@ -625,6 +632,7 @@ module Google
|
|
625
632
|
@max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
|
626
633
|
@presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
|
627
634
|
@response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
|
635
|
+
@response_schema = args[:response_schema] if args.key?(:response_schema)
|
628
636
|
@stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
|
629
637
|
@temperature = args[:temperature] if args.key?(:temperature)
|
630
638
|
@top_k = args[:top_k] if args.key?(:top_k)
|
@@ -632,6 +640,19 @@ module Google
|
|
632
640
|
end
|
633
641
|
end
|
634
642
|
|
643
|
+
# Tool to retrieve public web data for grounding, powered by Google.
|
644
|
+
class GoogleSearchRetrieval
|
645
|
+
include Google::Apis::Core::Hashable
|
646
|
+
|
647
|
+
def initialize(**args)
|
648
|
+
update!(**args)
|
649
|
+
end
|
650
|
+
|
651
|
+
# Update properties of this object
|
652
|
+
def update!(**args)
|
653
|
+
end
|
654
|
+
end
|
655
|
+
|
635
656
|
# Metadata returned to client when grounding is enabled.
|
636
657
|
class GroundingMetadata
|
637
658
|
include Google::Apis::Core::Hashable
|
@@ -1113,6 +1134,11 @@ module Google
|
|
1113
1134
|
# @return [Array<Google::Apis::FirebasemlV2beta::FunctionDeclaration>]
|
1114
1135
|
attr_accessor :function_declarations
|
1115
1136
|
|
1137
|
+
# Tool to retrieve public web data for grounding, powered by Google.
|
1138
|
+
# Corresponds to the JSON property `googleSearchRetrieval`
|
1139
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleSearchRetrieval]
|
1140
|
+
attr_accessor :google_search_retrieval
|
1141
|
+
|
1116
1142
|
# Defines a retrieval tool that model can call to access external knowledge.
|
1117
1143
|
# Corresponds to the JSON property `retrieval`
|
1118
1144
|
# @return [Google::Apis::FirebasemlV2beta::Retrieval]
|
@@ -1125,6 +1151,7 @@ module Google
|
|
1125
1151
|
# Update properties of this object
|
1126
1152
|
def update!(**args)
|
1127
1153
|
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
|
1154
|
+
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
|
1128
1155
|
@retrieval = args[:retrieval] if args.key?(:retrieval)
|
1129
1156
|
end
|
1130
1157
|
end
|
@@ -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.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240521"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -118,6 +118,12 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
+
class GoogleSearchRetrieval
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
121
127
|
class GroundingMetadata
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
129
|
|
@@ -378,6 +384,8 @@ module Google
|
|
378
384
|
property :max_output_tokens, as: 'maxOutputTokens'
|
379
385
|
property :presence_penalty, as: 'presencePenalty'
|
380
386
|
property :response_mime_type, as: 'responseMimeType'
|
387
|
+
property :response_schema, as: 'responseSchema', class: Google::Apis::FirebasemlV2beta::Schema, decorator: Google::Apis::FirebasemlV2beta::Schema::Representation
|
388
|
+
|
381
389
|
collection :stop_sequences, as: 'stopSequences'
|
382
390
|
property :temperature, as: 'temperature'
|
383
391
|
property :top_k, as: 'topK'
|
@@ -385,6 +393,12 @@ module Google
|
|
385
393
|
end
|
386
394
|
end
|
387
395
|
|
396
|
+
class GoogleSearchRetrieval
|
397
|
+
# @private
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
399
|
+
end
|
400
|
+
end
|
401
|
+
|
388
402
|
class GroundingMetadata
|
389
403
|
# @private
|
390
404
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -511,6 +525,8 @@ module Google
|
|
511
525
|
class Representation < Google::Apis::Core::JsonRepresentation
|
512
526
|
collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::FunctionDeclaration::Representation
|
513
527
|
|
528
|
+
property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::FirebasemlV2beta::GoogleSearchRetrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleSearchRetrieval::Representation
|
529
|
+
|
514
530
|
property :retrieval, as: 'retrieval', class: Google::Apis::FirebasemlV2beta::Retrieval, decorator: Google::Apis::FirebasemlV2beta::Retrieval::Representation
|
515
531
|
|
516
532
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseml_v2beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.5.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseml_v2beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|