google-apis-firebaseml_v2beta 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c3552f9f1e719c0bfa748964e8d9fb972da81c48c0ecb4a630518b7246a4194
|
4
|
+
data.tar.gz: b1949743db6c9f8763115197284282fd65224fb450c37112dd40b18a4ddc0069
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 705ac5d36d74be5e0f9f59c9b02b85bcbc0c8c38e049b0b2efea4d8cb3be900e8fbcd10f24fd51868dfa1afe74ddf2b2d77be9306a5a563c2de667dd21d6a034
|
7
|
+
data.tar.gz: f24ccb450e36d27f6393aa428a506e1393f949b0c7c67984ae1b72d67e1b1ec89ec48f9392b7c4e6f59f2f88d9d45e212a43710d16777ae417439bdaae34777a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-firebaseml_v2beta
|
2
2
|
|
3
|
+
### v0.6.0 (2024-06-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240524
|
6
|
+
|
7
|
+
### v0.5.0 (2024-05-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240521
|
10
|
+
|
3
11
|
### v0.4.0 (2024-05-19)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240515
|
@@ -476,6 +476,15 @@ module Google
|
|
476
476
|
class GenerateContentRequest
|
477
477
|
include Google::Apis::Core::Hashable
|
478
478
|
|
479
|
+
# Optional. The name of the cached content used as context to serve the
|
480
|
+
# prediction. Note: only used in explicit caching, where users can have control
|
481
|
+
# over caching (e.g. what content to cache) and enjoy guaranteed cost savings.
|
482
|
+
# Format: `projects/`project`/locations/`location`/cachedContents/`cachedContent`
|
483
|
+
# `
|
484
|
+
# Corresponds to the JSON property `cachedContent`
|
485
|
+
# @return [String]
|
486
|
+
attr_accessor :cached_content
|
487
|
+
|
479
488
|
# Required. The content of the current conversation with the model. For single-
|
480
489
|
# turn queries, this is a single instance. For multi-turn queries, this is a
|
481
490
|
# repeated field that contains conversation history + latest request.
|
@@ -521,6 +530,7 @@ module Google
|
|
521
530
|
|
522
531
|
# Update properties of this object
|
523
532
|
def update!(**args)
|
533
|
+
@cached_content = args[:cached_content] if args.key?(:cached_content)
|
524
534
|
@contents = args[:contents] if args.key?(:contents)
|
525
535
|
@generation_config = args[:generation_config] if args.key?(:generation_config)
|
526
536
|
@safety_settings = args[:safety_settings] if args.key?(:safety_settings)
|
@@ -594,6 +604,13 @@ module Google
|
|
594
604
|
# @return [String]
|
595
605
|
attr_accessor :response_mime_type
|
596
606
|
|
607
|
+
# Schema is used to define the format of input/output data. Represents a select
|
608
|
+
# subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
|
609
|
+
# schema). More fields may be added in the future as needed.
|
610
|
+
# Corresponds to the JSON property `responseSchema`
|
611
|
+
# @return [Google::Apis::FirebasemlV2beta::Schema]
|
612
|
+
attr_accessor :response_schema
|
613
|
+
|
597
614
|
# Optional. Stop sequences.
|
598
615
|
# Corresponds to the JSON property `stopSequences`
|
599
616
|
# @return [Array<String>]
|
@@ -625,6 +642,7 @@ module Google
|
|
625
642
|
@max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
|
626
643
|
@presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
|
627
644
|
@response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
|
645
|
+
@response_schema = args[:response_schema] if args.key?(:response_schema)
|
628
646
|
@stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
|
629
647
|
@temperature = args[:temperature] if args.key?(:temperature)
|
630
648
|
@top_k = args[:top_k] if args.key?(:top_k)
|
@@ -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.6.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 = "20240524"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -349,6 +349,7 @@ module Google
|
|
349
349
|
class GenerateContentRequest
|
350
350
|
# @private
|
351
351
|
class Representation < Google::Apis::Core::JsonRepresentation
|
352
|
+
property :cached_content, as: 'cachedContent'
|
352
353
|
collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::Content, decorator: Google::Apis::FirebasemlV2beta::Content::Representation
|
353
354
|
|
354
355
|
property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::GenerationConfig, decorator: Google::Apis::FirebasemlV2beta::GenerationConfig::Representation
|
@@ -384,6 +385,8 @@ module Google
|
|
384
385
|
property :max_output_tokens, as: 'maxOutputTokens'
|
385
386
|
property :presence_penalty, as: 'presencePenalty'
|
386
387
|
property :response_mime_type, as: 'responseMimeType'
|
388
|
+
property :response_schema, as: 'responseSchema', class: Google::Apis::FirebasemlV2beta::Schema, decorator: Google::Apis::FirebasemlV2beta::Schema::Representation
|
389
|
+
|
387
390
|
collection :stop_sequences, as: 'stopSequences'
|
388
391
|
property :temperature, as: 'temperature'
|
389
392
|
property :top_k, as: 'topK'
|
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.6.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-06-02 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.6.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: []
|