Debian Codegraph @

docs/dyn/dialogflow_v2.projects.locations.statelessSuggestion.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.locations.html">locations</a> . <a href="dialogflow_v2.projects.locations.statelessSuggestion.html">statelessSuggestion</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(parent, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline"></p>
83 <h3>Method Details</h3>
84 <div class="method">
85 <code class="details" id="close">close()</code>
86 <pre>Close httplib2 connections.</pre>
87 </div>
88
89 <div class="method">
90 <code class="details" id="generate">generate(parent, body=None, x__xgafv=None)</code>
91 <pre>
92
93 Args:
94 parent: string, A parameter (required)
95 body: object, The request body.
96 The object takes the form of:
97
98 {
99 &quot;contextReferences&quot;: {
100 &quot;a_key&quot;: {
101 &quot;contextContents&quot;: [
102 {
103 &quot;answerRecord&quot;: &quot;A String&quot;,
104 &quot;content&quot;: &quot;A String&quot;,
105 &quot;contentFormat&quot;: &quot;A String&quot;,
106 &quot;ingestionTime&quot;: &quot;A String&quot;,
107 },
108 ],
109 &quot;createTime&quot;: &quot;A String&quot;,
110 &quot;languageCode&quot;: &quot;A String&quot;,
111 &quot;updateMode&quot;: &quot;A String&quot;,
112 },
113 },
114 &quot;conversationContext&quot;: {
115 &quot;messageEntries&quot;: [
116 {
117 &quot;createTime&quot;: &quot;A String&quot;,
118 &quot;languageCode&quot;: &quot;A String&quot;,
119 &quot;role&quot;: &quot;A String&quot;,
120 &quot;text&quot;: &quot;A String&quot;,
121 },
122 ],
123 },
124 &quot;generator&quot;: {
125 &quot;agentCoachingContext&quot;: {
126 &quot;instructions&quot;: [
127 {
128 &quot;agentAction&quot;: &quot;A String&quot;,
129 &quot;condition&quot;: &quot;A String&quot;,
130 &quot;displayDetails&quot;: &quot;A String&quot;,
131 &quot;displayName&quot;: &quot;A String&quot;,
132 &quot;duplicateCheckResult&quot;: {
133 &quot;duplicateSuggestions&quot;: [
134 {
135 &quot;answerRecord&quot;: &quot;A String&quot;,
136 &quot;similarityScore&quot;: 3.14,
137 &quot;suggestionIndex&quot;: 42,
138 },
139 ],
140 },
141 &quot;systemAction&quot;: &quot;A String&quot;,
142 &quot;triggeringEvent&quot;: &quot;A String&quot;,
143 },
144 ],
145 &quot;outputLanguageCode&quot;: &quot;A String&quot;,
146 &quot;overarchingGuidance&quot;: &quot;A String&quot;,
147 &quot;version&quot;: &quot;A String&quot;,
148 },
149 &quot;cesAppSpecs&quot;: [
150 {
151 &quot;cesApp&quot;: &quot;A String&quot;,
152 &quot;confirmationRequirement&quot;: &quot;A String&quot;,
153 &quot;proactiveEnabled&quot;: True or False,
154 &quot;reactiveEnabled&quot;: True or False,
155 },
156 ],
157 &quot;cesToolSpecs&quot;: [
158 {
159 &quot;cesTool&quot;: &quot;A String&quot;,
160 &quot;confirmationRequirement&quot;: &quot;A String&quot;,
161 },
162 ],
163 &quot;createTime&quot;: &quot;A String&quot;,
164 &quot;description&quot;: &quot;A String&quot;,
165 &quot;freeFormContext&quot;: {
166 &quot;text&quot;: &quot;A String&quot;,
167 },
168 &quot;inferenceParameter&quot;: {
169 &quot;maxOutputTokens&quot;: 42,
170 &quot;temperature&quot;: 3.14,
171 &quot;topK&quot;: 42,
172 &quot;topP&quot;: 3.14,
173 },
174 &quot;name&quot;: &quot;A String&quot;,
175 &quot;publishedModel&quot;: &quot;A String&quot;,
176 &quot;suggestionDedupingConfig&quot;: {
177 &quot;enableDeduping&quot;: True or False,
178 &quot;similarityThreshold&quot;: 3.14,
179 },
180 &quot;summarizationContext&quot;: {
181 &quot;fewShotExamples&quot;: [
182 {
183 &quot;conversationContext&quot;: {
184 &quot;messageEntries&quot;: [
185 {
186 &quot;createTime&quot;: &quot;A String&quot;,
187 &quot;languageCode&quot;: &quot;A String&quot;,
188 &quot;role&quot;: &quot;A String&quot;,
189 &quot;text&quot;: &quot;A String&quot;,
190 },
191 ],
192 },
193 &quot;extraInfo&quot;: {
194 &quot;a_key&quot;: &quot;A String&quot;,
195 },
196 &quot;output&quot;: {
197 &quot;agentCoachingSuggestion&quot;: {
198 &quot;agentActionSuggestions&quot;: [
199 {
200 &quot;agentAction&quot;: &quot;A String&quot;,
201 &quot;duplicateCheckResult&quot;: {
202 &quot;duplicateSuggestions&quot;: [
203 {
204 &quot;answerRecord&quot;: &quot;A String&quot;,
205 &quot;similarityScore&quot;: 3.14,
206 &quot;sources&quot;: {
207 &quot;instructionIndexes&quot;: [
208 42,
209 ],
210 },
211 &quot;suggestionIndex&quot;: 42,
212 },
213 ],
214 },
215 &quot;sources&quot;: {
216 &quot;instructionIndexes&quot;: [
217 42,
218 ],
219 },
220 },
221 ],
222 &quot;applicableInstructions&quot;: [
223 {
224 &quot;agentAction&quot;: &quot;A String&quot;,
225 &quot;condition&quot;: &quot;A String&quot;,
226 &quot;displayDetails&quot;: &quot;A String&quot;,
227 &quot;displayName&quot;: &quot;A String&quot;,
228 &quot;duplicateCheckResult&quot;: {
229 &quot;duplicateSuggestions&quot;: [
230 {
231 &quot;answerRecord&quot;: &quot;A String&quot;,
232 &quot;similarityScore&quot;: 3.14,
233 &quot;suggestionIndex&quot;: 42,
234 },
235 ],
236 },
237 &quot;systemAction&quot;: &quot;A String&quot;,
238 &quot;triggeringEvent&quot;: &quot;A String&quot;,
239 },
240 ],
241 &quot;sampleResponses&quot;: [
242 {
243 &quot;duplicateCheckResult&quot;: {
244 &quot;duplicateSuggestions&quot;: [
245 {
246 &quot;answerRecord&quot;: &quot;A String&quot;,
247 &quot;similarityScore&quot;: 3.14,
248 &quot;sources&quot;: {
249 &quot;instructionIndexes&quot;: [
250 42,
251 ],
252 },
253 &quot;suggestionIndex&quot;: 42,
254 },
255 ],
256 },
257 &quot;responseText&quot;: &quot;A String&quot;,
258 &quot;sources&quot;: {
259 &quot;instructionIndexes&quot;: [
260 42,
261 ],
262 },
263 },
264 ],
265 },
266 &quot;freeFormSuggestion&quot;: {
267 &quot;response&quot;: &quot;A String&quot;,
268 },
269 &quot;summarySuggestion&quot;: {
270 &quot;summarySections&quot;: [
271 {
272 &quot;section&quot;: &quot;A String&quot;,
273 &quot;summary&quot;: &quot;A String&quot;,
274 },
275 ],
276 },
277 &quot;toolCallInfo&quot;: [
278 {
279 &quot;toolCall&quot;: {
280 &quot;action&quot;: &quot;A String&quot;,
281 &quot;answerRecord&quot;: &quot;A String&quot;,
282 &quot;cesApp&quot;: &quot;A String&quot;,
283 &quot;cesTool&quot;: &quot;A String&quot;,
284 &quot;cesToolset&quot;: &quot;A String&quot;,
285 &quot;createTime&quot;: &quot;A String&quot;,
286 &quot;inputParameters&quot;: {
287 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
288 },
289 &quot;state&quot;: &quot;A String&quot;,
290 &quot;tool&quot;: &quot;A String&quot;,
291 &quot;toolDisplayDetails&quot;: &quot;A String&quot;,
292 &quot;toolDisplayName&quot;: &quot;A String&quot;,
293 },
294 &quot;toolCallResult&quot;: {
295 &quot;action&quot;: &quot;A String&quot;,
296 &quot;answerRecord&quot;: &quot;A String&quot;,
297 &quot;cesApp&quot;: &quot;A String&quot;,
298 &quot;cesTool&quot;: &quot;A String&quot;,
299 &quot;cesToolset&quot;: &quot;A String&quot;,
300 &quot;content&quot;: &quot;A String&quot;,
301 &quot;createTime&quot;: &quot;A String&quot;,
302 &quot;error&quot;: {
303 &quot;message&quot;: &quot;A String&quot;,
304 },
305 &quot;rawContent&quot;: &quot;A String&quot;,
306 &quot;tool&quot;: &quot;A String&quot;,
307 },
308 },
309 ],
310 },
311 &quot;summarizationSectionList&quot;: {
312 &quot;summarizationSections&quot;: [
313 {
314 &quot;definition&quot;: &quot;A String&quot;,
315 &quot;key&quot;: &quot;A String&quot;,
316 &quot;type&quot;: &quot;A String&quot;,
317 },
318 ],
319 },
320 },
321 ],
322 &quot;outputLanguageCode&quot;: &quot;A String&quot;,
323 &quot;summarizationSections&quot;: [
324 {
325 &quot;definition&quot;: &quot;A String&quot;,
326 &quot;key&quot;: &quot;A String&quot;,
327 &quot;type&quot;: &quot;A String&quot;,
328 },
329 ],
330 &quot;version&quot;: &quot;A String&quot;,
331 },
332 &quot;tools&quot;: [
333 &quot;A String&quot;,
334 ],
335 &quot;toolsetTools&quot;: [
336 {
337 &quot;confirmationRequirement&quot;: &quot;A String&quot;,
338 &quot;operationId&quot;: &quot;A String&quot;,
339 &quot;toolset&quot;: &quot;A String&quot;,
340 },
341 ],
342 &quot;triggerEvent&quot;: &quot;A String&quot;,
343 &quot;updateTime&quot;: &quot;A String&quot;,
344 },
345 &quot;generatorName&quot;: &quot;A String&quot;,
346 &quot;securitySettings&quot;: &quot;A String&quot;,
347 &quot;triggerEvents&quot;: [
348 &quot;A String&quot;,
349 ],
350 }
351
352 x__xgafv: string, V1 error format.
353 Allowed values
354 1 - v1 error format
355 2 - v2 error format
356
357 Returns:
358 An object of the form:
359
360 {
361 &quot;generatorSuggestion&quot;: {
362 &quot;agentCoachingSuggestion&quot;: {
363 &quot;agentActionSuggestions&quot;: [
364 {
365 &quot;agentAction&quot;: &quot;A String&quot;,
366 &quot;duplicateCheckResult&quot;: {
367 &quot;duplicateSuggestions&quot;: [
368 {
369 &quot;answerRecord&quot;: &quot;A String&quot;,
370 &quot;similarityScore&quot;: 3.14,
371 &quot;sources&quot;: {
372 &quot;instructionIndexes&quot;: [
373 42,
374 ],
375 },
376 &quot;suggestionIndex&quot;: 42,
377 },
378 ],
379 },
380 &quot;sources&quot;: {
381 &quot;instructionIndexes&quot;: [
382 42,
383 ],
384 },
385 },
386 ],
387 &quot;applicableInstructions&quot;: [
388 {
389 &quot;agentAction&quot;: &quot;A String&quot;,
390 &quot;condition&quot;: &quot;A String&quot;,
391 &quot;displayDetails&quot;: &quot;A String&quot;,
392 &quot;displayName&quot;: &quot;A String&quot;,
393 &quot;duplicateCheckResult&quot;: {
394 &quot;duplicateSuggestions&quot;: [
395 {
396 &quot;answerRecord&quot;: &quot;A String&quot;,
397 &quot;similarityScore&quot;: 3.14,
398 &quot;suggestionIndex&quot;: 42,
399 },
400 ],
401 },
402 &quot;systemAction&quot;: &quot;A String&quot;,
403 &quot;triggeringEvent&quot;: &quot;A String&quot;,
404 },
405 ],
406 &quot;sampleResponses&quot;: [
407 {
408 &quot;duplicateCheckResult&quot;: {
409 &quot;duplicateSuggestions&quot;: [
410 {
411 &quot;answerRecord&quot;: &quot;A String&quot;,
412 &quot;similarityScore&quot;: 3.14,
413 &quot;sources&quot;: {
414 &quot;instructionIndexes&quot;: [
415 42,
416 ],
417 },
418 &quot;suggestionIndex&quot;: 42,
419 },
420 ],
421 },
422 &quot;responseText&quot;: &quot;A String&quot;,
423 &quot;sources&quot;: {
424 &quot;instructionIndexes&quot;: [
425 42,
426 ],
427 },
428 },
429 ],
430 },
431 &quot;freeFormSuggestion&quot;: {
432 &quot;response&quot;: &quot;A String&quot;,
433 },
434 &quot;summarySuggestion&quot;: {
435 &quot;summarySections&quot;: [
436 {
437 &quot;section&quot;: &quot;A String&quot;,
438 &quot;summary&quot;: &quot;A String&quot;,
439 },
440 ],
441 },
442 &quot;toolCallInfo&quot;: [
443 {
444 &quot;toolCall&quot;: {
445 &quot;action&quot;: &quot;A String&quot;,
446 &quot;answerRecord&quot;: &quot;A String&quot;,
447 &quot;cesApp&quot;: &quot;A String&quot;,
448 &quot;cesTool&quot;: &quot;A String&quot;,
449 &quot;cesToolset&quot;: &quot;A String&quot;,
450 &quot;createTime&quot;: &quot;A String&quot;,
451 &quot;inputParameters&quot;: {
452 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
453 },
454 &quot;state&quot;: &quot;A String&quot;,
455 &quot;tool&quot;: &quot;A String&quot;,
456 &quot;toolDisplayDetails&quot;: &quot;A String&quot;,
457 &quot;toolDisplayName&quot;: &quot;A String&quot;,
458 },
459 &quot;toolCallResult&quot;: {
460 &quot;action&quot;: &quot;A String&quot;,
461 &quot;answerRecord&quot;: &quot;A String&quot;,
462 &quot;cesApp&quot;: &quot;A String&quot;,
463 &quot;cesTool&quot;: &quot;A String&quot;,
464 &quot;cesToolset&quot;: &quot;A String&quot;,
465 &quot;content&quot;: &quot;A String&quot;,
466 &quot;createTime&quot;: &quot;A String&quot;,
467 &quot;error&quot;: {
468 &quot;message&quot;: &quot;A String&quot;,
469 },
470 &quot;rawContent&quot;: &quot;A String&quot;,
471 &quot;tool&quot;: &quot;A String&quot;,
472 },
473 },
474 ],
475 },
476 }</pre>
477 </div>
478
479 </body></html>