Debian Codegraph @

docs/dyn/dialogflow_v2.projects.conversations.suggestions.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="dialogflow_v2.html">Dialogflow API</a> . <a href="dialogflow_v2.projects.html">projects</a> . <a href="dialogflow_v2.projects.conversations.html">conversations</a> . <a href="dialogflow_v2.projects.conversations.suggestions.html">suggestions</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#generate">generate(conversation, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline"></p>
83 <p class="toc_element">
84 <code><a href="#searchKnowledge">searchKnowledge(conversation, body=None, x__xgafv=None)</a></code></p>
85 <p class="firstline"></p>
86 <p class="toc_element">
87 <code><a href="#suggestConversationSummary">suggestConversationSummary(conversation, body=None, x__xgafv=None)</a></code></p>
88 <p class="firstline"></p>
89 <h3>Method Details</h3>
90 <div class="method">
91 <code class="details" id="close">close()</code>
92 <pre>Close httplib2 connections.</pre>
93 </div>
94
95 <div class="method">
96 <code class="details" id="generate">generate(conversation, body=None, x__xgafv=None)</code>
97 <pre>
98
99 Args:
100 conversation: string, A parameter (required)
101 body: object, The request body.
102 The object takes the form of:
103
104 {
105 &quot;latestMessage&quot;: &quot;A String&quot;,
106 &quot;triggerEvents&quot;: [
107 &quot;A String&quot;,
108 ],
109 }
110
111 x__xgafv: string, V1 error format.
112 Allowed values
113 1 - v1 error format
114 2 - v2 error format
115
116 Returns:
117 An object of the form:
118
119 {
120 &quot;generatorSuggestionAnswers&quot;: [
121 {
122 &quot;answerRecord&quot;: &quot;A String&quot;,
123 &quot;generatorSuggestion&quot;: {
124 &quot;agentCoachingSuggestion&quot;: {
125 &quot;agentActionSuggestions&quot;: [
126 {
127 &quot;agentAction&quot;: &quot;A String&quot;,
128 &quot;duplicateCheckResult&quot;: {
129 &quot;duplicateSuggestions&quot;: [
130 {
131 &quot;answerRecord&quot;: &quot;A String&quot;,
132 &quot;similarityScore&quot;: 3.14,
133 &quot;sources&quot;: {
134 &quot;instructionIndexes&quot;: [
135 42,
136 ],
137 },
138 &quot;suggestionIndex&quot;: 42,
139 },
140 ],
141 },
142 &quot;sources&quot;: {
143 &quot;instructionIndexes&quot;: [
144 42,
145 ],
146 },
147 },
148 ],
149 &quot;applicableInstructions&quot;: [
150 {
151 &quot;agentAction&quot;: &quot;A String&quot;,
152 &quot;condition&quot;: &quot;A String&quot;,
153 &quot;displayDetails&quot;: &quot;A String&quot;,
154 &quot;displayName&quot;: &quot;A String&quot;,
155 &quot;duplicateCheckResult&quot;: {
156 &quot;duplicateSuggestions&quot;: [
157 {
158 &quot;answerRecord&quot;: &quot;A String&quot;,
159 &quot;similarityScore&quot;: 3.14,
160 &quot;suggestionIndex&quot;: 42,
161 },
162 ],
163 },
164 &quot;systemAction&quot;: &quot;A String&quot;,
165 &quot;triggeringEvent&quot;: &quot;A String&quot;,
166 },
167 ],
168 &quot;sampleResponses&quot;: [
169 {
170 &quot;duplicateCheckResult&quot;: {
171 &quot;duplicateSuggestions&quot;: [
172 {
173 &quot;answerRecord&quot;: &quot;A String&quot;,
174 &quot;similarityScore&quot;: 3.14,
175 &quot;sources&quot;: {
176 &quot;instructionIndexes&quot;: [
177 42,
178 ],
179 },
180 &quot;suggestionIndex&quot;: 42,
181 },
182 ],
183 },
184 &quot;responseText&quot;: &quot;A String&quot;,
185 &quot;sources&quot;: {
186 &quot;instructionIndexes&quot;: [
187 42,
188 ],
189 },
190 },
191 ],
192 },
193 &quot;freeFormSuggestion&quot;: {
194 &quot;response&quot;: &quot;A String&quot;,
195 },
196 &quot;summarySuggestion&quot;: {
197 &quot;summarySections&quot;: [
198 {
199 &quot;section&quot;: &quot;A String&quot;,
200 &quot;summary&quot;: &quot;A String&quot;,
201 },
202 ],
203 },
204 &quot;toolCallInfo&quot;: [
205 {
206 &quot;toolCall&quot;: {
207 &quot;action&quot;: &quot;A String&quot;,
208 &quot;answerRecord&quot;: &quot;A String&quot;,
209 &quot;cesApp&quot;: &quot;A String&quot;,
210 &quot;cesTool&quot;: &quot;A String&quot;,
211 &quot;cesToolset&quot;: &quot;A String&quot;,
212 &quot;createTime&quot;: &quot;A String&quot;,
213 &quot;inputParameters&quot;: {
214 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
215 },
216 &quot;state&quot;: &quot;A String&quot;,
217 &quot;tool&quot;: &quot;A String&quot;,
218 &quot;toolDisplayDetails&quot;: &quot;A String&quot;,
219 &quot;toolDisplayName&quot;: &quot;A String&quot;,
220 },
221 &quot;toolCallResult&quot;: {
222 &quot;action&quot;: &quot;A String&quot;,
223 &quot;answerRecord&quot;: &quot;A String&quot;,
224 &quot;cesApp&quot;: &quot;A String&quot;,
225 &quot;cesTool&quot;: &quot;A String&quot;,
226 &quot;cesToolset&quot;: &quot;A String&quot;,
227 &quot;content&quot;: &quot;A String&quot;,
228 &quot;createTime&quot;: &quot;A String&quot;,
229 &quot;error&quot;: {
230 &quot;message&quot;: &quot;A String&quot;,
231 },
232 &quot;rawContent&quot;: &quot;A String&quot;,
233 &quot;tool&quot;: &quot;A String&quot;,
234 },
235 },
236 ],
237 },
238 &quot;sourceGenerator&quot;: &quot;A String&quot;,
239 },
240 ],
241 &quot;latestMessage&quot;: &quot;A String&quot;,
242 }</pre>
243 </div>
244
245 <div class="method">
246 <code class="details" id="searchKnowledge">searchKnowledge(conversation, body=None, x__xgafv=None)</code>
247 <pre>
248
249 Args:
250 conversation: string, A parameter (required)
251 body: object, The request body.
252 The object takes the form of:
253
254 {
255 &quot;conversation&quot;: &quot;A String&quot;,
256 &quot;conversationProfile&quot;: &quot;A String&quot;,
257 &quot;endUserMetadata&quot;: {
258 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
259 },
260 &quot;exactSearch&quot;: True or False,
261 &quot;latestMessage&quot;: &quot;A String&quot;,
262 &quot;parent&quot;: &quot;A String&quot;,
263 &quot;query&quot;: {
264 &quot;languageCode&quot;: &quot;A String&quot;,
265 &quot;text&quot;: &quot;A String&quot;,
266 },
267 &quot;querySource&quot;: &quot;A String&quot;,
268 &quot;searchConfig&quot;: {
269 &quot;boostSpecs&quot;: [
270 {
271 &quot;dataStores&quot;: [
272 &quot;A String&quot;,
273 ],
274 &quot;spec&quot;: [
275 {
276 &quot;conditionBoostSpecs&quot;: [
277 {
278 &quot;boost&quot;: 3.14,
279 &quot;boostControlSpec&quot;: {
280 &quot;attributeType&quot;: &quot;A String&quot;,
281 &quot;controlPoints&quot;: [
282 {
283 &quot;attributeValue&quot;: &quot;A String&quot;,
284 &quot;boostAmount&quot;: 3.14,
285 },
286 ],
287 &quot;fieldName&quot;: &quot;A String&quot;,
288 &quot;interpolationType&quot;: &quot;A String&quot;,
289 },
290 &quot;condition&quot;: &quot;A String&quot;,
291 },
292 ],
293 },
294 ],
295 },
296 ],
297 &quot;filterSpecs&quot;: [
298 {
299 &quot;dataStores&quot;: [
300 &quot;A String&quot;,
301 ],
302 &quot;filter&quot;: &quot;A String&quot;,
303 },
304 ],
305 },
306 &quot;sessionId&quot;: &quot;A String&quot;,
307 }
308
309 x__xgafv: string, V1 error format.
310 Allowed values
311 1 - v1 error format
312 2 - v2 error format
313
314 Returns:
315 An object of the form:
316
317 {
318 &quot;answers&quot;: [
319 {
320 &quot;answer&quot;: &quot;A String&quot;,
321 &quot;answerRecord&quot;: &quot;A String&quot;,
322 &quot;answerSources&quot;: [
323 {
324 &quot;metadata&quot;: {
325 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
326 },
327 &quot;snippet&quot;: &quot;A String&quot;,
328 &quot;title&quot;: &quot;A String&quot;,
329 &quot;uri&quot;: &quot;A String&quot;,
330 },
331 ],
332 &quot;answerType&quot;: &quot;A String&quot;,
333 },
334 ],
335 &quot;rewrittenQuery&quot;: &quot;A String&quot;,
336 &quot;searchKnowledgeDebugInfo&quot;: {
337 &quot;datastoreResponseReason&quot;: &quot;A String&quot;,
338 &quot;ingestedContextReferenceDebugInfo&quot;: {
339 &quot;contextReferenceRetrieved&quot;: True or False,
340 &quot;ingestedParametersDebugInfo&quot;: [
341 {
342 &quot;ingestionStatus&quot;: &quot;A String&quot;,
343 &quot;parameter&quot;: &quot;A String&quot;,
344 },
345 ],
346 &quot;projectNotAllowlisted&quot;: True or False,
347 },
348 &quot;searchKnowledgeBehavior&quot;: {
349 &quot;answerGenerationRewriterOn&quot;: True or False,
350 &quot;endUserMetadataIncluded&quot;: True or False,
351 &quot;thirdPartyConnectorAllowed&quot;: True or False,
352 },
353 &quot;serviceLatency&quot;: {
354 &quot;internalServiceLatencies&quot;: [
355 {
356 &quot;completeTime&quot;: &quot;A String&quot;,
357 &quot;latencyMs&quot;: 3.14,
358 &quot;startTime&quot;: &quot;A String&quot;,
359 &quot;step&quot;: &quot;A String&quot;,
360 },
361 ],
362 },
363 },
364 }</pre>
365 </div>
366
367 <div class="method">
368 <code class="details" id="suggestConversationSummary">suggestConversationSummary(conversation, body=None, x__xgafv=None)</code>
369 <pre>
370
371 Args:
372 conversation: string, A parameter (required)
373 body: object, The request body.
374 The object takes the form of:
375
376 {
377 &quot;assistQueryParams&quot;: {
378 &quot;documentsMetadataFilters&quot;: {
379 &quot;a_key&quot;: &quot;A String&quot;,
380 },
381 },
382 &quot;contextSize&quot;: 42,
383 &quot;latestMessage&quot;: &quot;A String&quot;,
384 }
385
386 x__xgafv: string, V1 error format.
387 Allowed values
388 1 - v1 error format
389 2 - v2 error format
390
391 Returns:
392 An object of the form:
393
394 {
395 &quot;contextSize&quot;: 42,
396 &quot;latestMessage&quot;: &quot;A String&quot;,
397 &quot;summary&quot;: {
398 &quot;answerRecord&quot;: &quot;A String&quot;,
399 &quot;baselineModelVersion&quot;: &quot;A String&quot;,
400 &quot;sortedTextSections&quot;: [
401 {
402 &quot;section&quot;: &quot;A String&quot;,
403 &quot;summary&quot;: &quot;A String&quot;,
404 },
405 ],
406 &quot;text&quot;: &quot;A String&quot;,
407 &quot;textSections&quot;: {
408 &quot;a_key&quot;: &quot;A String&quot;,
409 },
410 },
411 }</pre>
412 </div>
413
414 </body></html>