Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
Relevant example used for the LLM prompt.
Instance Attribute Summary collapse
-
#example_display_name ⇒ String
The display name of the example.
-
#example_id ⇒ String
The id of the example.
-
#matched_retrieval_label ⇒ String
Optional.
-
#retrieval_strategy ⇒ String
Retrieval strategy of the example.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample
constructor
A new instance of GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample
Returns a new instance of GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample.
10932 10933 10934 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10932 def initialize(**args) update!(**args) end |
Instance Attribute Details
#example_display_name ⇒ String
The display name of the example.
Corresponds to the JSON property exampleDisplayName
10915 10916 10917 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10915 def example_display_name @example_display_name end |
#example_id ⇒ String
The id of the example.
Corresponds to the JSON property exampleId
10920 10921 10922 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10920 def example_id @example_id end |
#matched_retrieval_label ⇒ String
Optional. The matched retrieval label of this LLM call.
Corresponds to the JSON property matchedRetrievalLabel
10925 10926 10927 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10925 def matched_retrieval_label @matched_retrieval_label end |
#retrieval_strategy ⇒ String
Retrieval strategy of the example.
Corresponds to the JSON property retrievalStrategy
10930 10931 10932 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10930 def retrieval_strategy @retrieval_strategy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10937 10938 10939 10940 10941 10942 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10937 def update!(**args) @example_display_name = args[:example_display_name] if args.key?(:example_display_name) @example_id = args[:example_id] if args.key?(:example_id) @matched_retrieval_label = args[:matched_retrieval_label] if args.key?(:matched_retrieval_label) @retrieval_strategy = args[:retrieval_strategy] if args.key?(:retrieval_strategy) end |