google-apis-ces_v1 0.2.0 → 0.3.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 +4 -0
- data/lib/google/apis/ces_v1/classes.rb +52 -14
- data/lib/google/apis/ces_v1/gem_version.rb +2 -2
- data/lib/google/apis/ces_v1/representations.rb +17 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 165f88f4cad55d03c739d1393ff421391f637a024eb6b417905414bc40a564b8
|
|
4
|
+
data.tar.gz: d2ef3ac0db512900a506895a1b4539f8bb78cfe22c3ce5bb083cc19c53bd487a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d426b05ed8234c2705ca2ddccbbb432393a9a11c82aeb1050a8d9ddf20bfb9ab79b3fc9e20062816e9c436c6568e62e0ea99e53c9249daab19e8ea40f5ee5b7e
|
|
7
|
+
data.tar.gz: 8005f4dff6ce4059a696df021df4b68350c1c19dca1af8accf0eac0e28898961f9b00f9800bbbb0a8ecd60c8c8a8b528d10e7ea63d3041e3058c1e7fc1342e6e
|
data/CHANGELOG.md
CHANGED
|
@@ -1470,7 +1470,7 @@ module Google
|
|
|
1470
1470
|
class CitationsCitedChunk
|
|
1471
1471
|
include Google::Apis::Core::Hashable
|
|
1472
1472
|
|
|
1473
|
-
# Text used for
|
|
1473
|
+
# Text used for citation.
|
|
1474
1474
|
# Corresponds to the JSON property `text`
|
|
1475
1475
|
# @return [String]
|
|
1476
1476
|
attr_accessor :text
|
|
@@ -2627,6 +2627,11 @@ module Google
|
|
|
2627
2627
|
# @return [Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds]
|
|
2628
2628
|
attr_accessor :expectation_level_metrics_thresholds
|
|
2629
2629
|
|
|
2630
|
+
# Settings for matching tool calls.
|
|
2631
|
+
# Corresponds to the JSON property `toolMatchingSettings`
|
|
2632
|
+
# @return [Google::Apis::CesV1::EvaluationMetricsThresholdsToolMatchingSettings]
|
|
2633
|
+
attr_accessor :tool_matching_settings
|
|
2634
|
+
|
|
2630
2635
|
# Turn level metrics thresholds.
|
|
2631
2636
|
# Corresponds to the JSON property `turnLevelMetricsThresholds`
|
|
2632
2637
|
# @return [Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds]
|
|
@@ -2639,6 +2644,7 @@ module Google
|
|
|
2639
2644
|
# Update properties of this object
|
|
2640
2645
|
def update!(**args)
|
|
2641
2646
|
@expectation_level_metrics_thresholds = args[:expectation_level_metrics_thresholds] if args.key?(:expectation_level_metrics_thresholds)
|
|
2647
|
+
@tool_matching_settings = args[:tool_matching_settings] if args.key?(:tool_matching_settings)
|
|
2642
2648
|
@turn_level_metrics_thresholds = args[:turn_level_metrics_thresholds] if args.key?(:turn_level_metrics_thresholds)
|
|
2643
2649
|
end
|
|
2644
2650
|
end
|
|
@@ -2696,6 +2702,25 @@ module Google
|
|
|
2696
2702
|
end
|
|
2697
2703
|
end
|
|
2698
2704
|
|
|
2705
|
+
# Settings for matching tool calls.
|
|
2706
|
+
class EvaluationMetricsThresholdsToolMatchingSettings
|
|
2707
|
+
include Google::Apis::Core::Hashable
|
|
2708
|
+
|
|
2709
|
+
# Optional. Behavior for extra tool calls. Defaults to FAIL.
|
|
2710
|
+
# Corresponds to the JSON property `extraToolCallBehavior`
|
|
2711
|
+
# @return [String]
|
|
2712
|
+
attr_accessor :extra_tool_call_behavior
|
|
2713
|
+
|
|
2714
|
+
def initialize(**args)
|
|
2715
|
+
update!(**args)
|
|
2716
|
+
end
|
|
2717
|
+
|
|
2718
|
+
# Update properties of this object
|
|
2719
|
+
def update!(**args)
|
|
2720
|
+
@extra_tool_call_behavior = args[:extra_tool_call_behavior] if args.key?(:extra_tool_call_behavior)
|
|
2721
|
+
end
|
|
2722
|
+
end
|
|
2723
|
+
|
|
2699
2724
|
# Event input.
|
|
2700
2725
|
class Event
|
|
2701
2726
|
include Google::Apis::Core::Hashable
|
|
@@ -2809,6 +2834,11 @@ module Google
|
|
|
2809
2834
|
# @return [Google::Apis::CesV1::ToolsetTool]
|
|
2810
2835
|
attr_accessor :toolset_tool
|
|
2811
2836
|
|
|
2837
|
+
# Optional. The variables that are available for the tool execution.
|
|
2838
|
+
# Corresponds to the JSON property `variables`
|
|
2839
|
+
# @return [Hash<String,Object>]
|
|
2840
|
+
attr_accessor :variables
|
|
2841
|
+
|
|
2812
2842
|
def initialize(**args)
|
|
2813
2843
|
update!(**args)
|
|
2814
2844
|
end
|
|
@@ -2818,6 +2848,7 @@ module Google
|
|
|
2818
2848
|
@args = args[:args] if args.key?(:args)
|
|
2819
2849
|
@tool = args[:tool] if args.key?(:tool)
|
|
2820
2850
|
@toolset_tool = args[:toolset_tool] if args.key?(:toolset_tool)
|
|
2851
|
+
@variables = args[:variables] if args.key?(:variables)
|
|
2821
2852
|
end
|
|
2822
2853
|
end
|
|
2823
2854
|
|
|
@@ -2825,10 +2856,10 @@ module Google
|
|
|
2825
2856
|
class ExecuteToolResponse
|
|
2826
2857
|
include Google::Apis::Core::Hashable
|
|
2827
2858
|
|
|
2828
|
-
#
|
|
2829
|
-
#
|
|
2830
|
-
#
|
|
2831
|
-
#
|
|
2859
|
+
# The tool execution result in JSON object format. Use "output" key to specify
|
|
2860
|
+
# tool response and "error" key to specify error details (if any). If "output"
|
|
2861
|
+
# and "error" keys are not specified, then whole "response" is treated as tool
|
|
2862
|
+
# execution result.
|
|
2832
2863
|
# Corresponds to the JSON property `response`
|
|
2833
2864
|
# @return [Hash<String,Object>]
|
|
2834
2865
|
attr_accessor :response
|
|
@@ -2844,6 +2875,11 @@ module Google
|
|
|
2844
2875
|
# @return [Google::Apis::CesV1::ToolsetTool]
|
|
2845
2876
|
attr_accessor :toolset_tool
|
|
2846
2877
|
|
|
2878
|
+
# The variable values at the end of the tool execution.
|
|
2879
|
+
# Corresponds to the JSON property `variables`
|
|
2880
|
+
# @return [Hash<String,Object>]
|
|
2881
|
+
attr_accessor :variables
|
|
2882
|
+
|
|
2847
2883
|
def initialize(**args)
|
|
2848
2884
|
update!(**args)
|
|
2849
2885
|
end
|
|
@@ -2853,6 +2889,7 @@ module Google
|
|
|
2853
2889
|
@response = args[:response] if args.key?(:response)
|
|
2854
2890
|
@tool = args[:tool] if args.key?(:tool)
|
|
2855
2891
|
@toolset_tool = args[:toolset_tool] if args.key?(:toolset_tool)
|
|
2892
|
+
@variables = args[:variables] if args.key?(:variables)
|
|
2856
2893
|
end
|
|
2857
2894
|
end
|
|
2858
2895
|
|
|
@@ -5062,7 +5099,7 @@ module Google
|
|
|
5062
5099
|
class RetrieveToolsResponse
|
|
5063
5100
|
include Google::Apis::Core::Hashable
|
|
5064
5101
|
|
|
5065
|
-
#
|
|
5102
|
+
# The list of tools that are included in the specified toolset.
|
|
5066
5103
|
# Corresponds to the JSON property `tools`
|
|
5067
5104
|
# @return [Array<Google::Apis::CesV1::Tool>]
|
|
5068
5105
|
attr_accessor :tools
|
|
@@ -5203,11 +5240,11 @@ module Google
|
|
|
5203
5240
|
|
|
5204
5241
|
# Optional. Allows indirect references between schema nodes. The value should be
|
|
5205
5242
|
# a valid reference to a child of the root `defs`. For example, the following
|
|
5206
|
-
# schema defines a reference to a schema node named "Pet": type: object
|
|
5243
|
+
# schema defines a reference to a schema node named "Pet": ``` type: object
|
|
5207
5244
|
# properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name:
|
|
5208
|
-
# type: string The value of the "pet" property is a reference to the schema
|
|
5209
|
-
# named "Pet". See details in https://json-schema.org/understanding-json-
|
|
5210
|
-
# structuring.
|
|
5245
|
+
# type: string ``` The value of the "pet" property is a reference to the schema
|
|
5246
|
+
# node named "Pet". See details in https://json-schema.org/understanding-json-
|
|
5247
|
+
# schema/structuring.
|
|
5211
5248
|
# Corresponds to the JSON property `ref`
|
|
5212
5249
|
# @return [String]
|
|
5213
5250
|
attr_accessor :ref
|
|
@@ -5488,10 +5525,11 @@ module Google
|
|
|
5488
5525
|
attr_accessor :variables
|
|
5489
5526
|
|
|
5490
5527
|
# Optional. A flag to indicate if the current message is a fragment of a larger
|
|
5491
|
-
# input in the bidi streaming session. When `true`, the agent
|
|
5492
|
-
# processing until a subsequent message
|
|
5493
|
-
#
|
|
5494
|
-
# always processed
|
|
5528
|
+
# input in the bidi streaming session. When set to `true`, the agent defers
|
|
5529
|
+
# processing until it receives a subsequent message where `will_continue` is `
|
|
5530
|
+
# false`, or until the system detects an endpoint in the audio input. NOTE: This
|
|
5531
|
+
# field does not apply to audio and DTMF inputs, as they are always processed
|
|
5532
|
+
# automatically based on the endpointing signal.
|
|
5495
5533
|
# Corresponds to the JSON property `willContinue`
|
|
5496
5534
|
# @return [Boolean]
|
|
5497
5535
|
attr_accessor :will_continue
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module CesV1
|
|
18
18
|
# Version of the google-apis-ces_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.3.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260218"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -418,6 +418,12 @@ module Google
|
|
|
418
418
|
include Google::Apis::Core::JsonObjectSupport
|
|
419
419
|
end
|
|
420
420
|
|
|
421
|
+
class EvaluationMetricsThresholdsToolMatchingSettings
|
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
423
|
+
|
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
425
|
+
end
|
|
426
|
+
|
|
421
427
|
class Event
|
|
422
428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
423
429
|
|
|
@@ -1753,6 +1759,8 @@ module Google
|
|
|
1753
1759
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1754
1760
|
property :expectation_level_metrics_thresholds, as: 'expectationLevelMetricsThresholds', class: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds, decorator: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds::Representation
|
|
1755
1761
|
|
|
1762
|
+
property :tool_matching_settings, as: 'toolMatchingSettings', class: Google::Apis::CesV1::EvaluationMetricsThresholdsToolMatchingSettings, decorator: Google::Apis::CesV1::EvaluationMetricsThresholdsToolMatchingSettings::Representation
|
|
1763
|
+
|
|
1756
1764
|
property :turn_level_metrics_thresholds, as: 'turnLevelMetricsThresholds', class: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds, decorator: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds::Representation
|
|
1757
1765
|
|
|
1758
1766
|
end
|
|
@@ -1774,6 +1782,13 @@ module Google
|
|
|
1774
1782
|
end
|
|
1775
1783
|
end
|
|
1776
1784
|
|
|
1785
|
+
class EvaluationMetricsThresholdsToolMatchingSettings
|
|
1786
|
+
# @private
|
|
1787
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1788
|
+
property :extra_tool_call_behavior, as: 'extraToolCallBehavior'
|
|
1789
|
+
end
|
|
1790
|
+
end
|
|
1791
|
+
|
|
1777
1792
|
class Event
|
|
1778
1793
|
# @private
|
|
1779
1794
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1804,6 +1819,7 @@ module Google
|
|
|
1804
1819
|
property :tool, as: 'tool'
|
|
1805
1820
|
property :toolset_tool, as: 'toolsetTool', class: Google::Apis::CesV1::ToolsetTool, decorator: Google::Apis::CesV1::ToolsetTool::Representation
|
|
1806
1821
|
|
|
1822
|
+
hash :variables, as: 'variables'
|
|
1807
1823
|
end
|
|
1808
1824
|
end
|
|
1809
1825
|
|
|
@@ -1814,6 +1830,7 @@ module Google
|
|
|
1814
1830
|
property :tool, as: 'tool'
|
|
1815
1831
|
property :toolset_tool, as: 'toolsetTool', class: Google::Apis::CesV1::ToolsetTool, decorator: Google::Apis::CesV1::ToolsetTool::Representation
|
|
1816
1832
|
|
|
1833
|
+
hash :variables, as: 'variables'
|
|
1817
1834
|
end
|
|
1818
1835
|
end
|
|
1819
1836
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-ces_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -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-ces_v1/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ces_v1/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ces_v1/v0.3.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ces_v1
|
|
63
63
|
rdoc_options: []
|
|
64
64
|
require_paths:
|