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

docs: added notes to train agent prior to sending queries #601

Merged
merged 2 commits into from
Jul 5, 2021
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 @@ -278,6 +278,9 @@ public final UnaryCallable<GetAgentRequest, Agent> getAgentCallable() {
/**
* Creates/updates the specified agent.
*
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -299,6 +302,9 @@ public final Agent setAgent(Agent agent) {
/**
* Creates/updates the specified agent.
*
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -323,6 +329,9 @@ public final Agent setAgent(SetAgentRequest request) {
/**
* Creates/updates the specified agent.
*
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
* <pre>{@code
Expand Down Expand Up @@ -658,7 +667,8 @@ public final UnaryCallable<SearchAgentsRequest, SearchAgentsResponse> searchAgen
/**
* Trains the specified agent.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt;
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand All @@ -683,7 +693,8 @@ public final OperationFuture<Empty, Struct> trainAgentAsync(LocationName parent)
/**
* Trains the specified agent.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt;
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand All @@ -708,7 +719,8 @@ public final OperationFuture<Empty, Struct> trainAgentAsync(ProjectName parent)
/**
* Trains the specified agent.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt;
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand All @@ -732,7 +744,8 @@ public final OperationFuture<Empty, Struct> trainAgentAsync(String parent) {
/**
* Trains the specified agent.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt;
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand All @@ -757,7 +770,8 @@ public final OperationFuture<Empty, Struct> trainAgentAsync(TrainAgentRequest re
/**
* Trains the specified agent.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt;
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand All @@ -782,7 +796,8 @@ public final OperationCallable<TrainAgentRequest, Empty, Struct> trainAgentOpera
/**
* Trains the specified agent.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt;
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand All @@ -806,9 +821,6 @@ public final UnaryCallable<TrainAgentRequest, Operation> trainAgentCallable() {
/**
* Exports the specified agent to a ZIP file.
*
* <p>Operation &lt;response:
* [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]&gt;
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -834,9 +846,6 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(Locat
/**
* Exports the specified agent to a ZIP file.
*
* <p>Operation &lt;response:
* [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]&gt;
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -862,9 +871,6 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(Proje
/**
* Exports the specified agent to a ZIP file.
*
* <p>Operation &lt;response:
* [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]&gt;
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -887,9 +893,6 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(Strin
/**
* Exports the specified agent to a ZIP file.
*
* <p>Operation &lt;response:
* [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]&gt;
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -915,9 +918,6 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(
/**
* Exports the specified agent to a ZIP file.
*
* <p>Operation &lt;response:
* [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]&gt;
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -943,9 +943,6 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(
/**
* Exports the specified agent to a ZIP file.
*
* <p>Operation &lt;response:
* [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]&gt;
*
* <p>Sample code:
*
* <pre>{@code
Expand Down Expand Up @@ -977,9 +974,11 @@ public final UnaryCallable<ExportAgentRequest, Operation> exportAgentCallable()
* [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it
* returns in order to train explicitly.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt; An operation
* which tracks when importing is complete. It only tracks when the draft agent is updated not
* when it is done training.
* <p>An operation which tracks when importing is complete. It only tracks when the draft agent is
* updated not when it is done training.
*
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand Down Expand Up @@ -1012,9 +1011,11 @@ public final OperationFuture<Empty, Struct> importAgentAsync(ImportAgentRequest
* [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it
* returns in order to train explicitly.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt; An operation
* which tracks when importing is complete. It only tracks when the draft agent is updated not
* when it is done training.
* <p>An operation which tracks when importing is complete. It only tracks when the draft agent is
* updated not when it is done training.
*
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand Down Expand Up @@ -1047,9 +1048,11 @@ public final OperationCallable<ImportAgentRequest, Empty, Struct> importAgentOpe
* [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it
* returns in order to train explicitly.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt; An operation
* which tracks when importing is complete. It only tracks when the draft agent is updated not
* when it is done training.
* <p>An operation which tracks when importing is complete. It only tracks when the draft agent is
* updated not when it is done training.
*
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand Down Expand Up @@ -1080,9 +1083,11 @@ public final UnaryCallable<ImportAgentRequest, Operation> importAgentCallable()
* [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it
* returns in order to train explicitly.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt; An operation
* which tracks when restoring is complete. It only tracks when the draft agent is updated not
* when it is done training.
* <p>An operation which tracks when restoring is complete. It only tracks when the draft agent is
* updated not when it is done training.
*
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand Down Expand Up @@ -1114,9 +1119,11 @@ public final OperationFuture<Empty, Struct> restoreAgentAsync(RestoreAgentReques
* [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it
* returns in order to train explicitly.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt; An operation
* which tracks when restoring is complete. It only tracks when the draft agent is updated not
* when it is done training.
* <p>An operation which tracks when restoring is complete. It only tracks when the draft agent is
* updated not when it is done training.
*
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand Down Expand Up @@ -1149,9 +1156,11 @@ public final OperationFuture<Empty, Struct> restoreAgentAsync(RestoreAgentReques
* [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it
* returns in order to train explicitly.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt; An operation
* which tracks when restoring is complete. It only tracks when the draft agent is updated not
* when it is done training.
* <p>An operation which tracks when restoring is complete. It only tracks when the draft agent is
* updated not when it is done training.
*
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand Down
Loading