google-apis-firebaseml_v2beta 0.7.0 → 0.8.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: a67e15b78def97e14f0491c414318d2323054cadebe746483ba1a08ced9d5822
|
4
|
+
data.tar.gz: f6ee31a514be810e31a1094357e9d9dad60865db9c2ae91d8cf06f94ef7d8211
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6eac07f2bc96c955990c9bb30271bff2c4154f07365cd782f4192682e427cd5706d604c6a56aeb60d2b7e127c500cc321a63703dd4d612198d35d80dadee42b
|
7
|
+
data.tar.gz: e4a9891d1095fd130d5b69b28d4719cf1f564899f9c55ba49d3b5d59252ea2fa1353f658dafca180ca050a1e0522d9e56ee3ddf522050df602f63538b960d06b
|
data/CHANGELOG.md
CHANGED
@@ -725,10 +725,188 @@ module Google
|
|
725
725
|
end
|
726
726
|
end
|
727
727
|
|
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
|
+
# Grounding chunk.
|
817
|
+
class GoogleCloudAiplatformV1beta1GroundingChunk
|
818
|
+
include Google::Apis::Core::Hashable
|
819
|
+
|
820
|
+
# Chunk from context retrieved by the retrieval tools.
|
821
|
+
# Corresponds to the JSON property `retrievedContext`
|
822
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext]
|
823
|
+
attr_accessor :retrieved_context
|
824
|
+
|
825
|
+
# Chunk from the web.
|
826
|
+
# Corresponds to the JSON property `web`
|
827
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkWeb]
|
828
|
+
attr_accessor :web
|
829
|
+
|
830
|
+
def initialize(**args)
|
831
|
+
update!(**args)
|
832
|
+
end
|
833
|
+
|
834
|
+
# Update properties of this object
|
835
|
+
def update!(**args)
|
836
|
+
@retrieved_context = args[:retrieved_context] if args.key?(:retrieved_context)
|
837
|
+
@web = args[:web] if args.key?(:web)
|
838
|
+
end
|
839
|
+
end
|
840
|
+
|
841
|
+
# Chunk from context retrieved by the retrieval tools.
|
842
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
|
843
|
+
include Google::Apis::Core::Hashable
|
844
|
+
|
845
|
+
# Title of the attribution.
|
846
|
+
# Corresponds to the JSON property `title`
|
847
|
+
# @return [String]
|
848
|
+
attr_accessor :title
|
849
|
+
|
850
|
+
# URI reference of the attribution.
|
851
|
+
# Corresponds to the JSON property `uri`
|
852
|
+
# @return [String]
|
853
|
+
attr_accessor :uri
|
854
|
+
|
855
|
+
def initialize(**args)
|
856
|
+
update!(**args)
|
857
|
+
end
|
858
|
+
|
859
|
+
# Update properties of this object
|
860
|
+
def update!(**args)
|
861
|
+
@title = args[:title] if args.key?(:title)
|
862
|
+
@uri = args[:uri] if args.key?(:uri)
|
863
|
+
end
|
864
|
+
end
|
865
|
+
|
866
|
+
# Chunk from the web.
|
867
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkWeb
|
868
|
+
include Google::Apis::Core::Hashable
|
869
|
+
|
870
|
+
# Title of the chunk.
|
871
|
+
# Corresponds to the JSON property `title`
|
872
|
+
# @return [String]
|
873
|
+
attr_accessor :title
|
874
|
+
|
875
|
+
# URI reference of the chunk.
|
876
|
+
# Corresponds to the JSON property `uri`
|
877
|
+
# @return [String]
|
878
|
+
attr_accessor :uri
|
879
|
+
|
880
|
+
def initialize(**args)
|
881
|
+
update!(**args)
|
882
|
+
end
|
883
|
+
|
884
|
+
# Update properties of this object
|
885
|
+
def update!(**args)
|
886
|
+
@title = args[:title] if args.key?(:title)
|
887
|
+
@uri = args[:uri] if args.key?(:uri)
|
888
|
+
end
|
889
|
+
end
|
890
|
+
|
728
891
|
# Metadata returned to client when grounding is enabled.
|
729
892
|
class GoogleCloudAiplatformV1beta1GroundingMetadata
|
730
893
|
include Google::Apis::Core::Hashable
|
731
894
|
|
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
|
+
# List of supporting references retrieved from specified grounding source.
|
901
|
+
# Corresponds to the JSON property `groundingChunks`
|
902
|
+
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunk>]
|
903
|
+
attr_accessor :grounding_chunks
|
904
|
+
|
905
|
+
# Optional. List of grounding support.
|
906
|
+
# Corresponds to the JSON property `groundingSupports`
|
907
|
+
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport>]
|
908
|
+
attr_accessor :grounding_supports
|
909
|
+
|
732
910
|
# Optional. Queries executed by the retrieval tools.
|
733
911
|
# Corresponds to the JSON property `retrievalQueries`
|
734
912
|
# @return [Array<String>]
|
@@ -750,12 +928,50 @@ module Google
|
|
750
928
|
|
751
929
|
# Update properties of this object
|
752
930
|
def update!(**args)
|
931
|
+
@grounding_attributions = args[:grounding_attributions] if args.key?(:grounding_attributions)
|
932
|
+
@grounding_chunks = args[:grounding_chunks] if args.key?(:grounding_chunks)
|
933
|
+
@grounding_supports = args[:grounding_supports] if args.key?(:grounding_supports)
|
753
934
|
@retrieval_queries = args[:retrieval_queries] if args.key?(:retrieval_queries)
|
754
935
|
@search_entry_point = args[:search_entry_point] if args.key?(:search_entry_point)
|
755
936
|
@web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries)
|
756
937
|
end
|
757
938
|
end
|
758
939
|
|
940
|
+
# Grounding support.
|
941
|
+
class GoogleCloudAiplatformV1beta1GroundingSupport
|
942
|
+
include Google::Apis::Core::Hashable
|
943
|
+
|
944
|
+
# Confidence score of the support references. Ranges from 0 to 1. 1 is the most
|
945
|
+
# confident. This list must have the same size as the grounding_chunk_indices.
|
946
|
+
# Corresponds to the JSON property `confidenceScores`
|
947
|
+
# @return [Array<Float>]
|
948
|
+
attr_accessor :confidence_scores
|
949
|
+
|
950
|
+
# A list of indices (into 'grounding_chunk') specifying the citations associated
|
951
|
+
# with the claim. For instance [1,3,4] means that grounding_chunk[1],
|
952
|
+
# grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to
|
953
|
+
# the claim.
|
954
|
+
# Corresponds to the JSON property `groundingChunkIndices`
|
955
|
+
# @return [Array<Fixnum>]
|
956
|
+
attr_accessor :grounding_chunk_indices
|
957
|
+
|
958
|
+
# Segment of the content.
|
959
|
+
# Corresponds to the JSON property `segment`
|
960
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Segment]
|
961
|
+
attr_accessor :segment
|
962
|
+
|
963
|
+
def initialize(**args)
|
964
|
+
update!(**args)
|
965
|
+
end
|
966
|
+
|
967
|
+
# Update properties of this object
|
968
|
+
def update!(**args)
|
969
|
+
@confidence_scores = args[:confidence_scores] if args.key?(:confidence_scores)
|
970
|
+
@grounding_chunk_indices = args[:grounding_chunk_indices] if args.key?(:grounding_chunk_indices)
|
971
|
+
@segment = args[:segment] if args.key?(:segment)
|
972
|
+
end
|
973
|
+
end
|
974
|
+
|
759
975
|
# A datatype containing media that is part of a multi-part `Content` message. A `
|
760
976
|
# Part` consists of data which has an associated datatype. A `Part` can only
|
761
977
|
# contain one of the accepted types in `Part.data`. A `Part` must have a fixed
|
@@ -1104,6 +1320,45 @@ module Google
|
|
1104
1320
|
end
|
1105
1321
|
end
|
1106
1322
|
|
1323
|
+
# Segment of the content.
|
1324
|
+
class GoogleCloudAiplatformV1beta1Segment
|
1325
|
+
include Google::Apis::Core::Hashable
|
1326
|
+
|
1327
|
+
# Output only. End index in the given Part, measured in bytes. Offset from the
|
1328
|
+
# start of the Part, exclusive, starting at zero.
|
1329
|
+
# Corresponds to the JSON property `endIndex`
|
1330
|
+
# @return [Fixnum]
|
1331
|
+
attr_accessor :end_index
|
1332
|
+
|
1333
|
+
# Output only. The index of a Part object within its parent Content object.
|
1334
|
+
# Corresponds to the JSON property `partIndex`
|
1335
|
+
# @return [Fixnum]
|
1336
|
+
attr_accessor :part_index
|
1337
|
+
|
1338
|
+
# Output only. Start index in the given Part, measured in bytes. Offset from the
|
1339
|
+
# start of the Part, inclusive, starting at zero.
|
1340
|
+
# Corresponds to the JSON property `startIndex`
|
1341
|
+
# @return [Fixnum]
|
1342
|
+
attr_accessor :start_index
|
1343
|
+
|
1344
|
+
# Output only. The text corresponding to the segment from the response.
|
1345
|
+
# Corresponds to the JSON property `text`
|
1346
|
+
# @return [String]
|
1347
|
+
attr_accessor :text
|
1348
|
+
|
1349
|
+
def initialize(**args)
|
1350
|
+
update!(**args)
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
# Update properties of this object
|
1354
|
+
def update!(**args)
|
1355
|
+
@end_index = args[:end_index] if args.key?(:end_index)
|
1356
|
+
@part_index = args[:part_index] if args.key?(:part_index)
|
1357
|
+
@start_index = args[:start_index] if args.key?(:start_index)
|
1358
|
+
@text = args[:text] if args.key?(:text)
|
1359
|
+
end
|
1360
|
+
end
|
1361
|
+
|
1107
1362
|
# Tool details that the model may use to generate response. A `Tool` is a piece
|
1108
1363
|
# of code that enables the system to interact with external systems to perform
|
1109
1364
|
# an action, or set of actions, outside of knowledge and scope of the model. A
|
@@ -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.8.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 = "20240614"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -136,12 +136,54 @@ 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
|
+
class GoogleCloudAiplatformV1beta1GroundingChunk
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkWeb
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
139
175
|
class GoogleCloudAiplatformV1beta1GroundingMetadata
|
140
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
177
|
|
142
178
|
include Google::Apis::Core::JsonObjectSupport
|
143
179
|
end
|
144
180
|
|
181
|
+
class GoogleCloudAiplatformV1beta1GroundingSupport
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
145
187
|
class GoogleCloudAiplatformV1beta1Part
|
146
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
189
|
|
@@ -178,6 +220,12 @@ module Google
|
|
178
220
|
include Google::Apis::Core::JsonObjectSupport
|
179
221
|
end
|
180
222
|
|
223
|
+
class GoogleCloudAiplatformV1beta1Segment
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
181
229
|
class GoogleCloudAiplatformV1beta1Tool
|
182
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
231
|
|
@@ -419,9 +467,70 @@ module Google
|
|
419
467
|
end
|
420
468
|
end
|
421
469
|
|
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
|
+
class GoogleCloudAiplatformV1beta1GroundingChunk
|
500
|
+
# @private
|
501
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
502
|
+
property :retrieved_context, as: 'retrievedContext', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext::Representation
|
503
|
+
|
504
|
+
property :web, as: 'web', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkWeb, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkWeb::Representation
|
505
|
+
|
506
|
+
end
|
507
|
+
end
|
508
|
+
|
509
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
|
510
|
+
# @private
|
511
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
512
|
+
property :title, as: 'title'
|
513
|
+
property :uri, as: 'uri'
|
514
|
+
end
|
515
|
+
end
|
516
|
+
|
517
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkWeb
|
518
|
+
# @private
|
519
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
520
|
+
property :title, as: 'title'
|
521
|
+
property :uri, as: 'uri'
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
422
525
|
class GoogleCloudAiplatformV1beta1GroundingMetadata
|
423
526
|
# @private
|
424
527
|
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
|
+
collection :grounding_chunks, as: 'groundingChunks', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunk, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunk::Representation
|
531
|
+
|
532
|
+
collection :grounding_supports, as: 'groundingSupports', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport::Representation
|
533
|
+
|
425
534
|
collection :retrieval_queries, as: 'retrievalQueries'
|
426
535
|
property :search_entry_point, as: 'searchEntryPoint', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SearchEntryPoint, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SearchEntryPoint::Representation
|
427
536
|
|
@@ -429,6 +538,16 @@ module Google
|
|
429
538
|
end
|
430
539
|
end
|
431
540
|
|
541
|
+
class GoogleCloudAiplatformV1beta1GroundingSupport
|
542
|
+
# @private
|
543
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
544
|
+
collection :confidence_scores, as: 'confidenceScores'
|
545
|
+
collection :grounding_chunk_indices, as: 'groundingChunkIndices'
|
546
|
+
property :segment, as: 'segment', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Segment, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Segment::Representation
|
547
|
+
|
548
|
+
end
|
549
|
+
end
|
550
|
+
|
432
551
|
class GoogleCloudAiplatformV1beta1Part
|
433
552
|
# @private
|
434
553
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -514,6 +633,16 @@ module Google
|
|
514
633
|
end
|
515
634
|
end
|
516
635
|
|
636
|
+
class GoogleCloudAiplatformV1beta1Segment
|
637
|
+
# @private
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
639
|
+
property :end_index, as: 'endIndex'
|
640
|
+
property :part_index, as: 'partIndex'
|
641
|
+
property :start_index, as: 'startIndex'
|
642
|
+
property :text, as: 'text'
|
643
|
+
end
|
644
|
+
end
|
645
|
+
|
517
646
|
class GoogleCloudAiplatformV1beta1Tool
|
518
647
|
# @private
|
519
648
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.8.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-06-
|
11
|
+
date: 2024-06-23 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.8.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: []
|