Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class Generator.
LLM generator.
Generated from protobuf message google.cloud.dialogflow.v2.Generator
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. Identifier. The resource name of the generator. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
↳ description
string
Optional. Human readable description of the generator.
↳ free_form_context
↳ agent_coaching_context
↳ summarization_context
↳ inference_parameter
↳ trigger_event
int
Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.
↳ published_model
string
Optional. The published Large Language Model name. * * To use the latest model version, specify the model name without version number. Example: text-bison
* * To use a stable model version, specify the version number as well. Example: text-bison@002
.
↳ create_time
↳ update_time
↳ tools
array
Optional. Resource names of the tools that the generator can choose from. Format: projects/<Project ID>/locations/<Location ID>/tools/<tool ID>
.
↳ suggestion_deduping_config
SuggestionDedupingConfig
Optional. Configuration for suggestion deduping. This is only applicable to AI Coach feature.
getName
Output only. Identifier. The resource name of the generator. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
string
setName
Output only. Identifier. The resource name of the generator. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
var
string
$this
getDescription
Optional. Human readable description of the generator.
string
setDescription
Optional. Human readable description of the generator.
var
string
$this
getFreeFormContext
Input of free from generator to LLM.
hasFreeFormContext
setFreeFormContext
Input of free from generator to LLM.
$this
getAgentCoachingContext
Input of prebuilt Agent Coaching feature.
hasAgentCoachingContext
setAgentCoachingContext
Input of prebuilt Agent Coaching feature.
$this
getSummarizationContext
Input of prebuilt Summarization feature.
hasSummarizationContext
setSummarizationContext
Input of prebuilt Summarization feature.
$this
getInferenceParameter
Optional. Inference parameters for this generator.
hasInferenceParameter
clearInferenceParameter
setInferenceParameter
Optional. Inference parameters for this generator.
$this
getTriggerEvent
Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.
setTriggerEvent
Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.
$this
getPublishedModel
Optional. The published Large Language Model name.
- To use the latest model version, specify the model name without version
number. Example:
text-bison - To use a stable model version, specify the version number as well.
Example:
text-bison@002.
string
hasPublishedModel
setPublishedModel
Optional. The published Large Language Model name.
- To use the latest model version, specify the model name without version
number. Example:
text-bison - To use a stable model version, specify the version number as well.
Example:
text-bison@002.
var
string
$this
getCreateTime
Output only. Creation time of this generator.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Creation time of this generator.
$this
getUpdateTime
Output only. Update time of this generator.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Update time of this generator.
$this
getTools
Optional. Resource names of the tools that the generator can choose from.
Format: projects/<Project ID>/locations/<Location ID>/tools/<tool ID>
.
setTools
Optional. Resource names of the tools that the generator can choose from.
Format: projects/<Project ID>/locations/<Location ID>/tools/<tool ID>
.
var
string[]
$this
getSuggestionDedupingConfig
Optional. Configuration for suggestion deduping. This is only applicable to AI Coach feature.
hasSuggestionDedupingConfig
clearSuggestionDedupingConfig
setSuggestionDedupingConfig
Optional. Configuration for suggestion deduping. This is only applicable to AI Coach feature.
$this
getContext
string
getFoundationModel
string

