raccoonai 0.1.0a1__py3-none-any.whl → 0.1.0a2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of raccoonai might be problematic. Click here for more details.

raccoonai/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "raccoonai"
4
- __version__ = "0.1.0-alpha.1" # x-release-please-version
4
+ __version__ = "0.1.0-alpha.2" # x-release-please-version
@@ -57,6 +57,7 @@ class LamResource(SyncAPIResource):
57
57
  *,
58
58
  query: str,
59
59
  raccoon_passcode: str,
60
+ advanced: Optional[lam_extract_params.Advanced] | NotGiven = NOT_GIVEN,
60
61
  app_url: Optional[str] | NotGiven = NOT_GIVEN,
61
62
  chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
62
63
  max_count: Optional[int] | NotGiven = NOT_GIVEN,
@@ -79,6 +80,9 @@ class LamResource(SyncAPIResource):
79
80
  raccoon_passcode: The raccoon passcode associated with the end user on behalf of which the call is
80
81
  being made.
81
82
 
83
+ advanced: Advanced configuration options for the task, such as ad-blocking and CAPTCHA
84
+ solving.
85
+
82
86
  app_url: This is the entrypoint URL for the web agent.
83
87
 
84
88
  chat_history: The history of the conversation as a list of messages or objects you might use
@@ -108,6 +112,7 @@ class LamResource(SyncAPIResource):
108
112
  query: str,
109
113
  raccoon_passcode: str,
110
114
  stream: Literal[True],
115
+ advanced: Optional[lam_extract_params.Advanced] | NotGiven = NOT_GIVEN,
111
116
  app_url: Optional[str] | NotGiven = NOT_GIVEN,
112
117
  chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
113
118
  max_count: Optional[int] | NotGiven = NOT_GIVEN,
@@ -131,6 +136,9 @@ class LamResource(SyncAPIResource):
131
136
 
132
137
  stream: Whether the response should be streamed back or not.
133
138
 
139
+ advanced: Advanced configuration options for the task, such as ad-blocking and CAPTCHA
140
+ solving.
141
+
134
142
  app_url: This is the entrypoint URL for the web agent.
135
143
 
136
144
  chat_history: The history of the conversation as a list of messages or objects you might use
@@ -158,6 +166,7 @@ class LamResource(SyncAPIResource):
158
166
  query: str,
159
167
  raccoon_passcode: str,
160
168
  stream: bool,
169
+ advanced: Optional[lam_extract_params.Advanced] | NotGiven = NOT_GIVEN,
161
170
  app_url: Optional[str] | NotGiven = NOT_GIVEN,
162
171
  chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
163
172
  max_count: Optional[int] | NotGiven = NOT_GIVEN,
@@ -181,6 +190,9 @@ class LamResource(SyncAPIResource):
181
190
 
182
191
  stream: Whether the response should be streamed back or not.
183
192
 
193
+ advanced: Advanced configuration options for the task, such as ad-blocking and CAPTCHA
194
+ solving.
195
+
184
196
  app_url: This is the entrypoint URL for the web agent.
185
197
 
186
198
  chat_history: The history of the conversation as a list of messages or objects you might use
@@ -207,6 +219,7 @@ class LamResource(SyncAPIResource):
207
219
  *,
208
220
  query: str,
209
221
  raccoon_passcode: str,
222
+ advanced: Optional[lam_extract_params.Advanced] | NotGiven = NOT_GIVEN,
210
223
  app_url: Optional[str] | NotGiven = NOT_GIVEN,
211
224
  chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
212
225
  max_count: Optional[int] | NotGiven = NOT_GIVEN,
