google-apis-firebaseml_v2beta 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8102935f78ac2c9d16e3c032050542799b129cab240aba2182f33f802f52b28e
|
4
|
+
data.tar.gz: 2d3826c5a77824d732981f95089d59e454872db35b91a4eeb26196c0b27abffc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8e43417ca637df413b52403109e1ddc88561bcf1bea95bfc365f0c27a5df2ddbf0440b30141a3f047e432577944fa99b5b37dac479120ace0ad4153af59bcdf
|
7
|
+
data.tar.gz: 594ddfbfc7d6609ac4bbebca4bf3083056b720682fa589c92abb2fd9eb32e2a8fe7c80d83c2256b5d130afffb7315345e1c2f5d023247a92de0755206e8ac2ba
|
data/CHANGELOG.md
CHANGED
@@ -260,23 +260,39 @@ module Google
|
|
260
260
|
class GoogleCloudAiplatformV1beta1CountTokensRequest
|
261
261
|
include Google::Apis::Core::Hashable
|
262
262
|
|
263
|
-
#
|
263
|
+
# Optional. Input content.
|
264
264
|
# Corresponds to the JSON property `contents`
|
265
265
|
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content>]
|
266
266
|
attr_accessor :contents
|
267
267
|
|
268
|
-
#
|
268
|
+
# Optional. The instances that are the input to token counting call. Schema is
|
269
269
|
# identical to the prediction schema of the underlying model.
|
270
270
|
# Corresponds to the JSON property `instances`
|
271
271
|
# @return [Array<Object>]
|
272
272
|
attr_accessor :instances
|
273
273
|
|
274
|
-
#
|
274
|
+
# Optional. The name of the publisher model requested to serve the prediction.
|
275
275
|
# Format: `projects/`project`/locations/`location`/publishers/*/models/*`
|
276
276
|
# Corresponds to the JSON property `model`
|
277
277
|
# @return [String]
|
278
278
|
attr_accessor :model
|
279
279
|
|
280
|
+
# The base structured datatype containing multi-part content of a message. A `
|
281
|
+
# Content` includes a `role` field designating the producer of the `Content` and
|
282
|
+
# a `parts` field containing multi-part data that contains the content of the
|
283
|
+
# message turn.
|
284
|
+
# Corresponds to the JSON property `systemInstruction`
|
285
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content]
|
286
|
+
attr_accessor :system_instruction
|
287
|
+
|
288
|
+
# Optional. A list of `Tools` the model may use to generate the next response. A
|
289
|
+
# `Tool` is a piece of code that enables the system to interact with external
|
290
|
+
# systems to perform an action, or set of actions, outside of knowledge and
|
291
|
+
# scope of the model.
|
292
|
+
# Corresponds to the JSON property `tools`
|
293
|
+
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Tool>]
|
294
|
+
attr_accessor :tools
|
295
|
+
|
280
296
|
def initialize(**args)
|
281
297
|
update!(**args)
|
282
298
|
end
|
@@ -286,6 +302,8 @@ module Google
|
|
286
302
|
@contents = args[:contents] if args.key?(:contents)
|
287
303
|
@instances = args[:instances] if args.key?(:instances)
|
288
304
|
@model = args[:model] if args.key?(:model)
|
305
|
+
@system_instruction = args[:system_instruction] if args.key?(:system_instruction)
|
306
|
+
@tools = args[:tools] if args.key?(:tools)
|
289
307
|
end
|
290
308
|
end
|
291
309
|
|
@@ -725,94 +743,6 @@ module Google
|
|
725
743
|
end
|
726
744
|
end
|
727
745
|
|
728
|
-
# Grounding attribution.
|
729
|
-
class GoogleCloudAiplatformV1beta1GroundingAttribution
|
730
|
-
include Google::Apis::Core::Hashable
|
731
|
-
|
732
|
-
# Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1.
|
733
|
-
# 1 is the most confident.
|
734
|
-
# Corresponds to the JSON property `confidenceScore`
|
735
|
-
# @return [Float]
|
736
|
-
attr_accessor :confidence_score
|
737
|
-
|
738
|
-
# Attribution from context retrieved by the retrieval tools.
|
739
|
-
# Corresponds to the JSON property `retrievedContext`
|
740
|
-
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext]
|
741
|
-
attr_accessor :retrieved_context
|
742
|
-
|
743
|
-
# Segment of the content.
|
744
|
-
# Corresponds to the JSON property `segment`
|
745
|
-
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Segment]
|
746
|
-
attr_accessor :segment
|
747
|
-
|
748
|
-
# Attribution from the web.
|
749
|
-
# Corresponds to the JSON property `web`
|
750
|
-
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingAttributionWeb]
|
751
|
-
attr_accessor :web
|
752
|
-
|
753
|
-
def initialize(**args)
|
754
|
-
update!(**args)
|
755
|
-
end
|
756
|
-
|
757
|
-
# Update properties of this object
|
758
|
-
def update!(**args)
|
759
|
-
@confidence_score = args[:confidence_score] if args.key?(:confidence_score)
|
760
|
-
@retrieved_context = args[:retrieved_context] if args.key?(:retrieved_context)
|
761
|
-
@segment = args[:segment] if args.key?(:segment)
|
762
|
-
@web = args[:web] if args.key?(:web)
|
763
|
-
end
|
764
|
-
end
|
765
|
-
|
766
|
-
# Attribution from context retrieved by the retrieval tools.
|
767
|
-
class GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext
|
768
|
-
include Google::Apis::Core::Hashable
|
769
|
-
|
770
|
-
# Output only. Title of the attribution.
|
771
|
-
# Corresponds to the JSON property `title`
|
772
|
-
# @return [String]
|
773
|
-
attr_accessor :title
|
774
|
-
|
775
|
-
# Output only. URI reference of the attribution.
|
776
|
-
# Corresponds to the JSON property `uri`
|
777
|
-
# @return [String]
|
778
|
-
attr_accessor :uri
|
779
|
-
|
780
|
-
def initialize(**args)
|
781
|
-
update!(**args)
|
782
|
-
end
|
783
|
-
|
784
|
-
# Update properties of this object
|
785
|
-
def update!(**args)
|
786
|
-
@title = args[:title] if args.key?(:title)
|
787
|
-
@uri = args[:uri] if args.key?(:uri)
|
788
|
-
end
|
789
|
-
end
|
790
|
-
|
791
|
-
# Attribution from the web.
|
792
|
-
class GoogleCloudAiplatformV1beta1GroundingAttributionWeb
|
793
|
-
include Google::Apis::Core::Hashable
|
794
|
-
|
795
|
-
# Output only. Title of the attribution.
|
796
|
-
# Corresponds to the JSON property `title`
|
797
|
-
# @return [String]
|
798
|
-
attr_accessor :title
|
799
|
-
|
800
|
-
# Output only. URI reference of the attribution.
|
801
|
-
# Corresponds to the JSON property `uri`
|
802
|
-
# @return [String]
|
803
|
-
attr_accessor :uri
|
804
|
-
|
805
|
-
def initialize(**args)
|
806
|
-
update!(**args)
|
807
|
-
end
|
808
|
-
|
809
|
-
# Update properties of this object
|
810
|
-
def update!(**args)
|
811
|
-
@title = args[:title] if args.key?(:title)
|
812
|
-
@uri = args[:uri] if args.key?(:uri)
|
813
|
-
end
|
814
|
-
end
|
815
|
-
|
816
746
|
# Grounding chunk.
|
817
747
|
class GoogleCloudAiplatformV1beta1GroundingChunk
|
818
748
|
include Google::Apis::Core::Hashable
|
@@ -892,11 +822,6 @@ module Google
|
|
892
822
|
class GoogleCloudAiplatformV1beta1GroundingMetadata
|
893
823
|
include Google::Apis::Core::Hashable
|
894
824
|
|
895
|
-
# Optional. List of grounding attributions.
|
896
|
-
# Corresponds to the JSON property `groundingAttributions`
|
897
|
-
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingAttribution>]
|
898
|
-
attr_accessor :grounding_attributions
|
899
|
-
|
900
825
|
# List of supporting references retrieved from specified grounding source.
|
901
826
|
# Corresponds to the JSON property `groundingChunks`
|
902
827
|
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunk>]
|
@@ -928,7 +853,6 @@ module Google
|
|
928
853
|
|
929
854
|
# Update properties of this object
|
930
855
|
def update!(**args)
|
931
|
-
@grounding_attributions = args[:grounding_attributions] if args.key?(:grounding_attributions)
|
932
856
|
@grounding_chunks = args[:grounding_chunks] if args.key?(:grounding_chunks)
|
933
857
|
@grounding_supports = args[:grounding_supports] if args.key?(:grounding_supports)
|
934
858
|
@retrieval_queries = args[:retrieval_queries] if args.key?(:retrieval_queries)
|
@@ -1034,9 +958,7 @@ module Google
|
|
1034
958
|
class GoogleCloudAiplatformV1beta1Retrieval
|
1035
959
|
include Google::Apis::Core::Hashable
|
1036
960
|
|
1037
|
-
# Optional.
|
1038
|
-
# attribution. This does not affect how the result is given to the model for
|
1039
|
-
# generation.
|
961
|
+
# Optional. Deprecated. This option is no longer supported.
|
1040
962
|
# Corresponds to the JSON property `disableAttribution`
|
1041
963
|
# @return [Boolean]
|
1042
964
|
attr_accessor :disable_attribution
|
@@ -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.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240722"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -136,24 +136,6 @@ module Google
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
137
137
|
end
|
138
138
|
|
139
|
-
class GoogleCloudAiplatformV1beta1GroundingAttribution
|
140
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
-
|
142
|
-
include Google::Apis::Core::JsonObjectSupport
|
143
|
-
end
|
144
|
-
|
145
|
-
class GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext
|
146
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
-
|
148
|
-
include Google::Apis::Core::JsonObjectSupport
|
149
|
-
end
|
150
|
-
|
151
|
-
class GoogleCloudAiplatformV1beta1GroundingAttributionWeb
|
152
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
-
|
154
|
-
include Google::Apis::Core::JsonObjectSupport
|
155
|
-
end
|
156
|
-
|
157
139
|
class GoogleCloudAiplatformV1beta1GroundingChunk
|
158
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
141
|
|
@@ -339,6 +321,10 @@ module Google
|
|
339
321
|
|
340
322
|
collection :instances, as: 'instances'
|
341
323
|
property :model, as: 'model'
|
324
|
+
property :system_instruction, as: 'systemInstruction', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
|
325
|
+
|
326
|
+
collection :tools, as: 'tools', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Tool, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Tool::Representation
|
327
|
+
|
342
328
|
end
|
343
329
|
end
|
344
330
|
|
@@ -467,35 +453,6 @@ module Google
|
|
467
453
|
end
|
468
454
|
end
|
469
455
|
|
470
|
-
class GoogleCloudAiplatformV1beta1GroundingAttribution
|
471
|
-
# @private
|
472
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
473
|
-
property :confidence_score, as: 'confidenceScore'
|
474
|
-
property :retrieved_context, as: 'retrievedContext', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext::Representation
|
475
|
-
|
476
|
-
property :segment, as: 'segment', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Segment, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Segment::Representation
|
477
|
-
|
478
|
-
property :web, as: 'web', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingAttributionWeb, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingAttributionWeb::Representation
|
479
|
-
|
480
|
-
end
|
481
|
-
end
|
482
|
-
|
483
|
-
class GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext
|
484
|
-
# @private
|
485
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
486
|
-
property :title, as: 'title'
|
487
|
-
property :uri, as: 'uri'
|
488
|
-
end
|
489
|
-
end
|
490
|
-
|
491
|
-
class GoogleCloudAiplatformV1beta1GroundingAttributionWeb
|
492
|
-
# @private
|
493
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
494
|
-
property :title, as: 'title'
|
495
|
-
property :uri, as: 'uri'
|
496
|
-
end
|
497
|
-
end
|
498
|
-
|
499
456
|
class GoogleCloudAiplatformV1beta1GroundingChunk
|
500
457
|
# @private
|
501
458
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -525,8 +482,6 @@ module Google
|
|
525
482
|
class GoogleCloudAiplatformV1beta1GroundingMetadata
|
526
483
|
# @private
|
527
484
|
class Representation < Google::Apis::Core::JsonRepresentation
|
528
|
-
collection :grounding_attributions, as: 'groundingAttributions', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingAttribution, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingAttribution::Representation
|
529
|
-
|
530
485
|
collection :grounding_chunks, as: 'groundingChunks', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunk, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunk::Representation
|
531
486
|
|
532
487
|
collection :grounding_supports, as: 'groundingSupports', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport::Representation
|
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.9.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-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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.9.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: []
|