Repository navigation
Conversation
| # Setup Request | ||
| knowledge_base = {} | ||
|
|
||
| response = client.update_knowledge_base(knowledge_base) |
There was a problem hiding this comment.
Passes empty knowledge_base in UpdateKnowledgeBaseRequest.
| @@ -118,11 +112,12 @@ def test_get_entity_type(self): | |||
| # Setup Expected Response | |||
| name_2 = 'name2-1052831874' | |||
| display_name = 'displayName1615086568' | |||
| expected_response = {'name': name_2, 'display_name': display_name} | |||
| enable_fuzzy_extraction = True | |||
There was a problem hiding this comment.
Add enable_fuzzy_extraction
| import warnings | ||
|
|
||
| from google.oauth2 import service_account | ||
| import google.api_core.client_options |
There was a problem hiding this comment.
Add client_options to v2
There was a problem hiding this comment.
So client_options are basically a way to set the endpoint directly?
| retry=google.api_core.gapic_v1.method.DEFAULT, | ||
| timeout=google.api_core.gapic_v1.method.DEFAULT, | ||
| metadata=None): | ||
| def set_agent( |
There was a problem hiding this comment.
Add set_agent and delete_agent to v2.
| OUTPUT_AUDIO_ENCODING_OGG_OPUS = 3 | ||
|
|
||
|
|
||
| class SpeechModelVariant(enum.IntEnum): |
There was a problem hiding this comment.
Add SpeechModelVariant enum to v2
| the currently supported language codes. Note that queries in | ||
| the same session do not necessarily need to specify the same | ||
| language. | ||
| enable_word_info: |
There was a problem hiding this comment.
Add enable_word_info, speech_contexts, model_variant, single_utterance to InputAudioConfig (v2beta1)
| is of the form: gs://bucket/object-prefix-or-name Whether a | ||
| prefix or name is used depends on the use case. | ||
| """, | ||
| # @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2beta1.GcsSource) |
There was a problem hiding this comment.
Add GcsSource to v2beta1
| @@ -2575,6 +3204,266 @@ | |||
| # @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall) | |||
| )) | |||
| , | |||
|
|
|||
There was a problem hiding this comment.
Add Rich Business Messaging support to intent message (v2beta1)
| @@ -2615,6 +3504,14 @@ | |||
| Synthesizes speech in Telephony Gateway. | |||
| telephony_transfer_call: | |||
| Transfers the call in Telephony Gateway. | |||
| rbm_text: | |||
There was a problem hiding this comment.
Add rbm_text, rbm_standalone_rich_card, rbm_standalone_rich_card to Intent.Message (v2beta1)
| error_message: | ||
| The detailed error messsage. | ||
| """, | ||
| # @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2beta1.ValidationError) |
There was a problem hiding this comment.
Add ValidationError, ValidationResult to v2beta1
| single_utterance: | ||
| Optional. If ``false`` (default), recognition does not cease | ||
| until the client closes the stream. If ``true``, the | ||
| DEPRECATED. Please use [InputAudioConfig.single\_utterance][go |
There was a problem hiding this comment.
Deprecate single_utterance in StreamingDetectIntentrequest
|
@nnegrey Please review/merge when you are ready. |
| input. When this field is set, Dialogflow ignores the | ||
| ``fulfillment_text``, ``fulfillment_messages``, and | ||
| ``payload`` fields. | ||
| session_entity_types: |
There was a problem hiding this comment.
Add session_entity_types to WebhookResponse
| @@ -1488,6 +1545,24 @@ | |||
| was not set. This field is typically only provided if | |||
| ``is_final`` is true and you should not rely on it being | |||
| accurate or even set. | |||
| stability: | |||
There was a problem hiding this comment.
Add stability, speech_word_info and speech_end_offset to StreamingRecognitionResult
| @@ -821,6 +834,9 @@ | |||
| entities: | |||
| Optional. The collection of entity entries associated with the | |||
| entity type. | |||
| enable_fuzzy_extraction: | |||
There was a problem hiding this comment.
Add enable_fuzzy_extraction to EntityType
|
|
||
| syntax = "proto3"; | ||
|
|
||
| package google.cloud.dialogflow.v2; |
There was a problem hiding this comment.
Removing .proto files, because they exist in googleapis, yes?
v2 and v2beta1
set_agentanddelete_agentmethods toAgentsClientapi_versionandtiertoAgentssession_entity_typestoWebhookResponsemodel_variantandsingle_utterancetoInputAudioConfigSpeechModelVariantenumenable_fuzzy_extractiontoEntityTypeKIND_REGEXPtoEntityType.Kindenumclient_optionsto clientscreate_channelmethodssingle_utteranceattribute inStreamingDetectIntentRequest. Please useInputAudioConfig.single_utterancev2
Message.Platformenumv2beta1
get_validation_resultmethod toAgentsClientgcs_sourceandsourcetoreload_documentmethod inDocumentsClienttable_card, andmedia_contentto intent messagesenable_word_info,speech_contextstoInputAudioConfigupdate_documentreturns_OperationFuturerather thanOperationprojects.agent.knowledgeBases. Please useprojects.knowledgeBases.stability,speech_word_infoandspeech_end_offsettoStreamingRecognitionResult