google-apis-firebaseml_v2beta 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/firebaseml_v2beta/classes.rb +575 -18
- data/lib/google/apis/firebaseml_v2beta/gem_version.rb +3 -3
- data/lib/google/apis/firebaseml_v2beta/representations.rb +273 -0
- 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,6 +148,24 @@ module Google
|
|
130
148
|
include Google::Apis::Core::JsonObjectSupport
|
131
149
|
end
|
132
150
|
|
151
|
+
class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
133
169
|
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
|
134
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
171
|
|
@@ -166,18 +202,78 @@ module Google
|
|
166
202
|
include Google::Apis::Core::JsonObjectSupport
|
167
203
|
end
|
168
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
|
+
|
169
223
|
class GoogleCloudAiplatformV1beta1Part
|
170
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
225
|
|
172
226
|
include Google::Apis::Core::JsonObjectSupport
|
173
227
|
end
|
174
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
|
+
|
175
265
|
class GoogleCloudAiplatformV1beta1Retrieval
|
176
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
267
|
|
178
268
|
include Google::Apis::Core::JsonObjectSupport
|
179
269
|
end
|
180
270
|
|
271
|
+
class GoogleCloudAiplatformV1beta1RetrievalMetadata
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
181
277
|
class GoogleCloudAiplatformV1beta1SafetyRating
|
182
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
279
|
|
@@ -214,6 +310,12 @@ module Google
|
|
214
310
|
include Google::Apis::Core::JsonObjectSupport
|
215
311
|
end
|
216
312
|
|
313
|
+
class GoogleCloudAiplatformV1beta1ToolCodeExecution
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
217
319
|
class GoogleCloudAiplatformV1beta1ToolConfig
|
218
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
321
|
|
@@ -270,6 +372,7 @@ module Google
|
|
270
372
|
class GoogleCloudAiplatformV1beta1Candidate
|
271
373
|
# @private
|
272
374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
375
|
+
property :avg_logprobs, as: 'avgLogprobs'
|
273
376
|
property :citation_metadata, as: 'citationMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CitationMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CitationMetadata::Representation
|
274
377
|
|
275
378
|
property :content, as: 'content', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
|
@@ -279,6 +382,8 @@ module Google
|
|
279
382
|
property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingMetadata::Representation
|
280
383
|
|
281
384
|
property :index, as: 'index'
|
385
|
+
property :logprobs_result, as: 'logprobsResult', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResult, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResult::Representation
|
386
|
+
|
282
387
|
collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating::Representation
|
283
388
|
|
284
389
|
end
|
@@ -305,6 +410,14 @@ module Google
|
|
305
410
|
end
|
306
411
|
end
|
307
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
|
+
|
308
421
|
class GoogleCloudAiplatformV1beta1Content
|
309
422
|
# @private
|
310
423
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -319,6 +432,8 @@ module Google
|
|
319
432
|
class Representation < Google::Apis::Core::JsonRepresentation
|
320
433
|
collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
|
321
434
|
|
435
|
+
property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig::Representation
|
436
|
+
|
322
437
|
collection :instances, as: 'instances'
|
323
438
|
property :model, as: 'model'
|
324
439
|
property :system_instruction, as: 'systemInstruction', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
|
@@ -336,6 +451,22 @@ module Google
|
|
336
451
|
end
|
337
452
|
end
|
338
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
|
+
|
339
470
|
class GoogleCloudAiplatformV1beta1FileData
|
340
471
|
# @private
|
341
472
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -388,6 +519,7 @@ module Google
|
|
388
519
|
|
389
520
|
property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig::Representation
|
390
521
|
|
522
|
+
hash :labels, as: 'labels'
|
391
523
|
collection :safety_settings, as: 'safetySettings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetySetting, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetySetting::Representation
|
392
524
|
|
393
525
|
property :system_instruction, as: 'systemInstruction', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
|
@@ -404,6 +536,7 @@ module Google
|
|
404
536
|
class Representation < Google::Apis::Core::JsonRepresentation
|
405
537
|
collection :candidates, as: 'candidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate::Representation
|
406
538
|
|
539
|
+
property :model_version, as: 'modelVersion'
|
407
540
|
property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback::Representation
|
408
541
|
|
409
542
|
property :usage_metadata, as: 'usageMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata::Representation
|
@@ -424,6 +557,7 @@ module Google
|
|
424
557
|
class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata
|
425
558
|
# @private
|
426
559
|
class Representation < Google::Apis::Core::JsonRepresentation
|
560
|
+
property :cached_content_token_count, as: 'cachedContentTokenCount'
|
427
561
|
property :candidates_token_count, as: 'candidatesTokenCount'
|
428
562
|
property :prompt_token_count, as: 'promptTokenCount'
|
429
563
|
property :total_token_count, as: 'totalTokenCount'
|
@@ -433,13 +567,19 @@ module Google
|
|
433
567
|
class GoogleCloudAiplatformV1beta1GenerationConfig
|
434
568
|
# @private
|
435
569
|
class Representation < Google::Apis::Core::JsonRepresentation
|
570
|
+
property :audio_timestamp, as: 'audioTimestamp'
|
436
571
|
property :candidate_count, as: 'candidateCount'
|
437
572
|
property :frequency_penalty, as: 'frequencyPenalty'
|
573
|
+
property :logprobs, as: 'logprobs'
|
438
574
|
property :max_output_tokens, as: 'maxOutputTokens'
|
439
575
|
property :presence_penalty, as: 'presencePenalty'
|
576
|
+
property :response_logprobs, as: 'responseLogprobs'
|
440
577
|
property :response_mime_type, as: 'responseMimeType'
|
441
578
|
property :response_schema, as: 'responseSchema', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
|
442
579
|
|
580
|
+
property :routing_config, as: 'routingConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig::Representation
|
581
|
+
|
582
|
+
property :seed, as: 'seed'
|
443
583
|
collection :stop_sequences, as: 'stopSequences'
|
444
584
|
property :temperature, as: 'temperature'
|
445
585
|
property :top_k, as: 'topK'
|
@@ -447,9 +587,35 @@ module Google
|
|
447
587
|
end
|
448
588
|
end
|
449
589
|
|
590
|
+
class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig
|
591
|
+
# @private
|
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
|
+
|
597
|
+
end
|
598
|
+
end
|
599
|
+
|
600
|
+
class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode
|
601
|
+
# @private
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
603
|
+
property :model_routing_preference, as: 'modelRoutingPreference'
|
604
|
+
end
|
605
|
+
end
|
606
|
+
|
607
|
+
class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode
|
608
|
+
# @private
|
609
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
610
|
+
property :model_name, as: 'modelName'
|
611
|
+
end
|
612
|
+
end
|
613
|
+
|
450
614
|
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
|
451
615
|
# @private
|
452
616
|
class Representation < Google::Apis::Core::JsonRepresentation
|
617
|
+
property :dynamic_retrieval_config, as: 'dynamicRetrievalConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1DynamicRetrievalConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1DynamicRetrievalConfig::Representation
|
618
|
+
|
453
619
|
end
|
454
620
|
end
|
455
621
|
|
@@ -466,6 +632,7 @@ module Google
|
|
466
632
|
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
|
467
633
|
# @private
|
468
634
|
class Representation < Google::Apis::Core::JsonRepresentation
|
635
|
+
property :text, as: 'text'
|
469
636
|
property :title, as: 'title'
|
470
637
|
property :uri, as: 'uri'
|
471
638
|
end
|
@@ -486,6 +653,8 @@ module Google
|
|
486
653
|
|
487
654
|
collection :grounding_supports, as: 'groundingSupports', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport::Representation
|
488
655
|
|
656
|
+
property :retrieval_metadata, as: 'retrievalMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalMetadata::Representation
|
657
|
+
|
489
658
|
collection :retrieval_queries, as: 'retrievalQueries'
|
490
659
|
property :search_entry_point, as: 'searchEntryPoint', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SearchEntryPoint, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SearchEntryPoint::Representation
|
491
660
|
|
@@ -503,9 +672,40 @@ module Google
|
|
503
672
|
end
|
504
673
|
end
|
505
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
|
+
|
506
702
|
class GoogleCloudAiplatformV1beta1Part
|
507
703
|
# @private
|
508
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
|
+
|
509
709
|
property :file_data, as: 'fileData', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FileData, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FileData::Representation
|
510
710
|
|
511
711
|
property :function_call, as: 'functionCall', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCall, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCall::Representation
|
@@ -520,6 +720,59 @@ module Google
|
|
520
720
|
end
|
521
721
|
end
|
522
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
|
+
|
523
776
|
class GoogleCloudAiplatformV1beta1Retrieval
|
524
777
|
# @private
|
525
778
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -531,6 +784,13 @@ module Google
|
|
531
784
|
end
|
532
785
|
end
|
533
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
|
+
|
534
794
|
class GoogleCloudAiplatformV1beta1SafetyRating
|
535
795
|
# @private
|
536
796
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -555,6 +815,8 @@ module Google
|
|
555
815
|
class GoogleCloudAiplatformV1beta1Schema
|
556
816
|
# @private
|
557
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
|
+
|
558
820
|
property :default, as: 'default'
|
559
821
|
property :description, as: 'description'
|
560
822
|
collection :enum, as: 'enum'
|
@@ -574,6 +836,7 @@ module Google
|
|
574
836
|
property :pattern, as: 'pattern'
|
575
837
|
hash :properties, as: 'properties', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
|
576
838
|
|
839
|
+
collection :property_ordering, as: 'propertyOrdering'
|
577
840
|
collection :required, as: 'required'
|
578
841
|
property :title, as: 'title'
|
579
842
|
property :type, as: 'type'
|
@@ -601,6 +864,8 @@ module Google
|
|
601
864
|
class GoogleCloudAiplatformV1beta1Tool
|
602
865
|
# @private
|
603
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
|
+
|
604
869
|
collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
|
605
870
|
|
606
871
|
property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval::Representation
|
@@ -610,6 +875,12 @@ module Google
|
|
610
875
|
end
|
611
876
|
end
|
612
877
|
|
878
|
+
class GoogleCloudAiplatformV1beta1ToolCodeExecution
|
879
|
+
# @private
|
880
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
881
|
+
end
|
882
|
+
end
|
883
|
+
|
613
884
|
class GoogleCloudAiplatformV1beta1ToolConfig
|
614
885
|
# @private
|
615
886
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -631,6 +902,8 @@ module Google
|
|
631
902
|
collection :rag_corpora, as: 'ragCorpora'
|
632
903
|
collection :rag_resources, as: 'ragResources', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStoreRagResource, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStoreRagResource::Representation
|
633
904
|
|
905
|
+
property :rag_retrieval_config, as: 'ragRetrievalConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfig::Representation
|
906
|
+
|
634
907
|
property :similarity_top_k, as: 'similarityTopK'
|
635
908
|
property :vector_distance_threshold, as: 'vectorDistanceThreshold'
|
636
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
|