You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Retrieves the full details of a single interaction based on its `Interaction.id`.
559
+
Retrieves the full details of a single interaction based on its
560
+
`Interaction.id`.
559
561
560
562
Args:
561
563
include_input: If set to true, includes the input in the response.
562
564
563
-
last_event_id: Optional. If set, resumes the interaction stream from the next chunk after the event marked by the event id. Can only be used if `stream` is true.
565
+
last_event_id: Optional. If set, resumes the interaction stream from the next chunk after the
566
+
event marked by the event id. Can only be used if `stream` is true.
564
567
565
568
stream: If set to true, the generated content will be streamed incrementally.
Retrieves the full details of a single interaction based on its `Interaction.id`.
597
+
Retrieves the full details of a single interaction based on its
598
+
`Interaction.id`.
595
599
596
600
Args:
597
601
stream: If set to true, the generated content will be streamed incrementally.
598
602
599
603
include_input: If set to true, includes the input in the response.
600
604
601
-
last_event_id: Optional. If set, resumes the interaction stream from the next chunk after the event marked by the event id. Can only be used if `stream` is true.
605
+
last_event_id: Optional. If set, resumes the interaction stream from the next chunk after the
606
+
event marked by the event id. Can only be used if `stream` is true.
Retrieves the full details of a single interaction based on its `Interaction.id`.
635
+
Retrieves the full details of a single interaction based on its
636
+
`Interaction.id`.
631
637
632
638
Args:
633
639
stream: If set to true, the generated content will be streamed incrementally.
634
640
635
641
include_input: If set to true, includes the input in the response.
636
642
637
-
last_event_id: Optional. If set, resumes the interaction stream from the next chunk after the event marked by the event id. Can only be used if `stream` is true.
643
+
last_event_id: Optional. If set, resumes the interaction stream from the next chunk after the
644
+
event marked by the event id. Can only be used if `stream` is true.
638
645
639
646
extra_headers: Send extra headers
640
647
@@ -748,8 +755,8 @@ async def create(
748
755
749
756
previous_interaction_id: The ID of the previous interaction, if any.
750
757
751
-
response_format: Enforces that the generated response is a JSON object that complies with
752
-
the JSON schema specified in this field.
758
+
response_format: Enforces that the generated response is a JSON object that complies with the
759
+
JSON schema specified in this field.
753
760
754
761
response_mime_type: The mime type of the response. This is required if response_format is set.
755
762
@@ -816,8 +823,8 @@ async def create(
816
823
817
824
previous_interaction_id: The ID of the previous interaction, if any.
818
825
819
-
response_format: Enforces that the generated response is a JSON object that complies with
820
-
the JSON schema specified in this field.
826
+
response_format: Enforces that the generated response is a JSON object that complies with the
827
+
JSON schema specified in this field.
821
828
822
829
response_mime_type: The mime type of the response. This is required if response_format is set.
823
830
@@ -880,8 +887,8 @@ async def create(
880
887
881
888
previous_interaction_id: The ID of the previous interaction, if any.
882
889
883
-
response_format: Enforces that the generated response is a JSON object that complies with
884
-
the JSON schema specified in this field.
890
+
response_format: Enforces that the generated response is a JSON object that complies with the
891
+
JSON schema specified in this field.
885
892
886
893
response_mime_type: The mime type of the response. This is required if response_format is set.
887
894
@@ -948,8 +955,8 @@ async def create(
948
955
949
956
previous_interaction_id: The ID of the previous interaction, if any.
950
957
951
-
response_format: Enforces that the generated response is a JSON object that complies with
952
-
the JSON schema specified in this field.
958
+
response_format: Enforces that the generated response is a JSON object that complies with the
959
+
JSON schema specified in this field.
953
960
954
961
response_mime_type: The mime type of the response. This is required if response_format is set.
955
962
@@ -1014,8 +1021,8 @@ async def create(
1014
1021
1015
1022
previous_interaction_id: The ID of the previous interaction, if any.
1016
1023
1017
-
response_format: Enforces that the generated response is a JSON object that complies with
1018
-
the JSON schema specified in this field.
1024
+
response_format: Enforces that the generated response is a JSON object that complies with the
1025
+
JSON schema specified in this field.
1019
1026
1020
1027
response_mime_type: The mime type of the response. This is required if response_format is set.
1021
1028
@@ -1158,7 +1165,8 @@ async def cancel(
1158
1165
) ->Interaction:
1159
1166
"""Cancels an interaction by id.
1160
1167
1161
-
This only applies to background interactions that are still running.
Retrieves the full details of a single interaction based on its `Interaction.id`.
1211
+
Retrieves the full details of a single interaction based on its
1212
+
`Interaction.id`.
1204
1213
1205
1214
Args:
1206
1215
include_input: If set to true, includes the input in the response.
1207
1216
1208
-
last_event_id: Optional. If set, resumes the interaction stream from the next chunk after the event marked by the event id. Can only be used if `stream` is true.
1217
+
last_event_id: Optional. If set, resumes the interaction stream from the next chunk after the
1218
+
event marked by the event id. Can only be used if `stream` is true.
1209
1219
1210
1220
stream: If set to true, the generated content will be streamed incrementally.
Retrieves the full details of a single interaction based on its `Interaction.id`.
1249
+
Retrieves the full details of a single interaction based on its
1250
+
`Interaction.id`.
1240
1251
1241
1252
Args:
1242
1253
stream: If set to true, the generated content will be streamed incrementally.
1243
1254
1244
1255
include_input: If set to true, includes the input in the response.
1245
1256
1246
-
last_event_id: Optional. If set, resumes the interaction stream from the next chunk after the event marked by the event id. Can only be used if `stream` is true.
1257
+
last_event_id: Optional. If set, resumes the interaction stream from the next chunk after the
1258
+
event marked by the event id. Can only be used if `stream` is true.
Retrieves the full details of a single interaction based on its `Interaction.id`.
1287
+
Retrieves the full details of a single interaction based on its
1288
+
`Interaction.id`.
1276
1289
1277
1290
Args:
1278
1291
stream: If set to true, the generated content will be streamed incrementally.
1279
1292
1280
1293
include_input: If set to true, includes the input in the response.
1281
1294
1282
-
last_event_id: Optional. If set, resumes the interaction stream from the next chunk after the event marked by the event id. Can only be used if `stream` is true.
1295
+
last_event_id: Optional. If set, resumes the interaction stream from the next chunk after the
1296
+
event marked by the event id. Can only be used if `stream` is true.
0 commit comments