Skip to content

Commit 8dc944f

Browse files
Google APIscopybara-github
authored andcommitted
docs: clarified wording around document_correctness
docs: clarified wording around use_timeout_based_endpointing docs: clarified wording around BoostSpec and filter_specs docs: clarified wording around send_time PiperOrigin-RevId: 731775764
1 parent d9b0493 commit 8dc944f

4 files changed

Lines changed: 27 additions & 15 deletions

File tree

google/cloud/dialogflow/v2beta1/answer_record.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ message AgentAssistantFeedback {
298298
// * Suggested document says: "Items must be returned/exchanged within 60
299299
// days of the purchase date."
300300
// * Ground truth: "No return or exchange is allowed."
301-
// * [document_correctness]: INCORRECT
301+
// * [document_correctness][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_correctness]: [INCORRECT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentCorrectness.INCORRECT]
302302
DocumentCorrectness document_correctness = 2;
303303

304304
// Optional. Whether or not the suggested document is efficient. For example,

google/cloud/dialogflow/v2beta1/audio_config.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ message SpeechToTextConfig {
376376
// information.
377377
bool enable_word_info = 9;
378378

379-
// Use timeout based endpointing, interpreting endpointer sensitivy as
379+
// Use timeout based endpointing, interpreting endpointer sensitivity as
380380
// seconds of timeout value.
381381
bool use_timeout_based_endpointing = 11;
382382
}

google/cloud/dialogflow/v2beta1/conversation.proto

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,10 @@ message SearchKnowledgeRequest {
775775
// Configuration specific to search queries with data stores.
776776
message SearchConfig {
777777
// Boost specifications for data stores.
778+
//
779+
// Maps from datastore name to their boost configuration. Do not specify
780+
// more than one BoostSpecs for each datastore name. If multiple BoostSpecs
781+
// are provided for the same datastore name, the behavior is undefined.
778782
message BoostSpecs {
779783
// Boost specification to boost certain documents.
780784
// A copy of google.cloud.discoveryengine.v1main.BoostSpec, field
@@ -900,7 +904,7 @@ message SearchKnowledgeRequest {
900904
}
901905

902906
// Optional. Condition boost specifications. If a document matches
903-
// multiple conditions in the specifictions, boost scores from these
907+
// multiple conditions in the specifications, boost scores from these
904908
// specifications are all applied and combined in a non-linear way.
905909
// Maximum number of specifications is 20.
906910
repeated ConditionBoostSpec condition_boost_specs = 1
@@ -941,6 +945,11 @@ message SearchKnowledgeRequest {
941945
[(google.api.field_behavior) = OPTIONAL];
942946

943947
// Optional. Filter specification for data store queries.
948+
//
949+
// Maps from datastore name to the filter expression for that datastore. Do
950+
// not specify more than one FilterSpecs for each datastore name. If
951+
// multiple FilterSpecs are provided for the same datastore name, the
952+
// behavior is undefined.
944953
repeated FilterSpecs filter_specs = 2
945954
[(google.api.field_behavior) = OPTIONAL];
946955
}

google/cloud/dialogflow/v2beta1/participant.proto

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,8 @@ message Message {
373373
google.protobuf.Timestamp create_time = 6
374374
[(google.api.field_behavior) = OUTPUT_ONLY];
375375

376-
// Optional. The time when the message was sent.
376+
// Optional. The time when the message was sent. For voice messages, this is
377+
// the time when an utterance started.
377378
google.protobuf.Timestamp send_time = 9
378379
[(google.api.field_behavior) = OPTIONAL];
379380

@@ -725,8 +726,8 @@ message AnalyzeContentRequest {
725726
// CX agent.
726727
google.protobuf.Struct cx_parameters = 18;
727728

728-
// The unique identifier of the CX page to override the `current_page` in the
729-
// session.
729+
// The unique identifier of the Dialogflow CX page to override the
730+
// `current_page` in the session.
730731
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
731732
// ID>/flows/<Flow ID>/pages/<Page ID>`.
732733
//
@@ -952,8 +953,8 @@ message StreamingAnalyzeContentRequest {
952953
// CX agent.
953954
google.protobuf.Struct cx_parameters = 13;
954955

955-
// The unique identifier of the CX page to override the `current_page` in the
956-
// session.
956+
// The unique identifier of the Dialogflow CX page to override the
957+
// `current_page` in the session.
957958
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
958959
// ID>/flows/<Flow ID>/pages/<Page ID>`.
959960
//
@@ -989,11 +990,12 @@ message StreamingAnalyzeContentRequest {
989990
// https://cloud.google.com/agent-assist/docs/extended-streaming
990991
bool enable_extended_streaming = 11 [(google.api.field_behavior) = OPTIONAL];
991992

992-
// Enable partial virtual agent responses. If this flag is not enabled,
993-
// response stream still contains only one final response even if some
994-
// `Fulfillment`s in Dialogflow virtual agent have been configured to return
995-
// partial responses.
996-
bool enable_partial_automated_agent_reply = 12;
993+
// Optional. Enable partial responses from Dialogflow CX agent. If this flag
994+
// is not enabled, response stream still contains only one final response even
995+
// if some `Fulfillment`s in Dialogflow CX agent have been configured to
996+
// return partial responses.
997+
bool enable_partial_automated_agent_reply = 12
998+
[(google.api.field_behavior) = OPTIONAL];
997999

9981000
// if true, `StreamingAnalyzeContentResponse.debugging_info` will get
9991001
// populated.
@@ -1631,7 +1633,8 @@ message ResponseMessage {
16311633
//
16321634
// You may set this, for example:
16331635
//
1634-
// * In the entry fulfillment of a CX Page if entering the page indicates
1636+
// * In the entry fulfillment of a Dialogflow CX Page if entering the page
1637+
// indicates
16351638
// something went extremely wrong in the conversation.
16361639
// * In a webhook response when you determine that the customer issue can only
16371640
// be handled by a human.
@@ -1741,7 +1744,7 @@ message SuggestKnowledgeAssistRequest {
17411744
int32 context_size = 3 [(google.api.field_behavior) = OPTIONAL];
17421745

17431746
// Optional. The previously suggested query for the given conversation. This
1744-
// helps identify whether the next suggestion we generate is resonably
1747+
// helps identify whether the next suggestion we generate is reasonably
17451748
// different from the previous one. This is useful to avoid similar
17461749
// suggestions within the conversation.
17471750
string previous_suggested_query = 4 [(google.api.field_behavior) = OPTIONAL];

0 commit comments

Comments
 (0)