Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

docs: update the doc on diagnostic info #477

Merged
merged 4 commits into from
May 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1269,8 +1269,20 @@ public com.google.cloud.dialogflow.cx.v3.MatchOrBuilder getMatchOrBuilder() {
*
* <pre>
* The free-form diagnostic info. For example, this field could contain
* webhook call latency. The string keys of the Struct's fields map can change
* without notice.
* webhook call latency. The fields of this data can change without notice,
* so you should not write code that depends on its structure.
* One of the fields is called "Alternative Matched Intents", which may
* aid with debugging. The following describes these intent results:
* - The list is empty if no intent was matched to end-user input.
* - Only intents that are referenced in the currently active flow are
* included.
* - The matched intent is included.
* - Other intents that could have matched end-user input, but did not match
* because they are referenced by intent routes that are out of
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
* are included.
* - Other intents referenced by intent routes in scope that matched end-user
* input, but had a lower confidence score.
* </pre>
*
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
Expand All @@ -1286,8 +1298,20 @@ public boolean hasDiagnosticInfo() {
*
* <pre>
* The free-form diagnostic info. For example, this field could contain
* webhook call latency. The string keys of the Struct's fields map can change
* without notice.
* webhook call latency. The fields of this data can change without notice,
* so you should not write code that depends on its structure.
* One of the fields is called "Alternative Matched Intents", which may
* aid with debugging. The following describes these intent results:
* - The list is empty if no intent was matched to end-user input.
* - Only intents that are referenced in the currently active flow are
* included.
* - The matched intent is included.
* - Other intents that could have matched end-user input, but did not match
* because they are referenced by intent routes that are out of
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
* are included.
* - Other intents referenced by intent routes in scope that matched end-user
* input, but had a lower confidence score.
* </pre>
*
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
Expand All @@ -1305,8 +1329,20 @@ public com.google.protobuf.Struct getDiagnosticInfo() {
*
* <pre>
* The free-form diagnostic info. For example, this field could contain
* webhook call latency. The string keys of the Struct's fields map can change
* without notice.
* webhook call latency. The fields of this data can change without notice,
* so you should not write code that depends on its structure.
* One of the fields is called "Alternative Matched Intents", which may
* aid with debugging. The following describes these intent results:
* - The list is empty if no intent was matched to end-user input.
* - Only intents that are referenced in the currently active flow are
* included.
* - The matched intent is included.
* - Other intents that could have matched end-user input, but did not match
* because they are referenced by intent routes that are out of
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
* are included.
* - Other intents referenced by intent routes in scope that matched end-user
* input, but had a lower confidence score.
* </pre>
*
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
Expand Down Expand Up @@ -5205,8 +5241,20 @@ public com.google.cloud.dialogflow.cx.v3.MatchOrBuilder getMatchOrBuilder() {
*
* <pre>
* The free-form diagnostic info. For example, this field could contain
* webhook call latency. The string keys of the Struct's fields map can change
* without notice.
* webhook call latency. The fields of this data can change without notice,
* so you should not write code that depends on its structure.
* One of the fields is called "Alternative Matched Intents", which may
* aid with debugging. The following describes these intent results:
* - The list is empty if no intent was matched to end-user input.
* - Only intents that are referenced in the currently active flow are
* included.
* - The matched intent is included.
* - Other intents that could have matched end-user input, but did not match
* because they are referenced by intent routes that are out of
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
* are included.
* - Other intents referenced by intent routes in scope that matched end-user
* input, but had a lower confidence score.
* </pre>
*
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
Expand All @@ -5221,8 +5269,20 @@ public boolean hasDiagnosticInfo() {
*
* <pre>
* The free-form diagnostic info. For example, this field could contain
* webhook call latency. The string keys of the Struct's fields map can change
* without notice.
* webhook call latency. The fields of this data can change without notice,
* so you should not write code that depends on its structure.
* One of the fields is called "Alternative Matched Intents", which may
* aid with debugging. The following describes these intent results:
* - The list is empty if no intent was matched to end-user input.
* - Only intents that are referenced in the currently active flow are
* included.
* - The matched intent is included.
* - Other intents that could have matched end-user input, but did not match
* because they are referenced by intent routes that are out of
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
* are included.
* - Other intents referenced by intent routes in scope that matched end-user
* input, but had a lower confidence score.
* </pre>
*
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
Expand All @@ -5243,8 +5303,20 @@ public com.google.protobuf.Struct getDiagnosticInfo() {
*
* <pre>
* The free-form diagnostic info. For example, this field could contain
* webhook call latency. The string keys of the Struct's fields map can change
* without notice.
* webhook call latency. The fields of this data can change without notice,
* so you should not write code that depends on its structure.
* One of the fields is called "Alternative Matched Intents", which may
* aid with debugging. The following describes these intent results:
* - The list is empty if no intent was matched to end-user input.
* - Only intents that are referenced in the currently active flow are
* included.
* - The matched intent is included.
* - Other intents that could have matched end-user input, but did not match
* because they are referenced by intent routes that are out of
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
* are included.
* - Other intents referenced by intent routes in scope that matched end-user
* input, but had a lower confidence score.
* </pre>
*
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
Expand All @@ -5267,8 +5339,20 @@ public Builder setDiagnosticInfo(com.google.protobuf.Struct value) {
*
* <pre>
* The free-form diagnostic info. For example, this field could contain
* webhook call latency. The string keys of the Struct's fields map can change
* without notice.
* webhook call latency. The fields of this data can change without notice,
* so you should not write code that depends on its structure.
* One of the fields is called "Alternative Matched Intents", which may
* aid with debugging. The following describes these intent results:
* - The list is empty if no intent was matched to end-user input.
* - Only intents that are referenced in the currently active flow are
* included.
* - The matched intent is included.
* - Other intents that could have matched end-user input, but did not match
* because they are referenced by intent routes that are out of
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
* are included.
* - Other intents referenced by intent routes in scope that matched end-user
* input, but had a lower confidence score.
* </pre>
*
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
Expand All @@ -5288,8 +5372,20 @@ public Builder setDiagnosticInfo(com.google.protobuf.Struct.Builder builderForVa
*
* <pre>
* The free-form diagnostic info. For example, this field could contain
* webhook call latency. The string keys of the Struct's fields map can change
* without notice.
* webhook call latency. The fields of this data can change without notice,
* so you should not write code that depends on its structure.
* One of the fields is called "Alternative Matched Intents", which may
* aid with debugging. The following describes these intent results:
* - The list is empty if no intent was matched to end-user input.
* - Only intents that are referenced in the currently active flow are
* included.
* - The matched intent is included.
* - Other intents that could have matched end-user input, but did not match
* because they are referenced by intent routes that are out of
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
* are included.
* - Other intents referenced by intent routes in scope that matched end-user
* input, but had a lower confidence score.
* </pre>
*
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
Expand All @@ -5316,8 +5412,20 @@ public Builder mergeDiagnosticInfo(com.google.protobuf.Struct value) {
*
* <pre>
* The free-form diagnostic info. For example, this field could contain
* webhook call latency. The string keys of the Struct's fields map can change
* without notice.
* webhook call latency. The fields of this data can change without notice,
* so you should not write code that depends on its structure.
* One of the fields is called "Alternative Matched Intents", which may
* aid with debugging. The following describes these intent results:
* - The list is empty if no intent was matched to end-user input.
* - Only intents that are referenced in the currently active flow are
* included.
* - The matched intent is included.
* - Other intents that could have matched end-user input, but did not match
* because they are referenced by intent routes that are out of
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
* are included.
* - Other intents referenced by intent routes in scope that matched end-user
* input, but had a lower confidence score.
* </pre>
*
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
Expand All @@ -5338,8 +5446,20 @@ public Builder clearDiagnosticInfo() {
*
* <pre>
* The free-form diagnostic info. For example, this field could contain
* webhook call latency. The string keys of the Struct's fields map can change
* without notice.
* webhook call latency. The fields of this data can change without notice,
* so you should not write code that depends on its structure.
* One of the fields is called "Alternative Matched Intents", which may
* aid with debugging. The following describes these intent results:
* - The list is empty if no intent was matched to end-user input.
* - Only intents that are referenced in the currently active flow are
* included.
* - The matched intent is included.
* - Other intents that could have matched end-user input, but did not match
* because they are referenced by intent routes that are out of
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
* are included.
* - Other intents referenced by intent routes in scope that matched end-user
* input, but had a lower confidence score.
* </pre>
*
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
Expand All @@ -5354,8 +5474,20 @@ public com.google.protobuf.Struct.Builder getDiagnosticInfoBuilder() {
*
* <pre>
* The free-form diagnostic info. For example, this field could contain
* webhook call latency. The string keys of the Struct's fields map can change
* without notice.
* webhook call latency. The fields of this data can change without notice,
* so you should not write code that depends on its structure.
* One of the fields is called "Alternative Matched Intents", which may
* aid with debugging. The following describes these intent results:
* - The list is empty if no intent was matched to end-user input.
* - Only intents that are referenced in the currently active flow are
* included.
* - The matched intent is included.
* - Other intents that could have matched end-user input, but did not match
* because they are referenced by intent routes that are out of
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
* are included.
* - Other intents referenced by intent routes in scope that matched end-user
* input, but had a lower confidence score.
* </pre>
*
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
Expand All @@ -5374,8 +5506,20 @@ public com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder() {
*
* <pre>
* The free-form diagnostic info. For example, this field could contain
* webhook call latency. The string keys of the Struct's fields map can change
* without notice.
* webhook call latency. The fields of this data can change without notice,
* so you should not write code that depends on its structure.
* One of the fields is called "Alternative Matched Intents", which may
* aid with debugging. The following describes these intent results:
* - The list is empty if no intent was matched to end-user input.
* - Only intents that are referenced in the currently active flow are
* included.
* - The matched intent is included.
* - Other intents that could have matched end-user input, but did not match
* because they are referenced by intent routes that are out of
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
* are included.
* - Other intents referenced by intent routes in scope that matched end-user
* input, but had a lower confidence score.
* </pre>
*
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -652,8 +652,20 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr
*
* <pre>
* The free-form diagnostic info. For example, this field could contain
* webhook call latency. The string keys of the Struct's fields map can change
* without notice.
* webhook call latency. The fields of this data can change without notice,
* so you should not write code that depends on its structure.
* One of the fields is called "Alternative Matched Intents", which may
* aid with debugging. The following describes these intent results:
* - The list is empty if no intent was matched to end-user input.
* - Only intents that are referenced in the currently active flow are
* included.
* - The matched intent is included.
* - Other intents that could have matched end-user input, but did not match
* because they are referenced by intent routes that are out of
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
* are included.
* - Other intents referenced by intent routes in scope that matched end-user
* input, but had a lower confidence score.
* </pre>
*
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
Expand All @@ -666,8 +678,20 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr
*
* <pre>
* The free-form diagnostic info. For example, this field could contain
* webhook call latency. The string keys of the Struct's fields map can change
* without notice.
* webhook call latency. The fields of this data can change without notice,
* so you should not write code that depends on its structure.
* One of the fields is called "Alternative Matched Intents", which may
* aid with debugging. The following describes these intent results:
* - The list is empty if no intent was matched to end-user input.
* - Only intents that are referenced in the currently active flow are
* included.
* - The matched intent is included.
* - Other intents that could have matched end-user input, but did not match
* because they are referenced by intent routes that are out of
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
* are included.
* - Other intents referenced by intent routes in scope that matched end-user
* input, but had a lower confidence score.
* </pre>
*
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
Expand All @@ -680,8 +704,20 @@ com.google.cloud.dialogflow.cx.v3.ResponseMessageOrBuilder getResponseMessagesOr
*
* <pre>
* The free-form diagnostic info. For example, this field could contain
* webhook call latency. The string keys of the Struct's fields map can change
* without notice.
* webhook call latency. The fields of this data can change without notice,
* so you should not write code that depends on its structure.
* One of the fields is called "Alternative Matched Intents", which may
* aid with debugging. The following describes these intent results:
* - The list is empty if no intent was matched to end-user input.
* - Only intents that are referenced in the currently active flow are
* included.
* - The matched intent is included.
* - Other intents that could have matched end-user input, but did not match
* because they are referenced by intent routes that are out of
* [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
* are included.
* - Other intents referenced by intent routes in scope that matched end-user
* input, but had a lower confidence score.
* </pre>
*
* <code>.google.protobuf.Struct diagnostic_info = 10;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -617,8 +617,22 @@ message QueryResult {
Match match = 15;

// The free-form diagnostic info. For example, this field could contain
// webhook call latency. The string keys of the Struct's fields map can change
// without notice.
// webhook call latency. The fields of this data can change without notice,
// so you should not write code that depends on its structure.
//
// One of the fields is called "Alternative Matched Intents", which may
// aid with debugging. The following describes these intent results:
//
// - The list is empty if no intent was matched to end-user input.
// - Only intents that are referenced in the currently active flow are
// included.
// - The matched intent is included.
// - Other intents that could have matched end-user input, but did not match
// because they are referenced by intent routes that are out of
// [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
// are included.
// - Other intents referenced by intent routes in scope that matched end-user
// input, but had a lower confidence score.
google.protobuf.Struct diagnostic_info = 10;

// The sentiment analyss result, which depends on
Expand Down