Changelog

PyPI History

2.28.3 (2024-03-05)

Bug Fixes

2.28.2 (2024-02-22)

Bug Fixes

  • [Many APIs] fix ValueError in test__validate_universe_domain (#12282) (b985096)

  • deps: [Many APIs] Require google-api-core>=1.34.1 (#12306) (1e787f2)

2.28.1 (2024-02-06)

Bug Fixes

  • Add google-auth as a direct dependency (c721248)

  • Add staticmethod decorator to _get_client_cert_source and _get_api_endpoint (c721248)

  • Resolve AttributeError ‘Credentials’ object has no attribute ‘universe_domain’ (c721248)

2.28.0 (2024-02-01)

Features

  • Allow users to explicitly configure universe domain (#12240) (d51f832)

2.27.0 (2024-01-04)

Features

  • Add enable_conversation_augmented_query field to HumanAgentAssistantConfig.SuggestionFeatureConfig message (c6d9113)

  • Add enable_conversation_augmented_query field to HumanAgentAssistantConfig.SuggestionFeatureConfig message (a481c80)

  • Add INTENT enum in SearchKnowledgeAnswer.AnswerType message (c6d9113)

  • Add INTENT enum in SearchKnowledgeAnswer.AnswerType message (a481c80)

  • Add rewritten_query in field in SearchKnowledgeResponse message (c6d9113)

  • Add rewritten_query in field in SearchKnowledgeResponse message (a481c80)

  • Add sections field to HumanAgentAssistantConfig.SuggestionQueryConfig (c6d9113)

  • Add sections field to HumanAgentAssistantConfig.SuggestionQueryConfig (a481c80)

Documentation

  • Improved comments on audio_config proto (c6d9113)

  • Improved comments on audio_config proto (a481c80)

2.26.0 (2023-12-07)

Features

  • Add support for python 3.12 (fb6f9db)

  • Introduce compatibility with native namespace packages (fb6f9db)

Bug Fixes

  • Require proto-plus >= 1.22.3 (fb6f9db)

  • Use retry_async instead of retry in async client (fb6f9db)

2.25.0 (2023-09-30)

Features

  • Add the enable_partial_automated_agent_reply flag (2996e9b)

  • Remove backend API deadline (2996e9b)

2.24.1 (2023-09-25)

Bug Fixes

  • Delete un-referenced UPGRADING.md to amke docs build pass (0eebe3e)

2.24.0 (2023-09-13)

Features

  • Added baseline model version used to generate the summary (6ac5a4f)

  • Added baseline model version used to generate the summary (64b674a)

  • Added Knowledge Search API (0bf73ae)

  • Added Knowledge Search API (f09e34e)

  • Added speech endpointing setting (0bf73ae)

  • Added speech endpointing setting (f09e34e)

  • Added the platform of the virtual agent response messages (6ac5a4f)

  • Added the platform of the virtual agent response messages (64b674a)

Documentation

2.23.3 (2023-08-03)

Documentation

2.23.2 (2023-07-10)

Documentation

  • Added google.api.field_behavior for some fields in audio_config (#647) (2adf50a)

2.23.1 (2023-07-04)

Bug Fixes

  • Add async context manager return types (#645) (f6aaa2d)

2.23.0 (2023-06-21)

Features

  • Added dialogflow_assist_answer (73ddd4e)

  • Added human_agent_side_config (73ddd4e)

  • Added session_ttl (73ddd4e)

  • Added suggest_dialogflow_assists_response (73ddd4e)

  • Added suggest_entity_extraction_response (73ddd4e)

  • Added suggestion_input (73ddd4e)

2.22.0 (2023-05-25)

Features

  • Add baseline model configuration for conversation summarization (#636) (c0a030e)

  • Added debug info for StreamingDetectIntent (06fea2a)

  • Added GenerateStatelessSummary method (06fea2a)

  • Extended StreamingListCallCompanionEvents timeout to 600 seconds (06fea2a)

2.21.0 (2023-03-23)

Features

  • Added support for custom content types (4e35741)

Documentation

  • Clarified wording around quota usage (4e35741)

  • Fix formatting of request arg in docstring (#632) (073a8d4)

2.20.0 (2023-02-28)

Features

  • Added support for AssistQueryParameters and SynthesizeSpeechConfig (03199c4)

  • Enable “rest” transport in Python for services supporting numeric enums (03199c4)

Documentation

  • Add more meaningful comments (03199c4)

2.19.1 (2023-01-20)

Bug Fixes

  • Add context manager return types (c5272ff)

Documentation

  • Add documentation for enums (c5272ff)

2.19.0 (2023-01-14)

Features

  • v2: Added SuggestConversationSummary RPC (#607) (e5aabc8)

2.18.0 (2023-01-10)

Features

2.17.0 (2022-12-15)

Features

  • Add support for google.cloud.dialogflow.__version__ (234ab9b)

  • Add typing to proto.Message based class attributes (234ab9b)

  • Added cx_current_page field to AutomatedAgentReply (234ab9b)

  • v2: Added obfuscated_external_user_id to Participant (f8c3d35)

  • v2: Added StreamingAnalyzeContent API (#590) (f8c3d35)

  • v2beta1: Add ability to set Cloud Speech model in SpeechToTextConfig (#587) (1d258c2)

  • v2: Can directly set Cloud Speech model on the SpeechToTextConfig (f8c3d35)

Bug Fixes

  • Add dict typing for client_options (234ab9b)

  • deps: Require google-api-core >=1.34.0, >=2.11.0 (234ab9b)

  • Drop usage of pkg_resources (234ab9b)

  • Fix timeout default values (234ab9b)

Documentation

  • Clarified docs for Sentiment (234ab9b)

  • samples: Snippetgen handling of repeated enum field (234ab9b)

  • samples: Snippetgen should call await on the operation coroutine before calling result (234ab9b)

2.16.1 (2022-10-10)

Bug Fixes

Documentation

  • samples: Add sample code for StreamingAnalyzeContent for live transcription. (#575) (b6bbd62)

2.16.0 (2022-10-03)

Features

Bug Fixes

Documentation

  • clarify SuggestionFeature enums which are specific to chat agents (74d45fb)

  • v2beta1: clarify SuggestionFeature enums which are specific to chat agents (1648b27)

2.15.2 (2022-08-15)

Bug Fixes

  • deps: allow protobuf < 5.0.0 (#554) (45f74b4)

  • deps: require proto-plus >= 1.22.0 (45f74b4)

2.15.1 (2022-08-09)

Documentation

  • added an explicit note that DetectIntentRequest’s text input is limited by 256 characters (#543) (4b36501)

  • updated some method comments and added an explicit note that DetectIntentRequest’s text input is limited by 256 characters (#545) (1efd108)

2.15.0 (2022-07-16)

Features

  • add audience parameter (4377f2a)

  • Add AudioInput to analysis requests (4377f2a)

  • Add filter field to ListAnswerRecordsRequest (4377f2a)

  • deprecated the filter field and add resource_definition (4377f2a)

  • provide new parameter cx_current_page, the unique identifier of the CX page to override the current_page in the session (#533) (4377f2a)

Bug Fixes

  • deps: require google-api-core>=1.32.0,>=2.8.0 (4377f2a)

  • require python 3.7+ (#535) (912518b)

Documentation

  • add more meaningful comments (4377f2a)

  • add more meaningful comments (4377f2a)

  • Update region_tag: dialogflow_detect_intent_text –> dialogflow_es_detect_intent_text (#536) (c20dcf7)

2.14.1 (2022-06-03)

Bug Fixes

Documentation

  • fix changelog header to consistent size (#524) (75977e8)

2.14.0 (2022-05-09)

Features

  • added HUMAN_INTERVENTION_NEEDED type in ConversationEvent (#488) (fa5fd8b)

  • v2beta1: add the API of StreamingAnalyzeContent (#520) (0d3b413)

Bug Fixes

  • correct broken ConversationModelEvaluation resource pattern (#509) (cd4a93b)

Documentation

  • add the fields for setting CX virtual agent session parameters (#519) (347e03f)

  • added explanation for SuggestionResult (#490) (0c210be)

2.13.0 (2022-03-08)

Features

  • added ConversationDataset resource and its APIs (bd93557)

  • added ConversationModel resource and its APIs (bd93557)

  • added metadata for the Knowledge operation (bd93557)

  • added new knowledge type of Document content (bd93557)

  • added SetSuggestionFeatureConfig and ClearSuggestionFeatureConfig APIs for ConversationProfile (bd93557)

  • added states of Document (bd93557)

Bug Fixes

  • deps: require google-api-core>=1.31.5, >=2.3.2 (#479) (4a62e80)

  • deps: require proto-plus>=1.15.0 (4a62e80)

Documentation

  • added a new resource name pattern for ConversationModel (bd93557)

  • clarified the behavior of language_code in EventInput (#475) (bd93557)

  • clarified wording around Cloud Storage usage (bd93557)

  • updated copyright (bd93557)

2.12.0 (2022-02-11)

Features

Bug Fixes

  • resolve DuplicateCredentialArgs error when using credentials_file (74a54c6)

Documentation

2.11.0 (2022-01-13)

Features

  • support document metadata filter in article suggestion (#442) (6f615f9)

  • v2: added export documentation method (#449) (a43d1e9)

  • v2: added filter in list documentations request (a43d1e9)

  • v2: added filter in list knowledge bases request (a43d1e9)

  • v2: added option to apply partial update to the smart messaging allowlist in reload document request (a43d1e9)

  • v2: added option to import custom metadata from Google Cloud Storage in reload document request (a43d1e9)

  • v2beta1: add support for knowledge_base in knowledge operation metadata (0f60629)

  • v2beta1: added option to configure the number of sentences in the suggestion context (#453) (e48ea00)

  • v2beta1: removed OPTIONAL for speech model variant (#448) (0f60629)

  • v2: removed OPTIONAL for speech model variant (#447) (56efd10)

2.10.0 (2021-11-12)

Features

  • add context manager support in client (#416) (317187c)

  • add document metadata filter in article suggestion (#437) (56a6e11)

  • add smart reply model in human agent assistant (56a6e11)

  • add support for python 3.10 (#422) (652e2e8)

  • v2: added support to configure security settings, language code and time zone on conversation profile (#431) (6296673)

Bug Fixes

  • deps: drop packaging dependency (fd06e9f)

  • deps: require google-api-core >= 1.28.0 (fd06e9f)

Documentation

  • clarified meaning of the legacy editions (#426) (d7a7544)

  • clarified semantic of the streaming APIs (d7a7544)

  • list oneofs in docstring (fd06e9f)

  • samples: Added comments (#425) (f5d40dc)

  • v2beta1: clarified meaning of the legacy editions (fd06e9f)

  • v2beta1: clarified semantic of the streaming APIs (fd06e9f)

  • v2beta1: recommend AnalyzeContent for future users (#420) (1afdab3)

  • v2: recommend AnalyzeContent for future users (#421) (c6940a9)

2.9.1 (2021-10-04)

Documentation

  • samples: adds training phrases sample (#404) (9d98f9b)

2.9.0 (2021-09-30)

Features

  • added support for TelephonyTransferCall in Participant ResponseMessage (#406) (814055d)

Bug Fixes

  • improper types in pagers generation (814055d)

Documentation

2.8.1 (2021-09-29)

Bug Fixes

  • add ‘dict’ annotation type to ‘request’ (12b4f60)

2.8.0 (2021-09-08)

Features

  • add language code to streaming recognition result (ad896f7)

  • add time zone and security settings to conversation profile (ad896f7)

  • expose Locations service to get/list avaliable locations of Dialogflow products (#364) (ad896f7)

Documentation

2.7.1 (2021-07-26)

Bug Fixes

Documentation

2.7.0 (2021-07-22)

Features

  • add Samples section to CONTRIBUTING.rst (#340) (25217a3)

Bug Fixes

  • deps: pin ‘google-{api,cloud}-core’, ‘google-auth’ to allow 2.x versions (#339) (3bfe5b6)

2.6.0 (2021-07-10)

Features

Bug Fixes

  • disable always_use_jwt_access (9bf371d)

2.5.0 (2021-06-26)

Features

  • added Automated agent reply type and allow cancellation flag for partial response feature (#314) (5dfd375)

  • v2beta1: added Automated agent reply type and allow cancellation flag for partial response feature (#311) (1d34763)

Documentation

  • added notes to train agent prior to sending queries (#319) (37dece2)

  • omit mention of Python 2.7 in ‘CONTRIBUTING.rst’ (#1127) (#316) (55fcb9d)

  • update comment in ListSuggestions to use absolute URL for /apis/design/design_patterns (#313) (99d8897)

2.4.0 (2021-05-25)

Features

  • add a field to indicate whether slot filling is cancelled (#304) (3343504)

  • v2beta1: add a field to indicate whether slot filling is cancelled (#306) (05be019)

2.3.0 (2021-05-19)

Features

  • added location-aware HTTP path binding for ListIntents feat: exposed match confidence and parameter in AnalyzeContentResponse feat: added DTMF and PARTIAL DTMF type in recognition result (#298) (e52e9c0)

2.2.0 (2021-05-16)

Features

  • added Fulfillment service (1b39fc0)

  • added location in some resource patterns (1b39fc0)

  • added location-aware HTTP path binding for ListIntents (#294) (1f71e77)

  • added more Environment RPCs (1b39fc0)

  • added TextToSpeechSettings. (1b39fc0)

  • added Versions service (1b39fc0)

  • support self-signed JWT flow for service accounts (1b39fc0)

Bug Fixes

  • add async client to %name_%version/init.py (1b39fc0)

  • deps: add packaging requirement (#293) (a9f970c)

  • removed incorrect resource annotation for UpdateEnvironmentRequest. (1b39fc0)

2.1.2 (2021-04-13)

Bug Fixes

  • remove unused proto InputText, InputAudio (#273) (787d064)

2.1.1 (2021-04-12)

Bug Fixes

  • remove input_audio field from AnalyzeContentRequest from v2/v2beta1 (06381fc)

  • remove proto message CreateCallMatcherRequest, CreateCallMatcherResponse, ListCallMatchersRequest, ListCallMatchersResponse, DeleteCallMatcherRequest, DeleteCallMatcherResponse, CallMatcher, StreamingAnalyzeContentRequest, StreamingAnalyzeContentResponse, AudioInput from v2/v2beta1, TelephonyDtmfEvents, TelephonyDtmf from v2 (06381fc)

  • remove resource_reference for invisible resources (06381fc)

  • Remove resource_reference from UpdateAnswerRecord (06381fc)

  • remove rpc or fields that are unintended to release (#264) (06381fc)

  • remove StreamingAnalyzeContent, CreateCallMatcher, ListCallMatchers, DeleteCallMatcher rpc from v2/v2beta1 (06381fc)

Documentation

  • samples: add Agent Assist code samples (#267) (0a8cfb9)

2.1.0 (2021-03-10)

Features

  • add sample code for using regional Dialogflow endpoint (#254) (230bb4e)

  • Add CCAI API (#259) (f383bb9)

  • add additional_bindings to Dialogflow v2beta1 ListIntents API (#259) (f383bb9)

  • add additional_bindings to Dialogflow v2 ListIntents API (#259) (f383bb9)

  • Add from_service_account_info factory (#259) (f383bb9)

Bug Fixes

Documentation

  • clarified voice selection params names (#259) (f383bb9)

  • update comments on parameters and validation result. (#259) (f383bb9)

2.0.0 (2020-12-14)

⚠ BREAKING CHANGES

Features

1.1.0 (2020-08-26)

Features

Documentation

1.0.0 (2020-05-13)

Features

0.8.0 (2020-03-26)

Features

  • dialogflow: add MediaContent, BrowseCarouselCard, ColumnPropertiesin v2; add SpeechContext, SpeechWordInfoin v2; add enable_word_info, speech_contexts,model to InputAudioConfig in v2; add subtitles to Intent.Message.ListSelect in v2beta1; add language_code to ListKnowledgeBase in v2beta1; add webhook_headers to QueryParameters in v2beta1 (#175) (713846b)

  • add validation support to v2; add output_audio_config_mask to detect_intent method in v2beta1 and v2; add sub agent to v2beta1 (via synth) (#179) (5a6f18e)

0.7.2 (2019-10-18)

Bug Fixes

0.7.1 (2019-10-17)

Bug Fixes

  • pin google-api-core>=1.14.0, update format (#156) (69951d0)

0.7.0 (2019-10-16)

Features

v2 and v2beta1

  • Add set_agent and delete_agent methods to AgentsClient

  • Add api_version and tier to Agents

  • Add session_entity_types to WebhookResponse

  • Add model_variant and single_utterance to InputAudioConfig

  • Add SpeechModelVariant enum

  • Add enable_fuzzy_extraction to EntityType

  • Add KIND_REGEXP to EntityType.Kind enum

  • Add client_options to clients

  • Allow kwargs to be passed to transport create_channel methods

  • Deprecate single_utterance attribute in StreamingDetectIntentRequest. Please use InputAudioConfig.single_utterance

v2

  • Add Google Hangouts to Message.Platform enum

v2beta1

  • Add get_validation_result method to AgentsClient

  • Add gcs_source and source to reload_document method in DocumentsClient

  • Add Rich Business Messaging (RBM) support, table_card, and media_content to intent messages

  • Add enable_word_info, speech_contexts to InputAudioConfig

  • update_document returns _OperationFuture rather than Operation

  • Deprecate projects.agent.knowledgeBases. Please use projects.knowledgeBases.

  • Add stability, speech_word_info and speech_end_offset to StreamingRecognitionResult

0.6.0

05-06-2019 1:34 PST

Implementation Changes

Features

  • Add argument output_audio_config to detect_intent. (#123)

  • Add update_knowledge_base method. (#123)

  • Add update_document and reload_document methods. (#123)

Documentation:

  • Change copyright year to 2019. (#123)

Internal / Testing Changes

  • Use mock to patch create_channel in unit tests. (#123)

0.5.2

12-18-2018 10:50 PST

Documentation

  • Add notice of Python 2.7 deprecation (#112)

  • Fix typo in samples (#52)

  • Update README.rst (#27)

  • Updating README per ask from Product (#81)

  • Add v2beta1 samples for dialogflow and update v2 sample formatting. (#72)

Internal / Testing Changes

  • Update github issue templates (#103)

  • Strip dynamic badges from README (#99)

  • Correct the repository name in samples README. (#83)

  • Fix #76 by adding replacement patterns to dialogflow (#79)

0.4.0

  • Regenerate v2beta1 endpoint

0.3.0

  • Regenerate v2 endpoint

  • Update documentation comments

0.2.0

New Features

  • Add v2 Endpoint (#38)

Documentation

  • Add sample readme, and sample agent (#15)

Internal / Testing Changes

  • Fix typo (#16)