Skip to content

Commit

Permalink
feat: added cx_current_page field to AutomatedAgentReply (#3671)
Browse files Browse the repository at this point in the history
feat: added cx_current_page field to AutomatedAgentReply
docs: clarified docs for Sentiment
PiperOrigin-RevId: 489494136
Source-Link: googleapis/googleapis@813e2fa
Source-Link: googleapis/googleapis-gen@dcf4959
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRpYWxvZ2Zsb3cvLk93bEJvdC55YW1sIiwiaCI6ImRjZjQ5NTk0M2Y1OTAyNmIzOTI5MjdjMTljNjUyZjYxYmQxZjk4NjkifQ==
feat: added cx_current_page field to AutomatedAgentReply
docs: clarified docs for Sentiment
PiperOrigin-RevId: 490103678
Source-Link: googleapis/googleapis@8f95a5f
Source-Link: googleapis/googleapis-gen@fed1c10
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRpYWxvZ2Zsb3cvLk93bEJvdC55YW1sIiwiaCI6ImZlZDFjMTA4ZGJlOTI5MWMxNGY3ZjMwNWNhMWU4YmYyODMwYzljNjAifQ==
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Benjamin E. Coe <[email protected]>
  • Loading branch information
3 people authored Dec 5, 2022
1 parent a85ba76 commit 47e23e4
Show file tree
Hide file tree
Showing 7 changed files with 82 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,11 @@ message AutomatedAgentReply {
// later reply message arrives. e.g. if the agent specified some music as
// partial response, it can be cancelled.
bool allow_cancellation = 8;

// The unique identifier of the current Dialogflow CX conversation page.
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
// ID>/flows/<Flow ID>/pages/<Page ID>`.
string cx_current_page = 11;
}

// Represents article answer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,9 @@ message SentimentAnalysisResult {
}

// The sentiment, such as positive/negative feeling or association, for a unit
// of analysis, such as the query text.
// of analysis, such as the query text. See:
// https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values
// for how to interpret the result.
message Sentiment {
// Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
// sentiment).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,11 @@ message AutomatedAgentReply {
// later reply message arrives. e.g. if the agent specified some music as
// partial response, it can be cancelled.
bool allow_cancellation = 8;

// The unique identifier of the current Dialogflow CX conversation page.
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
// ID>/flows/<Flow ID>/pages/<Page ID>`.
string cx_current_page = 11;
}

// The type of Human Agent Assistant API suggestion to perform, and the maximum
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,9 @@ message SentimentAnalysisResult {
}

// The sentiment, such as positive/negative feeling or association, for a unit
// of analysis, such as the query text.
// of analysis, such as the query text. See:
// https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values
// for how to interpret the result.
message Sentiment {
// Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
// sentiment).
Expand Down
12 changes: 12 additions & 0 deletions packages/google-cloud-dialogflow/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions packages/google-cloud-dialogflow/protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions packages/google-cloud-dialogflow/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 47e23e4

Please sign in to comment.