google-apis-firebaseml_v2beta 0.8.0 → 0.10.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/firebaseml_v2beta/classes.rb +562 -83
- data/lib/google/apis/firebaseml_v2beta/gem_version.rb +3 -3
- data/lib/google/apis/firebaseml_v2beta/representations.rb +249 -21
- data/lib/google/apis/firebaseml_v2beta/service.rb +8 -4
- metadata +4 -4
@@ -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.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241117"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -52,6 +52,12 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
+
class GoogleCloudAiplatformV1beta1CodeExecutionResult
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
55
61
|
class GoogleCloudAiplatformV1beta1Content
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
63
|
|
@@ -70,6 +76,18 @@ module Google
|
|
70
76
|
include Google::Apis::Core::JsonObjectSupport
|
71
77
|
end
|
72
78
|
|
79
|
+
class GoogleCloudAiplatformV1beta1DynamicRetrievalConfig
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class GoogleCloudAiplatformV1beta1ExecutableCode
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
73
91
|
class GoogleCloudAiplatformV1beta1FileData
|
74
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
93
|
|
@@ -130,25 +148,25 @@ module Google
|
|
130
148
|
include Google::Apis::Core::JsonObjectSupport
|
131
149
|
end
|
132
150
|
|
133
|
-
class
|
151
|
+
class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig
|
134
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
153
|
|
136
154
|
include Google::Apis::Core::JsonObjectSupport
|
137
155
|
end
|
138
156
|
|
139
|
-
class
|
157
|
+
class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode
|
140
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
159
|
|
142
160
|
include Google::Apis::Core::JsonObjectSupport
|
143
161
|
end
|
144
162
|
|
145
|
-
class
|
163
|
+
class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode
|
146
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
165
|
|
148
166
|
include Google::Apis::Core::JsonObjectSupport
|
149
167
|
end
|
150
168
|
|
151
|
-
class
|
169
|
+
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
|
152
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
171
|
|
154
172
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -184,18 +202,78 @@ module Google
|
|
184
202
|
include Google::Apis::Core::JsonObjectSupport
|
185
203
|
end
|
186
204
|
|
205
|
+
class GoogleCloudAiplatformV1beta1LogprobsResult
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class GoogleCloudAiplatformV1beta1LogprobsResultCandidate
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
187
223
|
class GoogleCloudAiplatformV1beta1Part
|
188
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
225
|
|
190
226
|
include Google::Apis::Core::JsonObjectSupport
|
191
227
|
end
|
192
228
|
|
229
|
+
class GoogleCloudAiplatformV1beta1RagRetrievalConfig
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class GoogleCloudAiplatformV1beta1RagRetrievalConfigHybridSearch
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
193
265
|
class GoogleCloudAiplatformV1beta1Retrieval
|
194
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
267
|
|
196
268
|
include Google::Apis::Core::JsonObjectSupport
|
197
269
|
end
|
198
270
|
|
271
|
+
class GoogleCloudAiplatformV1beta1RetrievalMetadata
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
199
277
|
class GoogleCloudAiplatformV1beta1SafetyRating
|
200
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
279
|
|
@@ -232,6 +310,12 @@ module Google
|
|
232
310
|
include Google::Apis::Core::JsonObjectSupport
|
233
311
|
end
|
234
312
|
|
313
|
+
class GoogleCloudAiplatformV1beta1ToolCodeExecution
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
235
319
|
class GoogleCloudAiplatformV1beta1ToolConfig
|
236
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
321
|
|
@@ -288,6 +372,7 @@ module Google
|
|
288
372
|
class GoogleCloudAiplatformV1beta1Candidate
|
289
373
|
# @private
|
290
374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
375
|
+
property :avg_logprobs, as: 'avgLogprobs'
|
291
376
|
property :citation_metadata, as: 'citationMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CitationMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CitationMetadata::Representation
|
292
377
|
|
293
378
|
property :content, as: 'content', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
|
@@ -297,6 +382,8 @@ module Google
|
|
297
382
|
property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingMetadata::Representation
|
298
383
|
|
299
384
|
property :index, as: 'index'
|
385
|
+
property :logprobs_result, as: 'logprobsResult', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResult, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResult::Representation
|
386
|
+
|
300
387
|
collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating::Representation
|
301
388
|
|
302
389
|
end
|
@@ -323,6 +410,14 @@ module Google
|
|
323
410
|
end
|
324
411
|
end
|
325
412
|
|
413
|
+
class GoogleCloudAiplatformV1beta1CodeExecutionResult
|
414
|
+
# @private
|
415
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
416
|
+
property :outcome, as: 'outcome'
|
417
|
+
property :output, as: 'output'
|
418
|
+
end
|
419
|
+
end
|
420
|
+
|
326
421
|
class GoogleCloudAiplatformV1beta1Content
|
327
422
|
# @private
|
328
423
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -337,8 +432,14 @@ module Google
|
|
337
432
|
class Representation < Google::Apis::Core::JsonRepresentation
|
338
433
|
collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
|
339
434
|
|
435
|
+
property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig::Representation
|
436
|
+
|
340
437
|
collection :instances, as: 'instances'
|
341
438
|
property :model, as: 'model'
|
439
|
+
property :system_instruction, as: 'systemInstruction', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
|
440
|
+
|
441
|
+
collection :tools, as: 'tools', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Tool, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Tool::Representation
|
442
|
+
|
342
443
|
end
|
343
444
|
end
|
344
445
|
|
@@ -350,6 +451,22 @@ module Google
|
|
350
451
|
end
|
351
452
|
end
|
352
453
|
|
454
|
+
class GoogleCloudAiplatformV1beta1DynamicRetrievalConfig
|
455
|
+
# @private
|
456
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
457
|
+
property :dynamic_threshold, as: 'dynamicThreshold'
|
458
|
+
property :mode, as: 'mode'
|
459
|
+
end
|
460
|
+
end
|
461
|
+
|
462
|
+
class GoogleCloudAiplatformV1beta1ExecutableCode
|
463
|
+
# @private
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
465
|
+
property :code, as: 'code'
|
466
|
+
property :language, as: 'language'
|
467
|
+
end
|
468
|
+
end
|
469
|
+
|
353
470
|
class GoogleCloudAiplatformV1beta1FileData
|
354
471
|
# @private
|
355
472
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -402,6 +519,7 @@ module Google
|
|
402
519
|
|
403
520
|
property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig::Representation
|
404
521
|
|
522
|
+
hash :labels, as: 'labels'
|
405
523
|
collection :safety_settings, as: 'safetySettings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetySetting, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetySetting::Representation
|
406
524
|
|
407
525
|
property :system_instruction, as: 'systemInstruction', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
|
@@ -418,6 +536,7 @@ module Google
|
|
418
536
|
class Representation < Google::Apis::Core::JsonRepresentation
|
419
537
|
collection :candidates, as: 'candidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate::Representation
|
420
538
|
|
539
|
+
property :model_version, as: 'modelVersion'
|
421
540
|
property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback::Representation
|
422
541
|
|
423
542
|
property :usage_metadata, as: 'usageMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata::Representation
|
@@ -438,6 +557,7 @@ module Google
|
|
438
557
|
class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata
|
439
558
|
# @private
|
440
559
|
class Representation < Google::Apis::Core::JsonRepresentation
|
560
|
+
property :cached_content_token_count, as: 'cachedContentTokenCount'
|
441
561
|
property :candidates_token_count, as: 'candidatesTokenCount'
|
442
562
|
property :prompt_token_count, as: 'promptTokenCount'
|
443
563
|
property :total_token_count, as: 'totalTokenCount'
|
@@ -447,13 +567,19 @@ module Google
|
|
447
567
|
class GoogleCloudAiplatformV1beta1GenerationConfig
|
448
568
|
# @private
|
449
569
|
class Representation < Google::Apis::Core::JsonRepresentation
|
570
|
+
property :audio_timestamp, as: 'audioTimestamp'
|
450
571
|
property :candidate_count, as: 'candidateCount'
|
451
572
|
property :frequency_penalty, as: 'frequencyPenalty'
|
573
|
+
property :logprobs, as: 'logprobs'
|
452
574
|
property :max_output_tokens, as: 'maxOutputTokens'
|
453
575
|
property :presence_penalty, as: 'presencePenalty'
|
576
|
+
property :response_logprobs, as: 'responseLogprobs'
|
454
577
|
property :response_mime_type, as: 'responseMimeType'
|
455
578
|
property :response_schema, as: 'responseSchema', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
|
456
579
|
|
580
|
+
property :routing_config, as: 'routingConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig::Representation
|
581
|
+
|
582
|
+
property :seed, as: 'seed'
|
457
583
|
collection :stop_sequences, as: 'stopSequences'
|
458
584
|
property :temperature, as: 'temperature'
|
459
585
|
property :top_k, as: 'topK'
|
@@ -461,38 +587,35 @@ module Google
|
|
461
587
|
end
|
462
588
|
end
|
463
589
|
|
464
|
-
class
|
590
|
+
class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig
|
465
591
|
# @private
|
466
592
|
class Representation < Google::Apis::Core::JsonRepresentation
|
593
|
+
property :auto_mode, as: 'autoMode', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode::Representation
|
594
|
+
|
595
|
+
property :manual_mode, as: 'manualMode', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode::Representation
|
596
|
+
|
467
597
|
end
|
468
598
|
end
|
469
599
|
|
470
|
-
class
|
600
|
+
class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode
|
471
601
|
# @private
|
472
602
|
class Representation < Google::Apis::Core::JsonRepresentation
|
473
|
-
property :
|
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
|
-
|
603
|
+
property :model_routing_preference, as: 'modelRoutingPreference'
|
480
604
|
end
|
481
605
|
end
|
482
606
|
|
483
|
-
class
|
607
|
+
class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode
|
484
608
|
# @private
|
485
609
|
class Representation < Google::Apis::Core::JsonRepresentation
|
486
|
-
property :
|
487
|
-
property :uri, as: 'uri'
|
610
|
+
property :model_name, as: 'modelName'
|
488
611
|
end
|
489
612
|
end
|
490
613
|
|
491
|
-
class
|
614
|
+
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
|
492
615
|
# @private
|
493
616
|
class Representation < Google::Apis::Core::JsonRepresentation
|
494
|
-
property :
|
495
|
-
|
617
|
+
property :dynamic_retrieval_config, as: 'dynamicRetrievalConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1DynamicRetrievalConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1DynamicRetrievalConfig::Representation
|
618
|
+
|
496
619
|
end
|
497
620
|
end
|
498
621
|
|
@@ -509,6 +632,7 @@ module Google
|
|
509
632
|
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
|
510
633
|
# @private
|
511
634
|
class Representation < Google::Apis::Core::JsonRepresentation
|
635
|
+
property :text, as: 'text'
|
512
636
|
property :title, as: 'title'
|
513
637
|
property :uri, as: 'uri'
|
514
638
|
end
|
@@ -525,12 +649,12 @@ module Google
|
|
525
649
|
class GoogleCloudAiplatformV1beta1GroundingMetadata
|
526
650
|
# @private
|
527
651
|
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
652
|
collection :grounding_chunks, as: 'groundingChunks', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunk, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunk::Representation
|
531
653
|
|
532
654
|
collection :grounding_supports, as: 'groundingSupports', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport::Representation
|
533
655
|
|
656
|
+
property :retrieval_metadata, as: 'retrievalMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalMetadata::Representation
|
657
|
+
|
534
658
|
collection :retrieval_queries, as: 'retrievalQueries'
|
535
659
|
property :search_entry_point, as: 'searchEntryPoint', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SearchEntryPoint, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SearchEntryPoint::Representation
|
536
660
|
|
@@ -548,9 +672,40 @@ module Google
|
|
548
672
|
end
|
549
673
|
end
|
550
674
|
|
675
|
+
class GoogleCloudAiplatformV1beta1LogprobsResult
|
676
|
+
# @private
|
677
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
678
|
+
collection :chosen_candidates, as: 'chosenCandidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultCandidate, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultCandidate::Representation
|
679
|
+
|
680
|
+
collection :top_candidates, as: 'topCandidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates::Representation
|
681
|
+
|
682
|
+
end
|
683
|
+
end
|
684
|
+
|
685
|
+
class GoogleCloudAiplatformV1beta1LogprobsResultCandidate
|
686
|
+
# @private
|
687
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
688
|
+
property :log_probability, as: 'logProbability'
|
689
|
+
property :token, as: 'token'
|
690
|
+
property :token_id, as: 'tokenId'
|
691
|
+
end
|
692
|
+
end
|
693
|
+
|
694
|
+
class GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates
|
695
|
+
# @private
|
696
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
697
|
+
collection :candidates, as: 'candidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultCandidate, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultCandidate::Representation
|
698
|
+
|
699
|
+
end
|
700
|
+
end
|
701
|
+
|
551
702
|
class GoogleCloudAiplatformV1beta1Part
|
552
703
|
# @private
|
553
704
|
class Representation < Google::Apis::Core::JsonRepresentation
|
705
|
+
property :code_execution_result, as: 'codeExecutionResult', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CodeExecutionResult, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CodeExecutionResult::Representation
|
706
|
+
|
707
|
+
property :executable_code, as: 'executableCode', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExecutableCode, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExecutableCode::Representation
|
708
|
+
|
554
709
|
property :file_data, as: 'fileData', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FileData, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FileData::Representation
|
555
710
|
|
556
711
|
property :function_call, as: 'functionCall', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCall, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCall::Representation
|
@@ -565,6 +720,59 @@ module Google
|
|
565
720
|
end
|
566
721
|
end
|
567
722
|
|
723
|
+
class GoogleCloudAiplatformV1beta1RagRetrievalConfig
|
724
|
+
# @private
|
725
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
726
|
+
property :filter, as: 'filter', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter::Representation
|
727
|
+
|
728
|
+
property :hybrid_search, as: 'hybridSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigHybridSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigHybridSearch::Representation
|
729
|
+
|
730
|
+
property :ranking, as: 'ranking', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking::Representation
|
731
|
+
|
732
|
+
property :top_k, as: 'topK'
|
733
|
+
end
|
734
|
+
end
|
735
|
+
|
736
|
+
class GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter
|
737
|
+
# @private
|
738
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
739
|
+
property :metadata_filter, as: 'metadataFilter'
|
740
|
+
property :vector_distance_threshold, as: 'vectorDistanceThreshold'
|
741
|
+
property :vector_similarity_threshold, as: 'vectorSimilarityThreshold'
|
742
|
+
end
|
743
|
+
end
|
744
|
+
|
745
|
+
class GoogleCloudAiplatformV1beta1RagRetrievalConfigHybridSearch
|
746
|
+
# @private
|
747
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
748
|
+
property :alpha, as: 'alpha'
|
749
|
+
end
|
750
|
+
end
|
751
|
+
|
752
|
+
class GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking
|
753
|
+
# @private
|
754
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
755
|
+
property :llm_ranker, as: 'llmRanker', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker::Representation
|
756
|
+
|
757
|
+
property :rank_service, as: 'rankService', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService::Representation
|
758
|
+
|
759
|
+
end
|
760
|
+
end
|
761
|
+
|
762
|
+
class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker
|
763
|
+
# @private
|
764
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
765
|
+
property :model_name, as: 'modelName'
|
766
|
+
end
|
767
|
+
end
|
768
|
+
|
769
|
+
class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService
|
770
|
+
# @private
|
771
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
772
|
+
property :model_name, as: 'modelName'
|
773
|
+
end
|
774
|
+
end
|
775
|
+
|
568
776
|
class GoogleCloudAiplatformV1beta1Retrieval
|
569
777
|
# @private
|
570
778
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -576,6 +784,13 @@ module Google
|
|
576
784
|
end
|
577
785
|
end
|
578
786
|
|
787
|
+
class GoogleCloudAiplatformV1beta1RetrievalMetadata
|
788
|
+
# @private
|
789
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
790
|
+
property :google_search_dynamic_retrieval_score, as: 'googleSearchDynamicRetrievalScore'
|
791
|
+
end
|
792
|
+
end
|
793
|
+
|
579
794
|
class GoogleCloudAiplatformV1beta1SafetyRating
|
580
795
|
# @private
|
581
796
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -600,6 +815,8 @@ module Google
|
|
600
815
|
class GoogleCloudAiplatformV1beta1Schema
|
601
816
|
# @private
|
602
817
|
class Representation < Google::Apis::Core::JsonRepresentation
|
818
|
+
collection :any_of, as: 'anyOf', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
|
819
|
+
|
603
820
|
property :default, as: 'default'
|
604
821
|
property :description, as: 'description'
|
605
822
|
collection :enum, as: 'enum'
|
@@ -619,6 +836,7 @@ module Google
|
|
619
836
|
property :pattern, as: 'pattern'
|
620
837
|
hash :properties, as: 'properties', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
|
621
838
|
|
839
|
+
collection :property_ordering, as: 'propertyOrdering'
|
622
840
|
collection :required, as: 'required'
|
623
841
|
property :title, as: 'title'
|
624
842
|
property :type, as: 'type'
|
@@ -646,6 +864,8 @@ module Google
|
|
646
864
|
class GoogleCloudAiplatformV1beta1Tool
|
647
865
|
# @private
|
648
866
|
class Representation < Google::Apis::Core::JsonRepresentation
|
867
|
+
property :code_execution, as: 'codeExecution', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution::Representation
|
868
|
+
|
649
869
|
collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
|
650
870
|
|
651
871
|
property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval::Representation
|
@@ -655,6 +875,12 @@ module Google
|
|
655
875
|
end
|
656
876
|
end
|
657
877
|
|
878
|
+
class GoogleCloudAiplatformV1beta1ToolCodeExecution
|
879
|
+
# @private
|
880
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
881
|
+
end
|
882
|
+
end
|
883
|
+
|
658
884
|
class GoogleCloudAiplatformV1beta1ToolConfig
|
659
885
|
# @private
|
660
886
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -676,6 +902,8 @@ module Google
|
|
676
902
|
collection :rag_corpora, as: 'ragCorpora'
|
677
903
|
collection :rag_resources, as: 'ragResources', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStoreRagResource, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStoreRagResource::Representation
|
678
904
|
|
905
|
+
property :rag_retrieval_config, as: 'ragRetrievalConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfig::Representation
|
906
|
+
|
679
907
|
property :similarity_top_k, as: 'similarityTopK'
|
680
908
|
property :vector_distance_threshold, as: 'vectorDistanceThreshold'
|
681
909
|
end
|
@@ -87,8 +87,10 @@ module Google
|
|
87
87
|
|
88
88
|
# Generate content with multimodal inputs.
|
89
89
|
# @param [String] model
|
90
|
-
# Required. The name of the publisher model
|
91
|
-
#
|
90
|
+
# Required. The fully qualified name of the publisher model or tuned model
|
91
|
+
# endpoint to use. Publisher model format: `projects/`project`/locations/`
|
92
|
+
# location`/publishers/*/models/*` Tuned model endpoint format: `projects/`
|
93
|
+
# project`/locations/`location`/endpoints/`endpoint``
|
92
94
|
# @param [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentRequest] google_cloud_aiplatform_v1beta1_generate_content_request_object
|
93
95
|
# @param [String] fields
|
94
96
|
# Selector specifying which fields to include in a partial response.
|
@@ -121,8 +123,10 @@ module Google
|
|
121
123
|
|
122
124
|
# Generate content with multimodal inputs with streaming support.
|
123
125
|
# @param [String] model
|
124
|
-
# Required. The name of the publisher model
|
125
|
-
#
|
126
|
+
# Required. The fully qualified name of the publisher model or tuned model
|
127
|
+
# endpoint to use. Publisher model format: `projects/`project`/locations/`
|
128
|
+
# location`/publishers/*/models/*` Tuned model endpoint format: `projects/`
|
129
|
+
# project`/locations/`location`/endpoints/`endpoint``
|
126
130
|
# @param [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentRequest] google_cloud_aiplatform_v1beta1_generate_content_request_object
|
127
131
|
# @param [String] fields
|
128
132
|
# Selector specifying which fields to include in a partial response.
|
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.10.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-12-04 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.10.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Firebase ML API V2beta
|