@@ -225,6 +238,7 @@ class LamResource(SyncAPIResource):
225
238
  {
226
239
  "query": query,
227
240
  "raccoon_passcode": raccoon_passcode,
241
+ "advanced": advanced,
228
242
  "app_url": app_url,
229
243
  "chat_history": chat_history,
230
244
  "max_count": max_count,
@@ -247,6 +261,7 @@ class LamResource(SyncAPIResource):
247
261
  app_name: str,
248
262
  *,
249
263
  raccoon_passcode: str,
264
+ advanced: Optional[lam_integration_run_params.Advanced] | NotGiven = NOT_GIVEN,
250
265
  integration_id: Optional[str] | NotGiven = NOT_GIVEN,
251
266
  properties: Optional[object] | NotGiven = NOT_GIVEN,
252
267
  stream: Optional[Literal[False]] | NotGiven = NOT_GIVEN,
@@ -264,6 +279,9 @@ class LamResource(SyncAPIResource):
264
279
  raccoon_passcode: The raccoon passcode associated with the end user on behalf of which the call is
265
280
  being made.
266
281
 
282
+ advanced: Advanced configuration options for the task, such as ad-blocking and CAPTCHA
283
+ solving.
284
+
267
285
  integration_id: The unique identifier for the integration being called.
268
286
 
269
287
  properties: Additional properties or data related to the particular integration.
@@ -287,6 +305,7 @@ class LamResource(SyncAPIResource):
287
305
  *,
288
306
  raccoon_passcode: str,
289
307
  stream: Literal[True],
308
+ advanced: Optional[lam_integration_run_params.Advanced] | NotGiven = NOT_GIVEN,
290
309
  integration_id: Optional[str] | NotGiven = NOT_GIVEN,
291
310
  properties: Optional[object] | NotGiven = NOT_GIVEN,
292
311
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -305,6 +324,9 @@ class LamResource(SyncAPIResource):
305
324
 
306
325
  stream: Whether the response should be streamed back or not.
307
326
 
327
+ advanced: Advanced configuration options for the task, such as ad-blocking and CAPTCHA
328
+ solving.
329
+
308
330
  integration_id: The unique identifier for the integration being called.
309
331
 
310
332
  properties: Additional properties or data related to the particular integration.
@@ -326,6 +348,7 @@ class LamResource(SyncAPIResource):
326
348
  *,
327
349
  raccoon_passcode: str,
328
350
  stream: bool,
351
+ advanced: Optional[lam_integration_run_params.Advanced] | NotGiven = NOT_GIVEN,
329
352
  integration_id: Optional[str] | NotGiven = NOT_GIVEN,
330
353
  properties: Optional[object] | NotGiven = NOT_GIVEN,
331
354
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -344,6 +367,9 @@ class LamResource(SyncAPIResource):
344
367
 
345
368
  stream: Whether the response should be streamed back or not.
346
369
 
370
+ advanced: Advanced configuration options for the task, such as ad-blocking and CAPTCHA
371
+ solving.
372
+
347
373
  integration_id: The unique identifier for the integration being called.
348
374
 
349
375
  properties: Additional properties or data related to the particular integration.
@@ -364,6 +390,7 @@ class LamResource(SyncAPIResource):
364
390
  app_name: str,
365
391
  *,
366
392
  raccoon_passcode: str,
393
+ advanced: Optional[lam_integration_run_params.Advanced] | NotGiven = NOT_GIVEN,
367
394
  integration_id: Optional[str] | NotGiven = NOT_GIVEN,
368
395
  properties: Optional[object] | NotGiven = NOT_GIVEN,
369
396
  stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN,
@@ -383,6 +410,7 @@ class LamResource(SyncAPIResource):
383
410
  body=maybe_transform(
384
411
  {
385
412
  "raccoon_passcode": raccoon_passcode,
413
+ "advanced": advanced,
386
414
  "integration_id": integration_id,
387
415
  "properties": properties,
388
416
  "stream": stream,
@@ -406,6 +434,7 @@ class LamResource(SyncAPIResource):
406
434
  *,
407
435
  query: str,
408
436
  raccoon_passcode: str,
437
+ advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
409
438
  app_url: Optional[str] | NotGiven = NOT_GIVEN,
410
439
  chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
411
440
  stream: Optional[Literal[False]] | NotGiven = NOT_GIVEN,
@@ -426,6 +455,9 @@ class LamResource(SyncAPIResource):
426
455
  raccoon_passcode: The raccoon passcode associated with the end user on behalf of which the call is
427
456
  being made.
428
457
 
458
+ advanced: Advanced configuration options for the task, such as ad-blocking and CAPTCHA
459
+ solving.
460
+
429
461
  app_url: This is the entrypoint URL for the web agent.
430
462
 
431
463
  chat_history: The history of the conversation as a list of messages or objects you might use
@@ -450,6 +482,7 @@ class LamResource(SyncAPIResource):
450
482
  query: str,
451
483
  raccoon_passcode: str,
452
484
  stream: Literal[True],
485
+ advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
453
486
  app_url: Optional[str] | NotGiven = NOT_GIVEN,
454
487
  chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
455
488
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -471,6 +504,9 @@ class LamResource(SyncAPIResource):
471
504
 
472
505
  stream: Whether the response should be streamed back or not.
473
506
 
507
+ advanced: Advanced configuration options for the task, such as ad-blocking and CAPTCHA
508
+ solving.
509
+
474
510
  app_url: This is the entrypoint URL for the web agent.
475
511
 
476
512
  chat_history: The history of the conversation as a list of messages or objects you might use
@@ -493,6 +529,7 @@ class LamResource(SyncAPIResource):
493
529
  query: str,
494
530
  raccoon_passcode: str,
495
531
  stream: bool,
532
+ advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
496
533
  app_url: Optional[str] | NotGiven = NOT_GIVEN,
497
534
  chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
498
535
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -514,6 +551,9 @@ class LamResource(SyncAPIResource):
514
551
 
515
552
  stream: Whether the response should be streamed back or not.
516
553
 
554
+ advanced: Advanced configuration options for the task, such as ad-blocking and CAPTCHA
555
+ solving.
556
+
517
557
  app_url: This is the entrypoint URL for the web agent.
518
558
 
519
559
  chat_history: The history of the conversation as a list of messages or objects you might use
@@ -535,6 +575,7 @@ class LamResource(SyncAPIResource):
535
575
  *,
536
576
  query: str,
537
577
  raccoon_passcode: str,
578
+ advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
538
579
  app_url: Optional[str] | NotGiven = NOT_GIVEN,
539
580
  chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
540
581
  stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN,
@@ -551,6 +592,7 @@ class LamResource(SyncAPIResource):
551
592
  {
552
593
  "query": query,
553
594
  "raccoon_passcode": raccoon_passcode,
595
+ "advanced": advanced,
554
596
  "app_url": app_url,
555
597
  "chat_history": chat_history,
556
598
  "stream": stream,
@@ -592,6 +634,7 @@ class AsyncLamResource(AsyncAPIResource):
592
634
  *,
593
635
  query: str,
594
636
  raccoon_passcode: str,
637
+ advanced: Optional[lam_extract_params.Advanced] | NotGiven = NOT_GIVEN,
595
638
  app_url: Optional[str] | NotGiven = NOT_GIVEN,
596
639
  chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
597
640
  max_count: Optional[int] | NotGiven = NOT_GIVEN,
@@ -614,6 +657,9 @@ class AsyncLamResource(AsyncAPIResource):
614
657
  raccoon_passcode: The raccoon passcode associated with the end user on behalf of which the call is
615
658
  being made.
616
659
 
660
+ advanced: Advanced configuration options for the task, such as ad-blocking and CAPTCHA
661
+ solving.
662
+
617
663
  app_url: This is the entrypoint URL for the web agent.
618
664
 
619
665
  chat_history: The history of the conversation as a list of messages or objects you might use
@@ -643,6 +689,7 @@ class AsyncLamResource(AsyncAPIResource):
643
689
  query: str,
644
690
  raccoon_passcode: str,
645
691
  stream: Literal[True],
692
+ advanced: Optional[lam_extract_params.Advanced] | NotGiven = NOT_GIVEN,
646
693
  app_url: Optional[str] | NotGiven = NOT_GIVEN,
647
694
  chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
648
695
  max_count: Optional[int] | NotGiven = NOT_GIVEN,
@@ -666,6 +713,9 @@ class AsyncLamResource(AsyncAPIResource):
666
713
 
667
714
  stream: Whether the response should be streamed back or not.
668
715
 
716
+ advanced: Advanced configuration options for the task, such as ad-blocking and CAPTCHA
717
+ solving.
718
+
669
719
  app_url: This is the entrypoint URL for the web agent.
670
720
 
671
721
  chat_history: The history of the conversation as a list of messages or objects you might use
@@ -693,6 +743,7 @@ class AsyncLamResource(AsyncAPIResource):
693
743
  query: str,
694
744
  raccoon_passcode: str,
695
745
  stream: bool,
746
+ advanced: Optional[lam_extract_params.Advanced] | NotGiven = NOT_GIVEN,
696
747
  app_url: Optional[str] | NotGiven = NOT_GIVEN,
697
748
  chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
698
749
  max_count: Optional[int] | NotGiven = NOT_GIVEN,
@@ -716,6 +767,9 @@ class AsyncLamResource(AsyncAPIResource):
716
767
 
717
768
  stream: Whether the response should be streamed back or not.
718
769
 
770
+ advanced: Advanced configuration options for the task, such as ad-blocking and CAPTCHA
771
+ solving.
772
+
719
773
  app_url: This is the entrypoint URL for the web agent.
720
774
 
721
775
  chat_history: The history of the conversation as a list of messages or objects you might use
@@ -742,6 +796,7 @@ class AsyncLamResource(AsyncAPIResource):
742
796
  *,
743
797
  query: str,
744
798
  raccoon_passcode: str,
799
+ advanced: Optional[lam_extract_params.Advanced] | NotGiven = NOT_GIVEN,
745
800
  app_url: Optional[str] | NotGiven = NOT_GIVEN,
746
801
  chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
747
802
  max_count: Optional[int] | NotGiven = NOT_GIVEN,
@@ -760,6 +815,7 @@ class AsyncLamResource(AsyncAPIResource):
760
815
  {
761
816
  "query": query,
762
817
  "raccoon_passcode": raccoon_passcode,
818
+ "advanced": advanced,
763
819
  "app_url": app_url,
764
820
  "chat_history": chat_history,
765
821
  "max_count": max_count,
@@ -782,6 +838,7 @@ class AsyncLamResource(AsyncAPIResource):
782
838
  app_name: str,
783
839
  *,
784
840
  raccoon_passcode: str,
841
+ advanced: Optional[lam_integration_run_params.Advanced] | NotGiven = NOT_GIVEN,
785
842
  integration_id: Optional[str] | NotGiven = NOT_GIVEN,
786
843
  properties: Optional[object] | NotGiven = NOT_GIVEN,
787
844
  stream: Optional[Literal[False]] | NotGiven = NOT_GIVEN,
@@ -799,6 +856,9 @@ class AsyncLamResource(AsyncAPIResource):
799
856
  raccoon_passcode: The raccoon passcode associated with the end user on behalf of which the call is
800
857
  being made.
801
858
 
859
+ advanced: Advanced configuration options for the task, such as ad-blocking and CAPTCHA
860
+ solving.
861
+
802
862
  integration_id: The unique identifier for the integration being called.
803
863
 
804
864
  properties: Additional properties or data related to the particular integration.
@@ -822,6 +882,7 @@ class AsyncLamResource(AsyncAPIResource):
822
882
  *,
823
883
  raccoon_passcode: str,
824
884
  stream: Literal[True],
885
+ advanced: Optional[lam_integration_run_params.Advanced] | NotGiven = NOT_GIVEN,
825
886
  integration_id: Optional[str] | NotGiven = NOT_GIVEN,
826
887
  properties: Optional[object] | NotGiven = NOT_GIVEN,
827
888
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -840,6 +901,9 @@ class AsyncLamResource(AsyncAPIResource):
840
901
 
841
902
  stream: Whether the response should be streamed back or not.
842
903
 
904
+ advanced: Advanced configuration options for the task, such as ad-blocking and CAPTCHA
905
+ solving.
906
+
843
907
  integration_id: The unique identifier for the integration being called.
844
908
 
845
909
  properties: Additional properties or data related to the particular integration.
@@ -861,6 +925,7 @@ class AsyncLamResource(AsyncAPIResource):
861
925
  *,
862
926
  raccoon_passcode: str,
863
927
  stream: bool,
928
+ advanced: Optional[lam_integration_run_params.Advanced] | NotGiven = NOT_GIVEN,
864
929
  integration_id: Optional[str] | NotGiven = NOT_GIVEN,
865
930
  properties: Optional[object] | NotGiven = NOT_GIVEN,
866
931
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -879,6 +944,9 @@ class AsyncLamResource(AsyncAPIResource):
879
944
 
880
945
  stream: Whether the response should be streamed back or not.
881
946
 
947
+ advanced: Advanced configuration options for the task, such as ad-blocking and CAPTCHA
948
+ solving.
949
+
882
950
  integration_id: The unique identifier for the integration being called.
883
951
 
884
952
  properties: Additional properties or data related to the particular integration.
@@ -899,6 +967,7 @@ class AsyncLamResource(AsyncAPIResource):
899
967
  app_name: str,
900
968
  *,
901
969
  raccoon_passcode: str,
970
+ advanced: Optional[lam_integration_run_params.Advanced] | NotGiven = NOT_GIVEN,
902
971
  integration_id: Optional[str] | NotGiven = NOT_GIVEN,
903
972
  properties: Optional[object] | NotGiven = NOT_GIVEN,
904
973
  stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN,
@@ -918,6 +987,7 @@ class AsyncLamResource(AsyncAPIResource):
918
987
  body=await async_maybe_transform(
919
988
  {
920
989
  "raccoon_passcode": raccoon_passcode,
990
+ "advanced": advanced,
921
991
  "integration_id": integration_id,
922
992
  "properties": properties,
923
993
  "stream": stream,
@@ -941,6 +1011,7 @@ class AsyncLamResource(AsyncAPIResource):
941
1011
  *,
942
1012
  query: str,
943
1013
  raccoon_passcode: str,
1014
+ advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
944
1015
  app_url: Optional[str] | NotGiven = NOT_GIVEN,
945
1016
  chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
946
1017
  stream: Optional[Literal[False]] | NotGiven = NOT_GIVEN,
@@ -961,6 +1032,9 @@ class AsyncLamResource(AsyncAPIResource):
961
1032
  raccoon_passcode: The raccoon passcode associated with the end user on behalf of which the call is
962
1033
  being made.
963
1034
 
1035
+ advanced: Advanced configuration options for the task, such as ad-blocking and CAPTCHA
1036
+ solving.
1037
+
964
1038
  app_url: This is the entrypoint URL for the web agent.
965
1039
 
966
1040
  chat_history: The history of the conversation as a list of messages or objects you might use
@@ -985,6 +1059,7 @@ class AsyncLamResource(AsyncAPIResource):
985
1059
  query: str,
986
1060
  raccoon_passcode: str,
987
1061
  stream: Literal[True],
1062
+ advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
988
1063
  app_url: Optional[str] | NotGiven = NOT_GIVEN,
989
1064
  chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
990
1065
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -1006,6 +1081,9 @@ class AsyncLamResource(AsyncAPIResource):
1006
1081
 
1007
1082
  stream: Whether the response should be streamed back or not.
1008
1083
 
1084
+ advanced: Advanced configuration options for the task, such as ad-blocking and CAPTCHA
1085
+ solving.
1086
+
1009
1087
  app_url: This is the entrypoint URL for the web agent.
1010
1088
 
1011
1089
  chat_history: The history of the conversation as a list of messages or objects you might use
@@ -1028,6 +1106,7 @@ class AsyncLamResource(AsyncAPIResource):
1028
1106
  query: str,
1029
1107
  raccoon_passcode: str,
1030
1108
  stream: bool,
1109
+ advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
1031
1110
  app_url: Optional[str] | NotGiven = NOT_GIVEN,
1032
1111
  chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
1033
1112
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -1049,6 +1128,9 @@ class AsyncLamResource(AsyncAPIResource):
1049
1128
 
1050
1129
  stream: Whether the response should be streamed back or not.
1051
1130
 
1131
+ advanced: Advanced configuration options for the task, such as ad-blocking and CAPTCHA
1132
+ solving.
1133
+
1052
1134
  app_url: This is the entrypoint URL for the web agent.
1053
1135
 
1054
1136
  chat_history: The history of the conversation as a list of messages or objects you might use
@@ -1070,6 +1152,7 @@ class AsyncLamResource(AsyncAPIResource):
1070
1152
  *,
1071
1153
  query: str,
1072
1154
  raccoon_passcode: str,
1155
+ advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
1073
1156
  app_url: Optional[str] | NotGiven = NOT_GIVEN,
1074
1157
  chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
1075
1158
  stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN,
@@ -1086,6 +1169,7 @@ class AsyncLamResource(AsyncAPIResource):
1086
1169
  {
1087
1170
  "query": query,
1088
1171
  "raccoon_passcode": raccoon_passcode,
1172
+ "advanced": advanced,
1089
1173
  "app_url": app_url,
1090
1174
  "chat_history": chat_history,
1091
1175
  "stream": stream,
@@ -7,6 +7,9 @@ __all__ = ["FleetCreateResponse"]
7
7
 
8
8
 
9
9
  class FleetCreateResponse(BaseModel):
10
+ livestream_url: str
11
+ """The Livestream URL"""
12
+
10
13
  session_id: str
11
14
  """A unique identifier for the created session."""
12
15
 
@@ -5,7 +5,7 @@ from __future__ import annotations
5
5
  from typing import Union, Iterable, Optional
6
6
  from typing_extensions import Literal, Required, TypedDict
7
7
 
8
- __all__ = ["LamExtractParamsBase", "LamExtractParamsNonStreaming", "LamExtractParamsStreaming"]
8
+ __all__ = ["LamExtractParamsBase", "Advanced", "LamExtractParamsNonStreaming", "LamExtractParamsStreaming"]
9
9
 
10
10
 
11
11
  class LamExtractParamsBase(TypedDict, total=False):
@@ -18,6 +18,12 @@ class LamExtractParamsBase(TypedDict, total=False):
18
18
  being made.
19
19
  """
20
20
 
21
+ advanced: Optional[Advanced]
22
+ """
23
+ Advanced configuration options for the task, such as ad-blocking and CAPTCHA
24
+ solving.
25
+ """
26
+
21
27
  app_url: Optional[str]
22
28
  """This is the entrypoint URL for the web agent."""
23
29
 
@@ -38,6 +44,17 @@ class LamExtractParamsBase(TypedDict, total=False):
38
44
  """
39
45
 
40
46
 
47
+ class Advanced(TypedDict, total=False):
48
+ block_ads: Optional[bool]
49
+ """Whether to block advertisements during the browser session."""
50
+
51
+ proxy: Optional[bool]
52
+ """Whether to use a proxy for the browser session."""
53
+
54
+ solve_captchas: Optional[bool]
55
+ """Whether to attempt automatic CAPTCHA solving."""
56
+
57
+
41
58
  class LamExtractParamsNonStreaming(LamExtractParamsBase, total=False):
42
59
  stream: Optional[Literal[False]]
43
60
  """Whether the response should be streamed back or not."""
@@ -14,6 +14,9 @@ class LamExtractResponse(BaseModel):
14
14
  Each object represents an extracted entity.
15
15
  """
16
16
 
17
+ livestream_url: str
18
+ """The Livestream URL"""
19
+
17
20
  message: str
18
21
  """A message providing the thought summary if the status is processing currently."""
19
22
 
@@ -5,7 +5,12 @@ from __future__ import annotations
5
5
  from typing import Union, Optional
6
6
  from typing_extensions import Literal, Required, TypedDict
7
7
 
8
- __all__ = ["LamIntegrationRunParamsBase", "LamIntegrationRunParamsNonStreaming", "LamIntegrationRunParamsStreaming"]
8
+ __all__ = [
9
+ "LamIntegrationRunParamsBase",
10
+ "Advanced",
11
+ "LamIntegrationRunParamsNonStreaming",
12
+ "LamIntegrationRunParamsStreaming",
13
+ ]
9
14
 
10
15
 
11
16
  class LamIntegrationRunParamsBase(TypedDict, total=False):
@@ -15,6 +20,12 @@ class LamIntegrationRunParamsBase(TypedDict, total=False):
15
20
  being made.
16
21
  """
17
22
 
23
+ advanced: Optional[Advanced]
24
+ """
25
+ Advanced configuration options for the task, such as ad-blocking and CAPTCHA
26
+ solving.
27
+ """
28
+
18
29
  integration_id: Optional[str]
19
30
  """The unique identifier for the integration being called."""
20
31
 
@@ -22,6 +33,17 @@ class LamIntegrationRunParamsBase(TypedDict, total=False):
22
33
  """Additional properties or data related to the particular integration."""
23
34
 
24
35
 
36
+ class Advanced(TypedDict, total=False):
37
+ block_ads: Optional[bool]
38
+ """Whether to block advertisements during the browser session."""
39
+
40
+ proxy: Optional[bool]
41
+ """Whether to use a proxy for the browser session."""
42
+
43
+ solve_captchas: Optional[bool]
44
+ """Whether to attempt automatic CAPTCHA solving."""
45
+
46
+
25
47
  class LamIntegrationRunParamsNonStreaming(LamIntegrationRunParamsBase, total=False):
26
48
  stream: Optional[Literal[False]]
27
49
  """Whether the response should be streamed back or not."""
@@ -12,6 +12,9 @@ class UnionMember0(BaseModel):
12
12
  integration_id: str
13
13
  """A unique identifier for the integration in use."""
14
14
 
15
+ livestream_url: str
16
+ """The Livestream URL"""
17
+
15
18
  message: str
16
19
  """A message providing the thought summary if the status is processing currently."""
17
20
 
@@ -19,7 +22,7 @@ class UnionMember0(BaseModel):
19
22
  """Additional metadata or details related to the integration task."""
20
23
 
21
24
  task_status: str
22
- """The current status of the extraction task.
25
+ """The current status of the integration task.
23
26
 
24
27
  For example: 'STARTING', 'PROCESSING', 'DONE', 'HUMAN_INTERACTION', or
25
28
  'FAILURE'.
@@ -30,6 +33,9 @@ class IntegrationResponse(BaseModel):
30
33
  integration_id: str
31
34
  """A unique identifier for the integration in use."""
32
35
 
36
+ livestream_url: str
37
+ """The Livestream URL"""
38
+
33
39
  message: str
34
40
  """A message providing the thought summary if the status is processing currently."""
35
41
 
@@ -37,7 +43,7 @@ class IntegrationResponse(BaseModel):
37
43
  """Additional metadata or details related to the integration task."""
38
44
 
39
45
  task_status: str
40
- """The current status of the extraction task.
46
+ """The current status of the integration task.
41
47
 
42
48
  For example: 'STARTING', 'PROCESSING', 'DONE', 'HUMAN_INTERACTION', or
43
49
  'FAILURE'.
@@ -5,7 +5,7 @@ from __future__ import annotations
5
5
  from typing import Union, Iterable, Optional
6
6
  from typing_extensions import Literal, Required, TypedDict
7
7
 
8
- __all__ = ["LamRunParamsBase", "LamRunParamsNonStreaming", "LamRunParamsStreaming"]
8
+ __all__ = ["LamRunParamsBase", "Advanced", "LamRunParamsNonStreaming", "LamRunParamsStreaming"]
9
9
 
10
10
 
11
11
  class LamRunParamsBase(TypedDict, total=False):
@@ -18,6 +18,12 @@ class LamRunParamsBase(TypedDict, total=False):
18
18
  being made.
19
19
  """
20
20
 
21
+ advanced: Optional[Advanced]
22
+ """
23
+ Advanced configuration options for the task, such as ad-blocking and CAPTCHA
24
+ solving.
25
+ """
26
+
21
27
  app_url: Optional[str]
22
28
  """This is the entrypoint URL for the web agent."""
23
29
 
@@ -28,6 +34,17 @@ class LamRunParamsBase(TypedDict, total=False):
28
34
  """
29
35
 
30
36
 
37
+ class Advanced(TypedDict, total=False):
38
+ block_ads: Optional[bool]
39
+ """Whether to block advertisements during the browser session."""
40
+
41
+ proxy: Optional[bool]
42
+ """Whether to use a proxy for the browser session."""
43
+
44
+ solve_captchas: Optional[bool]
45
+ """Whether to attempt automatic CAPTCHA solving."""
46
+
47
+
31
48
  class LamRunParamsNonStreaming(LamRunParamsBase, total=False):
32
49
  stream: Optional[Literal[False]]
33
50
  """Whether the response should be streamed back or not."""
@@ -7,6 +7,9 @@ __all__ = ["LamRunResponse"]
7
7
 
8
8
 
9
9
  class LamRunResponse(BaseModel):
10
+ livestream_url: str
11
+ """The Livestream URL"""
12
+
10
13
  message: str
11
14
  """A message providing the thought summary if the status is processing currently."""
12
15
 
@@ -14,7 +17,7 @@ class LamRunResponse(BaseModel):
14
17
  """Additional metadata or details related to the run task."""
15
18
 
16
19
  task_status: str
17
- """The current status of the extraction task.
20
+ """The current status of the run task.
18
21
 
19
22
  For example: 'STARTING', 'PROCESSING', 'DONE', 'HUMAN_INTERACTION', or
20
23
  'FAILURE'.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: raccoonai
3
- Version: 0.1.0a1
3
+ Version: 0.1.0a2
4
4
  Summary: The official Python library for the raccoonAI API
5
5
  Project-URL: Homepage, https://github.com/flyingraccoonai/raccoonai-python
6
6
  Project-URL: Repository, https://github.com/flyingraccoonai/raccoonai-python
@@ -69,7 +69,7 @@ response = client.lam.run(
69
69
  query="Find the price of iphone 16 on Amazon.",
70
70
  raccoon_passcode="<end-user-raccoon-passcode>",
71
71
  )
72
- print(response.message)
72
+ print(response.livestream_url)
73
73
  ```
74
74
 
75
75
  While you can provide a `secret_key` keyword argument,
@@ -98,7 +98,7 @@ async def main() -> None:
98
98
  query="Find the price of iphone 16 on Amazon.",
99
99
  raccoon_passcode="<end-user-raccoon-passcode>",
100
100
  )
101
- print(response.message)
101
+ print(response.livestream_url)
102
102
 
103
103
 
104
104
  asyncio.run(main())
@@ -121,7 +121,7 @@ stream = client.lam.run(
121
121
  stream=True,
122
122
  )
123
123
  for response in stream:
124
- print(response.message)
124
+ print(response.livestream_url)
125
125
  ```
126
126
 
127
127
  The async client uses the exact same interface.
@@ -137,7 +137,7 @@ stream = await client.lam.run(
137
137
  stream=True,
138
138
  )
139
139
  async for response in stream:
140
- print(response.message)
140
+ print(response.livestream_url)
141
141
  ```
142
142
 
143
143
  ## Using types
@@ -288,7 +288,7 @@ response = client.lam.with_raw_response.run(
288
288
  print(response.headers.get('X-My-Header'))
289
289
 
290
290
  lam = response.parse() # get the object that `lam.run()` would have returned
291
- print(lam.message)
291
+ print(lam.livestream_url)
292
292
  ```
293
293
 
294
294
  These methods return an [`APIResponse`](https://github.com/flyingraccoonai/raccoonai-python/tree/main/src/raccoonai/_response.py) object.
@@ -11,7 +11,7 @@ raccoonai/_resource.py,sha256=zfxyYCvzutc1dvCP-j9UPc1sn9U8F-X9gGyqleOvCxY,1118
11
11
  raccoonai/_response.py,sha256=q3bfYfS84vvIRPz_wL8djh6ir9UHGDzzF2l3gKDOWX8,28807
12
12
  raccoonai/_streaming.py,sha256=zHnkREZO5v33YJ7P0YZ7KhJET4ZzevGw1JzRY2-Mls4,10112
13
13
  raccoonai/_types.py,sha256=sN2zE-vBl9KBlBKL8fkN2DNZnItdjDl-3fTpP9cg69w,6146
14
- raccoonai/_version.py,sha256=FeVZhQcjmHI2uhGuDog2XL9gdm4z4OTbxXrcB9iwsYM,169
14
+ raccoonai/_version.py,sha256=yRS6xPfQVMiTl_PBe47h5wYgLz7CFF9COhvLLYm375c,169
15
15
  raccoonai/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  raccoonai/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
17
17
  raccoonai/_utils/_logs.py,sha256=Af3FKkE-LAPzYTl8bnFD4yPvPBIO-QyCra-r9_dSmOM,784
@@ -25,20 +25,20 @@ raccoonai/_utils/_utils.py,sha256=8UmbPOy_AAr2uUjjFui-VZSrVBHRj6bfNEKRp5YZP2A,12
25
25
  raccoonai/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
26
26
  raccoonai/resources/__init__.py,sha256=kSwRlkcSl9bYen9uCJOA5g0Fn0Z0TmVl_5oxvGjoTwU,950
27
27
  raccoonai/resources/fleet.py,sha256=KE2aRct0YfUfaDRDw5O1hGwcyiqCrdKF5LCYleAN1Xo,18579
28
- raccoonai/resources/lam.py,sha256=pAcqDN0cKjFhCmWM6DoI89MgUNZse5_JX4mjE12P13w,46344
28
+ raccoonai/resources/lam.py,sha256=pfdPl0ZhIb4cJsgQKNukIdQnVi85lhOWjtPwInFDnZ0,50734
29
29
  raccoonai/types/__init__.py,sha256=WJT-J_FVRZNpVlalIHmWsb_VLFJHPSxhm9u_wKUipKM,962
30
30
  raccoonai/types/fleet_create_params.py,sha256=iNUUKzQxgkrSjsxBLSpkuIiW1kTLOPyNIe5sANPwOB4,2091
31
- raccoonai/types/fleet_create_response.py,sha256=hKNmUmgfHS_CAqjdu9cSk8CNugrOtaX0PhUnqXtBkjA,491
31
+ raccoonai/types/fleet_create_response.py,sha256=Z-a9Hj89f6bwGv0r5juOlvCp1zF29a0cyZpLC1m-VT4,545
32
32
  raccoonai/types/fleet_logs_response.py,sha256=Lzamw3eqPNXzArU0ujxnXav2AwmIM8OZd7McMzheVNA,360
33
33
  raccoonai/types/fleet_status_response.py,sha256=TyXCx_d9iTa44urJsTemxu1hNdBsKjHWZd8ir-_B0CE,397
34
34
  raccoonai/types/fleet_terminate_response.py,sha256=ls6PaLQdCfoHef6PBzJ_C-9x8O1GH1Vo1wxlxA4maaE,403
35
- raccoonai/types/lam_extract_params.py,sha256=BCXX9StYqMGLg55QExw6d-ZC-HZ24CoaVPAPetepnLs,1626
36
- raccoonai/types/lam_extract_response.py,sha256=8wZLx6y33Drxi-xzQOieEO3vud5AL6Mv3mL5aQgefII,748
37
- raccoonai/types/lam_integration_run_params.py,sha256=pNM2_ElrOrpxVZLFDIxQY7cFoMpHAEQASLFZYipsgXw,1225
38
- raccoonai/types/lam_integration_run_response.py,sha256=qqVSTazT_M-z9v4NRZzkzc2sP08ehQ81sprl8ljNCh4,1348
39
- raccoonai/types/lam_run_params.py,sha256=h_PnWK2tnJLc4MP3Wuhyort-YtxrXQxbTwrX0yz5LxU,1322
40
- raccoonai/types/lam_run_response.py,sha256=mxkIo2ZqVmD8oNH59IkGsXjgPzgMCPQrug3yQSuODD0,552
41
- raccoonai-0.1.0a1.dist-info/METADATA,sha256=r2_F9IwDTEzJBvM-CEN1sjlCnKCI2SnkccvQY7mgzbk,14315
42
- raccoonai-0.1.0a1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
43
- raccoonai-0.1.0a1.dist-info/licenses/LICENSE,sha256=enGvZ2fGU7wGgMPWkgyWhnsFhCpxwdeG_selO_ovoTM,11340
44
- raccoonai-0.1.0a1.dist-info/RECORD,,
35
+ raccoonai/types/lam_extract_params.py,sha256=CJ0d-diMrrWEMzfphIojTe1a2O_sVM2x_1-qx2lJIys,2101
36
+ raccoonai/types/lam_extract_response.py,sha256=YNM4brNLSArNTYCPi-r-edqOOx4zLpQuJliZz4-FKxQ,802
37
+ raccoonai/types/lam_integration_run_params.py,sha256=ES7l2hzbKj6MHh1d7Pob3FgIaQWelLTpmkaL69vtRNo,1719
38
+ raccoonai/types/lam_integration_run_response.py,sha256=TmwjLhSmFJYIfuUEZFtzL3UV1YRytAsqJXMdXvkSJ6E,1458
39
+ raccoonai/types/lam_run_params.py,sha256=10tqxIwY0sNASfXZWpsg81D9pHkcFiXf5spuyaklD9Y,1797
40
+ raccoonai/types/lam_run_response.py,sha256=CGM_DRIg_Ior-elWtzii6XM2dS-CvuIopi8yPu8_j2o,599
41
+ raccoonai-0.1.0a2.dist-info/METADATA,sha256=l7zWEc5r5hDgx5VNkSHCXBYTdXLggteq_EZQC98cIgg,14350
42
+ raccoonai-0.1.0a2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
43
+ raccoonai-0.1.0a2.dist-info/licenses/LICENSE,sha256=enGvZ2fGU7wGgMPWkgyWhnsFhCpxwdeG_selO_ovoTM,11340
44
+ raccoonai-0.1.0a2.dist-info/RECORD,,