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`.
541
+
Retrieves the full details of a single interaction based on its
542
+
`Interaction.id`.
541
543
542
544
Args:
543
-
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.
545
+
last_event_id: Optional. If set, resumes the interaction stream from the next chunk after the
546
+
event marked by the event id. Can only be used if `stream` is true.
544
547
545
548
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`.
576
+
Retrieves the full details of a single interaction based on its
577
+
`Interaction.id`.
574
578
575
579
Args:
576
580
stream: If set to true, the generated content will be streamed incrementally.
577
581
578
-
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.
582
+
last_event_id: Optional. If set, resumes the interaction stream from the next chunk after the
583
+
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`.
611
+
Retrieves the full details of a single interaction based on its
612
+
`Interaction.id`.
607
613
608
614
Args:
609
615
stream: If set to true, the generated content will be streamed incrementally.
610
616
611
-
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.
617
+
last_event_id: Optional. If set, resumes the interaction stream from the next chunk after the
618
+
event marked by the event id. Can only be used if `stream` is true.
612
619
613
620
extra_headers: Send extra headers
614
621
@@ -719,8 +726,8 @@ async def create(
719
726
720
727
previous_interaction_id: The ID of the previous interaction, if any.
721
728
722
-
response_format: Enforces that the generated response is a JSON object that complies with
723
-
the JSON schema specified in this field.
729
+
response_format: Enforces that the generated response is a JSON object that complies with the
730
+
JSON schema specified in this field.
724
731
725
732
response_mime_type: The mime type of the response. This is required if response_format is set.
726
733
@@ -784,8 +791,8 @@ async def create(
784
791
785
792
previous_interaction_id: The ID of the previous interaction, if any.
786
793
787
-
response_format: Enforces that the generated response is a JSON object that complies with
788
-
the JSON schema specified in this field.
794
+
response_format: Enforces that the generated response is a JSON object that complies with the
795
+
JSON schema specified in this field.
789
796
790
797
response_mime_type: The mime type of the response. This is required if response_format is set.
791
798
@@ -845,8 +852,8 @@ async def create(
845
852
846
853
previous_interaction_id: The ID of the previous interaction, if any.
847
854
848
-
response_format: Enforces that the generated response is a JSON object that complies with
849
-
the JSON schema specified in this field.
855
+
response_format: Enforces that the generated response is a JSON object that complies with the
856
+
JSON schema specified in this field.
850
857
851
858
response_mime_type: The mime type of the response. This is required if response_format is set.
852
859
@@ -910,8 +917,8 @@ async def create(
910
917
911
918
previous_interaction_id: The ID of the previous interaction, if any.
912
919
913
-
response_format: Enforces that the generated response is a JSON object that complies with
914
-
the JSON schema specified in this field.
920
+
response_format: Enforces that the generated response is a JSON object that complies with the
921
+
JSON schema specified in this field.
915
922
916
923
response_mime_type: The mime type of the response. This is required if response_format is set.
917
924
@@ -973,8 +980,8 @@ async def create(
973
980
974
981
previous_interaction_id: The ID of the previous interaction, if any.
975
982
976
-
response_format: Enforces that the generated response is a JSON object that complies with
977
-
the JSON schema specified in this field.
983
+
response_format: Enforces that the generated response is a JSON object that complies with the
984
+
JSON schema specified in this field.
978
985
979
986
response_mime_type: The mime type of the response. This is required if response_format is set.
980
987
@@ -1113,7 +1120,8 @@ async def cancel(
1113
1120
) ->Interaction:
1114
1121
"""Cancels an interaction by id.
1115
1122
1116
-
This only applies to background interactions that are still running.
Retrieves the full details of a single interaction based on its `Interaction.id`.
1165
+
Retrieves the full details of a single interaction based on its
1166
+
`Interaction.id`.
1158
1167
1159
1168
Args:
1160
-
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.
1169
+
last_event_id: Optional. If set, resumes the interaction stream from the next chunk after the
1170
+
event marked by the event id. Can only be used if `stream` is true.
1161
1171
1162
1172
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`.
1200
+
Retrieves the full details of a single interaction based on its
1201
+
`Interaction.id`.
1191
1202
1192
1203
Args:
1193
1204
stream: If set to true, the generated content will be streamed incrementally.
1194
1205
1195
-
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.
1206
+
last_event_id: Optional. If set, resumes the interaction stream from the next chunk after the
1207
+
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`.
1235
+
Retrieves the full details of a single interaction based on its
1236
+
`Interaction.id`.
1224
1237
1225
1238
Args:
1226
1239
stream: If set to true, the generated content will be streamed incrementally.
1227
1240
1228
-
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.
1241
+
last_event_id: Optional. If set, resumes the interaction stream from the next chunk after the
1242
+
event marked by the event id. Can only be used if `stream` is true.
0 commit comments