studyfetch-sdk 0.1.0a4__py3-none-any.whl → 0.1.0a6__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.
- studyfetch_sdk/_version.py +1 -1
- studyfetch_sdk/resources/v1/__init__.py +12 -12
- studyfetch_sdk/resources/v1/chat/chat.py +13 -15
- studyfetch_sdk/resources/v1/components.py +40 -37
- studyfetch_sdk/resources/v1/explainers.py +234 -9
- studyfetch_sdk/resources/v1/flashcards.py +15 -15
- studyfetch_sdk/resources/v1/materials/materials.py +19 -20
- studyfetch_sdk/resources/v1/materials/upload.py +19 -20
- studyfetch_sdk/resources/v1/scenarios/component.py +116 -12
- studyfetch_sdk/resources/v1/scenarios/scenarios.py +255 -19
- studyfetch_sdk/resources/v1/scenarios/submissions/user.py +50 -50
- studyfetch_sdk/resources/v1/v1.py +48 -48
- studyfetch_sdk/types/v1/__init__.py +8 -11
- studyfetch_sdk/types/v1/{chat_retrieve_session_params.py → chat_get_session_params.py} +2 -2
- studyfetch_sdk/types/v1/{component_create_response.py → component.py} +2 -2
- studyfetch_sdk/types/v1/component_create_params.py +60 -6
- studyfetch_sdk/types/v1/{component_embed_params.py → component_generate_embed_params.py} +2 -2
- studyfetch_sdk/types/v1/{component_embed_response.py → component_generate_embed_response.py} +2 -2
- studyfetch_sdk/types/v1/component_list_response.py +5 -46
- studyfetch_sdk/types/v1/explainer_create_params.py +45 -0
- studyfetch_sdk/types/v1/explainer_handle_webhook_params.py +45 -3
- studyfetch_sdk/types/v1/{flashcard_get_algorithm_info_response.py → flashcard_get_algorithm_response.py} +2 -2
- studyfetch_sdk/types/v1/{material_create_response.py → material.py} +2 -2
- studyfetch_sdk/types/v1/material_list_response.py +5 -60
- studyfetch_sdk/types/v1/materials/__init__.py +0 -2
- studyfetch_sdk/types/v1/scenario_create_params.py +39 -2
- studyfetch_sdk/types/v1/scenario_submit_answer_params.py +18 -0
- studyfetch_sdk/types/v1/scenario_update_params.py +39 -2
- studyfetch_sdk/types/v1/scenarios/component_update_params.py +39 -2
- {studyfetch_sdk-0.1.0a4.dist-info → studyfetch_sdk-0.1.0a6.dist-info}/METADATA +28 -12
- {studyfetch_sdk-0.1.0a4.dist-info → studyfetch_sdk-0.1.0a6.dist-info}/RECORD +33 -43
- studyfetch_sdk/types/v1/admin/__init__.py +0 -3
- studyfetch_sdk/types/v1/admin/organizations/__init__.py +0 -3
- studyfetch_sdk/types/v1/admin/organizations/models/__init__.py +0 -3
- studyfetch_sdk/types/v1/component_retrieve_response.py +0 -48
- studyfetch_sdk/types/v1/component_update_response.py +0 -48
- studyfetch_sdk/types/v1/material_retrieve_response.py +0 -62
- studyfetch_sdk/types/v1/materials/upload_upload_file_response.py +0 -62
- studyfetch_sdk/types/v1/materials/upload_upload_from_url_response.py +0 -62
- studyfetch_sdk/types/v1/organizations/__init__.py +0 -3
- studyfetch_sdk/types/v1/organizations/logo/__init__.py +0 -3
- studyfetch_sdk/types/v1/organizations/profile/__init__.py +0 -3
- studyfetch_sdk/types/v1/organizations/team/__init__.py +0 -3
- {studyfetch_sdk-0.1.0a4.dist-info → studyfetch_sdk-0.1.0a6.dist-info}/WHEEL +0 -0
- {studyfetch_sdk-0.1.0a4.dist-info → studyfetch_sdk-0.1.0a6.dist-info}/licenses/LICENSE +0 -0
studyfetch_sdk/_version.py
CHANGED
@@ -126,12 +126,6 @@ __all__ = [
|
|
126
126
|
"AsyncMaterialsResourceWithRawResponse",
|
127
127
|
"MaterialsResourceWithStreamingResponse",
|
128
128
|
"AsyncMaterialsResourceWithStreamingResponse",
|
129
|
-
"UsageResource",
|
130
|
-
"AsyncUsageResource",
|
131
|
-
"UsageResourceWithRawResponse",
|
132
|
-
"AsyncUsageResourceWithRawResponse",
|
133
|
-
"UsageResourceWithStreamingResponse",
|
134
|
-
"AsyncUsageResourceWithStreamingResponse",
|
135
129
|
"FoldersResource",
|
136
130
|
"AsyncFoldersResource",
|
137
131
|
"FoldersResourceWithRawResponse",
|
@@ -144,6 +138,12 @@ __all__ = [
|
|
144
138
|
"AsyncComponentsResourceWithRawResponse",
|
145
139
|
"ComponentsResourceWithStreamingResponse",
|
146
140
|
"AsyncComponentsResourceWithStreamingResponse",
|
141
|
+
"UsageResource",
|
142
|
+
"AsyncUsageResource",
|
143
|
+
"UsageResourceWithRawResponse",
|
144
|
+
"AsyncUsageResourceWithRawResponse",
|
145
|
+
"UsageResourceWithStreamingResponse",
|
146
|
+
"AsyncUsageResourceWithStreamingResponse",
|
147
147
|
"EmbedResource",
|
148
148
|
"AsyncEmbedResource",
|
149
149
|
"EmbedResourceWithRawResponse",
|
@@ -156,12 +156,6 @@ __all__ = [
|
|
156
156
|
"AsyncChatResourceWithRawResponse",
|
157
157
|
"ChatResourceWithStreamingResponse",
|
158
158
|
"AsyncChatResourceWithStreamingResponse",
|
159
|
-
"FlashcardsResource",
|
160
|
-
"AsyncFlashcardsResource",
|
161
|
-
"FlashcardsResourceWithRawResponse",
|
162
|
-
"AsyncFlashcardsResourceWithRawResponse",
|
163
|
-
"FlashcardsResourceWithStreamingResponse",
|
164
|
-
"AsyncFlashcardsResourceWithStreamingResponse",
|
165
159
|
"TestsResource",
|
166
160
|
"AsyncTestsResource",
|
167
161
|
"TestsResourceWithRawResponse",
|
@@ -174,6 +168,12 @@ __all__ = [
|
|
174
168
|
"AsyncAudioRecapsResourceWithRawResponse",
|
175
169
|
"AudioRecapsResourceWithStreamingResponse",
|
176
170
|
"AsyncAudioRecapsResourceWithStreamingResponse",
|
171
|
+
"FlashcardsResource",
|
172
|
+
"AsyncFlashcardsResource",
|
173
|
+
"FlashcardsResourceWithRawResponse",
|
174
|
+
"AsyncFlashcardsResourceWithRawResponse",
|
175
|
+
"FlashcardsResourceWithStreamingResponse",
|
176
|
+
"AsyncFlashcardsResourceWithStreamingResponse",
|
177
177
|
"ScenariosResource",
|
178
178
|
"AsyncScenariosResource",
|
179
179
|
"ScenariosResourceWithRawResponse",
|
@@ -25,7 +25,7 @@ from .sessions import (
|
|
25
25
|
from ...._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
|
26
26
|
from ...._utils import maybe_transform, strip_not_given, async_maybe_transform
|
27
27
|
from ...._compat import cached_property
|
28
|
-
from ....types.v1 import chat_stream_params,
|
28
|
+
from ....types.v1 import chat_stream_params, chat_get_session_params, chat_send_message_params
|
29
29
|
from ...._resource import SyncAPIResource, AsyncAPIResource
|
30
30
|
from ...._response import (
|
31
31
|
to_raw_response_wrapper,
|
@@ -85,7 +85,7 @@ class ChatResource(SyncAPIResource):
|
|
85
85
|
cast_to=NoneType,
|
86
86
|
)
|
87
87
|
|
88
|
-
def
|
88
|
+
def get_session(
|
89
89
|
self,
|
90
90
|
session_id: str,
|
91
91
|
*,
|
@@ -117,7 +117,7 @@ class ChatResource(SyncAPIResource):
|
|
117
117
|
extra_query=extra_query,
|
118
118
|
extra_body=extra_body,
|
119
119
|
timeout=timeout,
|
120
|
-
query=maybe_transform({"user_id": user_id},
|
120
|
+
query=maybe_transform({"user_id": user_id}, chat_get_session_params.ChatGetSessionParams),
|
121
121
|
),
|
122
122
|
cast_to=NoneType,
|
123
123
|
)
|
@@ -295,7 +295,7 @@ class AsyncChatResource(AsyncAPIResource):
|
|
295
295
|
cast_to=NoneType,
|
296
296
|
)
|
297
297
|
|
298
|
-
async def
|
298
|
+
async def get_session(
|
299
299
|
self,
|
300
300
|
session_id: str,
|
301
301
|
*,
|
@@ -327,9 +327,7 @@ class AsyncChatResource(AsyncAPIResource):
|
|
327
327
|
extra_query=extra_query,
|
328
328
|
extra_body=extra_body,
|
329
329
|
timeout=timeout,
|
330
|
-
query=await async_maybe_transform(
|
331
|
-
{"user_id": user_id}, chat_retrieve_session_params.ChatRetrieveSessionParams
|
332
|
-
),
|
330
|
+
query=await async_maybe_transform({"user_id": user_id}, chat_get_session_params.ChatGetSessionParams),
|
333
331
|
),
|
334
332
|
cast_to=NoneType,
|
335
333
|
)
|
@@ -467,8 +465,8 @@ class ChatResourceWithRawResponse:
|
|
467
465
|
self.get_history = to_raw_response_wrapper(
|
468
466
|
chat.get_history,
|
469
467
|
)
|
470
|
-
self.
|
471
|
-
chat.
|
468
|
+
self.get_session = to_raw_response_wrapper(
|
469
|
+
chat.get_session,
|
472
470
|
)
|
473
471
|
self.send_followups = to_raw_response_wrapper(
|
474
472
|
chat.send_followups,
|
@@ -496,8 +494,8 @@ class AsyncChatResourceWithRawResponse:
|
|
496
494
|
self.get_history = async_to_raw_response_wrapper(
|
497
495
|
chat.get_history,
|
498
496
|
)
|
499
|
-
self.
|
500
|
-
chat.
|
497
|
+
self.get_session = async_to_raw_response_wrapper(
|
498
|
+
chat.get_session,
|
501
499
|
)
|
502
500
|
self.send_followups = async_to_raw_response_wrapper(
|
503
501
|
chat.send_followups,
|
@@ -525,8 +523,8 @@ class ChatResourceWithStreamingResponse:
|
|
525
523
|
self.get_history = to_streamed_response_wrapper(
|
526
524
|
chat.get_history,
|
527
525
|
)
|
528
|
-
self.
|
529
|
-
chat.
|
526
|
+
self.get_session = to_streamed_response_wrapper(
|
527
|
+
chat.get_session,
|
530
528
|
)
|
531
529
|
self.send_followups = to_streamed_response_wrapper(
|
532
530
|
chat.send_followups,
|
@@ -554,8 +552,8 @@ class AsyncChatResourceWithStreamingResponse:
|
|
554
552
|
self.get_history = async_to_streamed_response_wrapper(
|
555
553
|
chat.get_history,
|
556
554
|
)
|
557
|
-
self.
|
558
|
-
chat.
|
555
|
+
self.get_session = async_to_streamed_response_wrapper(
|
556
|
+
chat.get_session,
|
559
557
|
)
|
560
558
|
self.send_followups = async_to_streamed_response_wrapper(
|
561
559
|
chat.send_followups,
|
@@ -10,7 +10,12 @@ import httpx
|
|
10
10
|
from ..._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
|
11
11
|
from ..._utils import maybe_transform, async_maybe_transform
|
12
12
|
from ..._compat import cached_property
|
13
|
-
from ...types.v1 import
|
13
|
+
from ...types.v1 import (
|
14
|
+
component_list_params,
|
15
|
+
component_create_params,
|
16
|
+
component_update_params,
|
17
|
+
component_generate_embed_params,
|
18
|
+
)
|
14
19
|
from ..._resource import SyncAPIResource, AsyncAPIResource
|
15
20
|
from ..._response import (
|
16
21
|
to_raw_response_wrapper,
|
@@ -19,11 +24,9 @@ from ..._response import (
|
|
19
24
|
async_to_streamed_response_wrapper,
|
20
25
|
)
|
21
26
|
from ..._base_client import make_request_options
|
27
|
+
from ...types.v1.component import Component
|
22
28
|
from ...types.v1.component_list_response import ComponentListResponse
|
23
|
-
from ...types.v1.
|
24
|
-
from ...types.v1.component_create_response import ComponentCreateResponse
|
25
|
-
from ...types.v1.component_update_response import ComponentUpdateResponse
|
26
|
-
from ...types.v1.component_retrieve_response import ComponentRetrieveResponse
|
29
|
+
from ...types.v1.component_generate_embed_response import ComponentGenerateEmbedResponse
|
27
30
|
|
28
31
|
__all__ = ["ComponentsResource", "AsyncComponentsResource"]
|
29
32
|
|
@@ -65,7 +68,7 @@ class ComponentsResource(SyncAPIResource):
|
|
65
68
|
extra_query: Query | None = None,
|
66
69
|
extra_body: Body | None = None,
|
67
70
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
68
|
-
) ->
|
71
|
+
) -> Component:
|
69
72
|
"""
|
70
73
|
Create a new component
|
71
74
|
|
@@ -106,7 +109,7 @@ class ComponentsResource(SyncAPIResource):
|
|
106
109
|
options=make_request_options(
|
107
110
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
108
111
|
),
|
109
|
-
cast_to=
|
112
|
+
cast_to=Component,
|
110
113
|
)
|
111
114
|
|
112
115
|
def retrieve(
|
@@ -119,7 +122,7 @@ class ComponentsResource(SyncAPIResource):
|
|
119
122
|
extra_query: Query | None = None,
|
120
123
|
extra_body: Body | None = None,
|
121
124
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
122
|
-
) ->
|
125
|
+
) -> Component:
|
123
126
|
"""
|
124
127
|
Get component by ID
|
125
128
|
|
@@ -139,7 +142,7 @@ class ComponentsResource(SyncAPIResource):
|
|
139
142
|
options=make_request_options(
|
140
143
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
141
144
|
),
|
142
|
-
cast_to=
|
145
|
+
cast_to=Component,
|
143
146
|
)
|
144
147
|
|
145
148
|
def update(
|
@@ -153,7 +156,7 @@ class ComponentsResource(SyncAPIResource):
|
|
153
156
|
extra_query: Query | None = None,
|
154
157
|
extra_body: Body | None = None,
|
155
158
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
156
|
-
) ->
|
159
|
+
) -> Component:
|
157
160
|
"""
|
158
161
|
Update component
|
159
162
|
|
@@ -176,7 +179,7 @@ class ComponentsResource(SyncAPIResource):
|
|
176
179
|
options=make_request_options(
|
177
180
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
178
181
|
),
|
179
|
-
cast_to=
|
182
|
+
cast_to=Component,
|
180
183
|
)
|
181
184
|
|
182
185
|
def list(
|
@@ -317,16 +320,16 @@ class ComponentsResource(SyncAPIResource):
|
|
317
320
|
cast_to=NoneType,
|
318
321
|
)
|
319
322
|
|
320
|
-
def
|
323
|
+
def generate_embed(
|
321
324
|
self,
|
322
325
|
id: str,
|
323
326
|
*,
|
324
327
|
expiry_hours: float | NotGiven = NOT_GIVEN,
|
325
|
-
features:
|
328
|
+
features: component_generate_embed_params.Features | NotGiven = NOT_GIVEN,
|
326
329
|
group_ids: List[str] | NotGiven = NOT_GIVEN,
|
327
330
|
height: str | NotGiven = NOT_GIVEN,
|
328
331
|
session_id: str | NotGiven = NOT_GIVEN,
|
329
|
-
theme:
|
332
|
+
theme: component_generate_embed_params.Theme | NotGiven = NOT_GIVEN,
|
330
333
|
user_id: str | NotGiven = NOT_GIVEN,
|
331
334
|
width: str | NotGiven = NOT_GIVEN,
|
332
335
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
@@ -335,7 +338,7 @@ class ComponentsResource(SyncAPIResource):
|
|
335
338
|
extra_query: Query | None = None,
|
336
339
|
extra_body: Body | None = None,
|
337
340
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
338
|
-
) ->
|
341
|
+
) -> ComponentGenerateEmbedResponse:
|
339
342
|
"""
|
340
343
|
Generate embed code for component
|
341
344
|
|
@@ -379,12 +382,12 @@ class ComponentsResource(SyncAPIResource):
|
|
379
382
|
"user_id": user_id,
|
380
383
|
"width": width,
|
381
384
|
},
|
382
|
-
|
385
|
+
component_generate_embed_params.ComponentGenerateEmbedParams,
|
383
386
|
),
|
384
387
|
options=make_request_options(
|
385
388
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
386
389
|
),
|
387
|
-
cast_to=
|
390
|
+
cast_to=ComponentGenerateEmbedResponse,
|
388
391
|
)
|
389
392
|
|
390
393
|
def interact(
|
@@ -457,7 +460,7 @@ class AsyncComponentsResource(AsyncAPIResource):
|
|
457
460
|
extra_query: Query | None = None,
|
458
461
|
extra_body: Body | None = None,
|
459
462
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
460
|
-
) ->
|
463
|
+
) -> Component:
|
461
464
|
"""
|
462
465
|
Create a new component
|
463
466
|
|
@@ -498,7 +501,7 @@ class AsyncComponentsResource(AsyncAPIResource):
|
|
498
501
|
options=make_request_options(
|
499
502
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
500
503
|
),
|
501
|
-
cast_to=
|
504
|
+
cast_to=Component,
|
502
505
|
)
|
503
506
|
|
504
507
|
async def retrieve(
|
@@ -511,7 +514,7 @@ class AsyncComponentsResource(AsyncAPIResource):
|
|
511
514
|
extra_query: Query | None = None,
|
512
515
|
extra_body: Body | None = None,
|
513
516
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
514
|
-
) ->
|
517
|
+
) -> Component:
|
515
518
|
"""
|
516
519
|
Get component by ID
|
517
520
|
|
@@ -531,7 +534,7 @@ class AsyncComponentsResource(AsyncAPIResource):
|
|
531
534
|
options=make_request_options(
|
532
535
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
533
536
|
),
|
534
|
-
cast_to=
|
537
|
+
cast_to=Component,
|
535
538
|
)
|
536
539
|
|
537
540
|
async def update(
|
@@ -545,7 +548,7 @@ class AsyncComponentsResource(AsyncAPIResource):
|
|
545
548
|
extra_query: Query | None = None,
|
546
549
|
extra_body: Body | None = None,
|
547
550
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
548
|
-
) ->
|
551
|
+
) -> Component:
|
549
552
|
"""
|
550
553
|
Update component
|
551
554
|
|
@@ -568,7 +571,7 @@ class AsyncComponentsResource(AsyncAPIResource):
|
|
568
571
|
options=make_request_options(
|
569
572
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
570
573
|
),
|
571
|
-
cast_to=
|
574
|
+
cast_to=Component,
|
572
575
|
)
|
573
576
|
|
574
577
|
async def list(
|
@@ -709,16 +712,16 @@ class AsyncComponentsResource(AsyncAPIResource):
|
|
709
712
|
cast_to=NoneType,
|
710
713
|
)
|
711
714
|
|
712
|
-
async def
|
715
|
+
async def generate_embed(
|
713
716
|
self,
|
714
717
|
id: str,
|
715
718
|
*,
|
716
719
|
expiry_hours: float | NotGiven = NOT_GIVEN,
|
717
|
-
features:
|
720
|
+
features: component_generate_embed_params.Features | NotGiven = NOT_GIVEN,
|
718
721
|
group_ids: List[str] | NotGiven = NOT_GIVEN,
|
719
722
|
height: str | NotGiven = NOT_GIVEN,
|
720
723
|
session_id: str | NotGiven = NOT_GIVEN,
|
721
|
-
theme:
|
724
|
+
theme: component_generate_embed_params.Theme | NotGiven = NOT_GIVEN,
|
722
725
|
user_id: str | NotGiven = NOT_GIVEN,
|
723
726
|
width: str | NotGiven = NOT_GIVEN,
|
724
727
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
@@ -727,7 +730,7 @@ class AsyncComponentsResource(AsyncAPIResource):
|
|
727
730
|
extra_query: Query | None = None,
|
728
731
|
extra_body: Body | None = None,
|
729
732
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
730
|
-
) ->
|
733
|
+
) -> ComponentGenerateEmbedResponse:
|
731
734
|
"""
|
732
735
|
Generate embed code for component
|
733
736
|
|
@@ -771,12 +774,12 @@ class AsyncComponentsResource(AsyncAPIResource):
|
|
771
774
|
"user_id": user_id,
|
772
775
|
"width": width,
|
773
776
|
},
|
774
|
-
|
777
|
+
component_generate_embed_params.ComponentGenerateEmbedParams,
|
775
778
|
),
|
776
779
|
options=make_request_options(
|
777
780
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
778
781
|
),
|
779
|
-
cast_to=
|
782
|
+
cast_to=ComponentGenerateEmbedResponse,
|
780
783
|
)
|
781
784
|
|
782
785
|
async def interact(
|
@@ -837,8 +840,8 @@ class ComponentsResourceWithRawResponse:
|
|
837
840
|
self.deactivate = to_raw_response_wrapper(
|
838
841
|
components.deactivate,
|
839
842
|
)
|
840
|
-
self.
|
841
|
-
components.
|
843
|
+
self.generate_embed = to_raw_response_wrapper(
|
844
|
+
components.generate_embed,
|
842
845
|
)
|
843
846
|
self.interact = to_raw_response_wrapper(
|
844
847
|
components.interact,
|
@@ -870,8 +873,8 @@ class AsyncComponentsResourceWithRawResponse:
|
|
870
873
|
self.deactivate = async_to_raw_response_wrapper(
|
871
874
|
components.deactivate,
|
872
875
|
)
|
873
|
-
self.
|
874
|
-
components.
|
876
|
+
self.generate_embed = async_to_raw_response_wrapper(
|
877
|
+
components.generate_embed,
|
875
878
|
)
|
876
879
|
self.interact = async_to_raw_response_wrapper(
|
877
880
|
components.interact,
|
@@ -903,8 +906,8 @@ class ComponentsResourceWithStreamingResponse:
|
|
903
906
|
self.deactivate = to_streamed_response_wrapper(
|
904
907
|
components.deactivate,
|
905
908
|
)
|
906
|
-
self.
|
907
|
-
components.
|
909
|
+
self.generate_embed = to_streamed_response_wrapper(
|
910
|
+
components.generate_embed,
|
908
911
|
)
|
909
912
|
self.interact = to_streamed_response_wrapper(
|
910
913
|
components.interact,
|
@@ -936,8 +939,8 @@ class AsyncComponentsResourceWithStreamingResponse:
|
|
936
939
|
self.deactivate = async_to_streamed_response_wrapper(
|
937
940
|
components.deactivate,
|
938
941
|
)
|
939
|
-
self.
|
940
|
-
components.
|
942
|
+
self.generate_embed = async_to_streamed_response_wrapper(
|
943
|
+
components.generate_embed,
|
941
944
|
)
|
942
945
|
self.interact = async_to_streamed_response_wrapper(
|
943
946
|
components.interact,
|