studyfetch-sdk 0.1.0a18__py3-none-any.whl → 0.1.0a20__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/_models.py +24 -3
- studyfetch_sdk/_version.py +1 -1
- studyfetch_sdk/resources/v1/__init__.py +0 -84
- studyfetch_sdk/resources/v1/assignment_grader.py +81 -1
- studyfetch_sdk/resources/v1/components.py +36 -4
- studyfetch_sdk/resources/v1/materials/materials.py +130 -2
- studyfetch_sdk/resources/v1/materials/upload.py +286 -0
- studyfetch_sdk/resources/v1/usage/analyst.py +143 -15
- studyfetch_sdk/resources/v1/v1.py +66 -192
- studyfetch_sdk/types/v1/__init__.py +2 -20
- studyfetch_sdk/types/v1/assignment_grader_response.py +20 -1
- studyfetch_sdk/types/v1/component.py +9 -1
- studyfetch_sdk/types/v1/component_create_params.py +81 -1
- studyfetch_sdk/types/v1/component_generate_embed_params.py +7 -1
- studyfetch_sdk/types/v1/component_list_params.py +9 -1
- studyfetch_sdk/types/v1/content_param.py +23 -0
- studyfetch_sdk/types/v1/material_create_and_process_params.py +27 -0
- studyfetch_sdk/types/v1/material_create_params.py +4 -17
- studyfetch_sdk/types/v1/materials/__init__.py +2 -0
- studyfetch_sdk/types/v1/materials/upload_create_presigned_url_params.py +3 -0
- studyfetch_sdk/types/v1/materials/upload_upload_file_and_process_params.py +29 -0
- studyfetch_sdk/types/v1/materials/upload_upload_file_params.py +3 -0
- studyfetch_sdk/types/v1/materials/upload_upload_url_and_process_params.py +26 -0
- studyfetch_sdk/types/v1/usage/__init__.py +3 -0
- studyfetch_sdk/types/v1/usage/analyst_get_test_questions_params.py +18 -0
- studyfetch_sdk/types/v1/usage/analyst_list_chat_messages_params.py +18 -0
- studyfetch_sdk/types/v1/usage/analyst_list_chat_messages_response.py +35 -0
- studyfetch_sdk/types/v1/usage/analyst_list_events_params.py +7 -0
- {studyfetch_sdk-0.1.0a18.dist-info → studyfetch_sdk-0.1.0a20.dist-info}/METADATA +1 -1
- {studyfetch_sdk-0.1.0a18.dist-info → studyfetch_sdk-0.1.0a20.dist-info}/RECORD +32 -71
- studyfetch_sdk/resources/v1/audio_recaps/__init__.py +0 -33
- studyfetch_sdk/resources/v1/audio_recaps/audio_recaps.py +0 -328
- studyfetch_sdk/resources/v1/audio_recaps/sections.py +0 -250
- studyfetch_sdk/resources/v1/chat/__init__.py +0 -47
- studyfetch_sdk/resources/v1/chat/chat.py +0 -574
- studyfetch_sdk/resources/v1/chat/sessions.py +0 -222
- studyfetch_sdk/resources/v1/chat/test.py +0 -190
- studyfetch_sdk/resources/v1/explainers.py +0 -441
- studyfetch_sdk/resources/v1/flashcards.py +0 -783
- studyfetch_sdk/resources/v1/scenarios/__init__.py +0 -61
- studyfetch_sdk/resources/v1/scenarios/component.py +0 -426
- studyfetch_sdk/resources/v1/scenarios/scenarios.py +0 -936
- studyfetch_sdk/resources/v1/scenarios/sessions.py +0 -236
- studyfetch_sdk/resources/v1/scenarios/submissions/__init__.py +0 -33
- studyfetch_sdk/resources/v1/scenarios/submissions/submissions.py +0 -102
- studyfetch_sdk/resources/v1/scenarios/submissions/user.py +0 -210
- studyfetch_sdk/resources/v1/tests/__init__.py +0 -33
- studyfetch_sdk/resources/v1/tests/component.py +0 -160
- studyfetch_sdk/resources/v1/tests/tests.py +0 -682
- studyfetch_sdk/types/v1/audio_recaps/__init__.py +0 -3
- studyfetch_sdk/types/v1/chat/__init__.py +0 -5
- studyfetch_sdk/types/v1/chat/session_retrieve_params.py +0 -11
- studyfetch_sdk/types/v1/chat_get_session_params.py +0 -13
- studyfetch_sdk/types/v1/chat_send_message_params.py +0 -54
- studyfetch_sdk/types/v1/chat_stream_params.py +0 -28
- studyfetch_sdk/types/v1/explainer_create_params.py +0 -45
- studyfetch_sdk/types/v1/explainer_handle_webhook_params.py +0 -53
- studyfetch_sdk/types/v1/flashcard_batch_process_params.py +0 -36
- studyfetch_sdk/types/v1/flashcard_batch_process_response.py +0 -39
- studyfetch_sdk/types/v1/flashcard_get_algorithm_response.py +0 -37
- studyfetch_sdk/types/v1/flashcard_get_all_params.py +0 -23
- studyfetch_sdk/types/v1/flashcard_get_due_params.py +0 -19
- studyfetch_sdk/types/v1/flashcard_get_stats_params.py +0 -17
- studyfetch_sdk/types/v1/flashcard_get_types_response.py +0 -14
- studyfetch_sdk/types/v1/flashcard_rate_params.py +0 -23
- studyfetch_sdk/types/v1/scenario_create_params.py +0 -48
- studyfetch_sdk/types/v1/scenario_submit_answer_params.py +0 -18
- studyfetch_sdk/types/v1/scenario_update_params.py +0 -45
- studyfetch_sdk/types/v1/scenarios/__init__.py +0 -5
- studyfetch_sdk/types/v1/scenarios/component_update_params.py +0 -45
- studyfetch_sdk/types/v1/scenarios/submissions/__init__.py +0 -3
- studyfetch_sdk/types/v1/test_create_params.py +0 -20
- studyfetch_sdk/types/v1/test_retake_params.py +0 -14
- studyfetch_sdk/types/v1/test_submit_answer_params.py +0 -20
- studyfetch_sdk/types/v1/test_submit_params.py +0 -14
- studyfetch_sdk/types/v1/tests/__init__.py +0 -3
- {studyfetch_sdk-0.1.0a18.dist-info → studyfetch_sdk-0.1.0a20.dist-info}/WHEEL +0 -0
- {studyfetch_sdk-0.1.0a18.dist-info → studyfetch_sdk-0.1.0a20.dist-info}/licenses/LICENSE +0 -0
@@ -5,13 +5,13 @@ studyfetch_sdk/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,658
|
|
5
5
|
studyfetch_sdk/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
|
6
6
|
studyfetch_sdk/_exceptions.py,sha256=19gq_huoBWNcc8dc3YLQHCjkkmixKafZmW2GqVGlmCs,3234
|
7
7
|
studyfetch_sdk/_files.py,sha256=qHhXttBIBYPPBVXbKjskY9o4WiktVmJs_6Kbv26sSew,3632
|
8
|
-
studyfetch_sdk/_models.py,sha256=
|
8
|
+
studyfetch_sdk/_models.py,sha256=KvjsMfb88XZlFUKVoOxr8OyDj47MhoH2OKqWNEbBhk4,30010
|
9
9
|
studyfetch_sdk/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
|
10
10
|
studyfetch_sdk/_resource.py,sha256=y0aoAqMIYwTAwStuxbpO8XpTPnrSNQQ_ZcgiH5xcntg,1142
|
11
11
|
studyfetch_sdk/_response.py,sha256=6ph8tSkqF5pNbTo_2Zhizhq2O-Eb67TcksHwyg3aXdc,28864
|
12
12
|
studyfetch_sdk/_streaming.py,sha256=HZoENuPVzWhBn24eH3lnMCvRbWN0EPwvhWYfdlJfw0A,10128
|
13
13
|
studyfetch_sdk/_types.py,sha256=6nvqHGarRGuhs_FL8tJ8sGXXD8XWajNynT2K78GxRUI,6205
|
14
|
-
studyfetch_sdk/_version.py,sha256=
|
14
|
+
studyfetch_sdk/_version.py,sha256=Sa8Iq07YFRZCekXhCJBF90bzG3xKScCuDWNB5qG6WNw,175
|
15
15
|
studyfetch_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
studyfetch_sdk/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
|
17
17
|
studyfetch_sdk/_utils/_logs.py,sha256=EoZgOiIkpf2WB_0Ts0Ti7G3o_25v7IsPf_q-yEU6sbY,798
|
@@ -25,78 +25,48 @@ studyfetch_sdk/_utils/_typing.py,sha256=D0DbbNu8GnYQTSICnTSHDGsYXj8TcAKyhejb0Xcn
|
|
25
25
|
studyfetch_sdk/_utils/_utils.py,sha256=ts4CiiuNpFiGB6YMdkQRh2SZvYvsl7mAF-JWHCcLDf4,12312
|
26
26
|
studyfetch_sdk/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
27
27
|
studyfetch_sdk/resources/__init__.py,sha256=TSJ6b8GNHShyK5w7efHV93u1bY2jYVySQRa2zKc1dKM,500
|
28
|
-
studyfetch_sdk/resources/v1/__init__.py,sha256=
|
29
|
-
studyfetch_sdk/resources/v1/assignment_grader.py,sha256=
|
30
|
-
studyfetch_sdk/resources/v1/components.py,sha256=
|
31
|
-
studyfetch_sdk/resources/v1/explainers.py,sha256=W5Kq3Gpwqw3kBy9v-qpV5FKxH1HAm5_yk1NgACM-Mec,16047
|
32
|
-
studyfetch_sdk/resources/v1/flashcards.py,sha256=_-zZUd8Ja9k2895cxLJsLbN73ZTIrkJaComGCSMkbCk,29242
|
28
|
+
studyfetch_sdk/resources/v1/__init__.py,sha256=694ULqkVD3ciGPbU0H9RRivC9Vr58uKjrWYFj1YUxKQ,3859
|
29
|
+
studyfetch_sdk/resources/v1/assignment_grader.py,sha256=xNI0G7xgz_eC1MR9grPZi-RAaPvSgwQA0rkJhrUx90w,16329
|
30
|
+
studyfetch_sdk/resources/v1/components.py,sha256=XLeKvBQ92xGGFjtTc7YL42Yv6EqY-70Rg0DW83jIQFc,35577
|
33
31
|
studyfetch_sdk/resources/v1/folders.py,sha256=o43HhcVhqF3t7xWMFFNIiMPElhoqkXtaCTVjEE5s5so,27436
|
34
|
-
studyfetch_sdk/resources/v1/v1.py,sha256=
|
35
|
-
studyfetch_sdk/resources/v1/audio_recaps/__init__.py,sha256=X6oJGmyaqUBFChSn8l0r-EHjCZos36O10zfFYWuid2w,1094
|
36
|
-
studyfetch_sdk/resources/v1/audio_recaps/audio_recaps.py,sha256=XAfSWFDbjUSp9bKjDVHqLyrEv3kNtTYSaLtWPRFIzdc,12630
|
37
|
-
studyfetch_sdk/resources/v1/audio_recaps/sections.py,sha256=AcYtFSNemNP2T-fJn2nZkrPNNpaEtqiwPNuTpual2Lw,9451
|
38
|
-
studyfetch_sdk/resources/v1/chat/__init__.py,sha256=WSv53HDkoj5Ec37hiJlCV2V-ZquTjYyG5hU9cOdZPBk,1426
|
39
|
-
studyfetch_sdk/resources/v1/chat/chat.py,sha256=PFySkZ3HsxthOYe5QZYAKkSwJryo6tE7Tl53f7DscYo,21666
|
40
|
-
studyfetch_sdk/resources/v1/chat/sessions.py,sha256=mjcTJFft2zXyQlqhARz_J5md1BfAD3uhDVp-olow83o,8479
|
41
|
-
studyfetch_sdk/resources/v1/chat/test.py,sha256=_7D8vYKhEUi4L32-N4SnpQlDFZl2swrLQFsSDUidn1M,7067
|
32
|
+
studyfetch_sdk/resources/v1/v1.py,sha256=0UUOc_WHVdtH8Ty2RjfLp3hPjXWUBfGVY0cfPrkau04,12821
|
42
33
|
studyfetch_sdk/resources/v1/embed/__init__.py,sha256=VJ7xFoda7Gx3MH2plj_RN3NF5lmfKMFB1IHU0StdTzo,1028
|
43
34
|
studyfetch_sdk/resources/v1/embed/component.py,sha256=vFArqNnLaCGiHAKt4dhF3IBE950KMJbCqX5En2Tj0ls,10491
|
44
35
|
studyfetch_sdk/resources/v1/embed/embed.py,sha256=Tbny2GdlacLtNE-TfYRqYsVNIcOmPOy16cI1IrAHLmM,12582
|
45
36
|
studyfetch_sdk/resources/v1/materials/__init__.py,sha256=tVk8p-CapS6r8iWZXSBxwA0UlQyHJQMY9FPDL_TvMfY,1889
|
46
37
|
studyfetch_sdk/resources/v1/materials/bulk.py,sha256=7yWgp9Jfclm9ppZhk4VKZxBpOVr1UOBBzos8Nj3HDEo,6511
|
47
|
-
studyfetch_sdk/resources/v1/materials/materials.py,sha256=
|
38
|
+
studyfetch_sdk/resources/v1/materials/materials.py,sha256=R9RMPqm_VR8ulCdevDTcjHaFLsMlyAryN4Zq3S0-U7Q,48101
|
48
39
|
studyfetch_sdk/resources/v1/materials/test.py,sha256=Vby03Ow171VfeSiM-i1s4pSkqTttY7ggFeCjJHk2dDk,11875
|
49
|
-
studyfetch_sdk/resources/v1/materials/upload.py,sha256=
|
50
|
-
studyfetch_sdk/resources/v1/scenarios/__init__.py,sha256=WrMn3vQJgHGQzWKq5SRUTMMvRd4p15Bt5JjZpHhKHZs,2071
|
51
|
-
studyfetch_sdk/resources/v1/scenarios/component.py,sha256=ipHZj58PQfD1q1mNHLR0-zRNl6okOsMrqYaez5Bmn6c,15991
|
52
|
-
studyfetch_sdk/resources/v1/scenarios/scenarios.py,sha256=q_gX2IdWAogGNy6G0WsdNpgvNE0_Cf3GeKy7ukKc4M0,34658
|
53
|
-
studyfetch_sdk/resources/v1/scenarios/sessions.py,sha256=nTa6kBd5SoCBTm4DoIdH_u_nj1bM5dIbo2yAy-rMzKg,8949
|
54
|
-
studyfetch_sdk/resources/v1/scenarios/submissions/__init__.py,sha256=rTtsEfGVta9DIHDkyL4p32yLV21bFcxkE-LRb_bpFvU,1041
|
55
|
-
studyfetch_sdk/resources/v1/scenarios/submissions/submissions.py,sha256=2wj6bWW4NXw3EjsCDQySGYOAym64QIUzLqp6UelJsqo,3773
|
56
|
-
studyfetch_sdk/resources/v1/scenarios/submissions/user.py,sha256=n4QlwOw90vyFMGD7Akv_k4ZMyuWT6FNb9o3Fnsl7SZs,7916
|
57
|
-
studyfetch_sdk/resources/v1/tests/__init__.py,sha256=7-K6i3WJPRCoMSOatJEqUhlz74S0wr4S-yrWr2X-LTA,1028
|
58
|
-
studyfetch_sdk/resources/v1/tests/component.py,sha256=MJZIo4-ES4tkY9P1FJl8phjkQxGG8FBCe99ar0I_un4,6013
|
59
|
-
studyfetch_sdk/resources/v1/tests/tests.py,sha256=BGwXClZ8YkzegN80R0WDIrvK3WN1-ujtYkfR33ARhVU,24870
|
40
|
+
studyfetch_sdk/resources/v1/materials/upload.py,sha256=hcMjpp7JeKSNvG2Dt4xbEZYtOCoF8j7T0DaDK2hqyAU,30732
|
60
41
|
studyfetch_sdk/resources/v1/upload/__init__.py,sha256=N5r6jpSMe43dezq-6RBAWLVlL3-Z76lU7DG53phDGr8,1041
|
61
42
|
studyfetch_sdk/resources/v1/upload/component.py,sha256=Q-8VO-XiWYDFpzdap-NcP62V77dvMXfeJouFv8ELXkM,21803
|
62
43
|
studyfetch_sdk/resources/v1/upload/upload.py,sha256=RBkrsVi5_8qIqdYKypnSqj44ONvwW7u2XXIlpuJsKSg,3736
|
63
44
|
studyfetch_sdk/resources/v1/usage/__init__.py,sha256=zUBe7msw9tyZplhmwNkhbCfRigNQQVj4IFpod4uGWZY,1002
|
64
|
-
studyfetch_sdk/resources/v1/usage/analyst.py,sha256=
|
45
|
+
studyfetch_sdk/resources/v1/usage/analyst.py,sha256=WJfbjv57r1ZLgNytUzuEH7J_HYPsbXWhk2Ae6q4QBuA,17402
|
65
46
|
studyfetch_sdk/resources/v1/usage/usage.py,sha256=HAG7FfTIiIihB0dtbZEmluKDD0GWqKWrfLp03gcdPjU,19694
|
66
47
|
studyfetch_sdk/types/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
67
|
-
studyfetch_sdk/types/v1/__init__.py,sha256=
|
48
|
+
studyfetch_sdk/types/v1/__init__.py,sha256=UFZVRgMNP-rC9_cY2EGTAaf727Ub5M2cgTjpoz4d6kU,2925
|
68
49
|
studyfetch_sdk/types/v1/assignment_grader_create_params.py,sha256=o-U_-0ZHJxwpL3pSEW41SmsHz-sOP490i5P8EA5A-Ws,1246
|
69
50
|
studyfetch_sdk/types/v1/assignment_grader_get_all_response.py,sha256=FidqfpFC-PX05_knGWicLerCeSqJiScW2IbzPyzBb2c,339
|
70
|
-
studyfetch_sdk/types/v1/assignment_grader_response.py,sha256=
|
71
|
-
studyfetch_sdk/types/v1/
|
72
|
-
studyfetch_sdk/types/v1/
|
73
|
-
studyfetch_sdk/types/v1/
|
74
|
-
studyfetch_sdk/types/v1/component.py,sha256=ye8BDfb0taD0WwEWJDpi4cXH0iwKqzom0SQQA1nbO4c,1166
|
75
|
-
studyfetch_sdk/types/v1/component_create_params.py,sha256=wtPCBVQScdZZuREIzmRIoMCCXoK9cVeR-NUA0qFatxo,10254
|
76
|
-
studyfetch_sdk/types/v1/component_generate_embed_params.py,sha256=keiOzDzPCvacAWHQj_OtF2pGjEAqxwjNriBGxRaRQNk,3068
|
51
|
+
studyfetch_sdk/types/v1/assignment_grader_response.py,sha256=KJm2_mg42eESgXNP2nkIxKvd04-rzQdQd6IeQCghJPo,1142
|
52
|
+
studyfetch_sdk/types/v1/component.py,sha256=ci484sfjcKqNkjD-1lsj-FqodAauBb8Kf7UE0qHgD20,1247
|
53
|
+
studyfetch_sdk/types/v1/component_create_params.py,sha256=UnTJSJQ9EYBEBgUwXCVAPXCUzjmm_qKsZp0MUl_MqaU,12610
|
54
|
+
studyfetch_sdk/types/v1/component_generate_embed_params.py,sha256=acWgEeaQt3Yyu9DHs9jkUCKC4NRz08pQdrUQPtG7TC4,3320
|
77
55
|
studyfetch_sdk/types/v1/component_generate_embed_response.py,sha256=xhbqEpAt_Q7yzD4xjWITs_jXYUD6ElrH4aQfNEunI3Y,922
|
78
|
-
studyfetch_sdk/types/v1/component_list_params.py,sha256=
|
56
|
+
studyfetch_sdk/types/v1/component_list_params.py,sha256=ROPHM8kS3jVMVDfWcYZyv1Ecn5lZ879uw_b2IRNxgUQ,512
|
79
57
|
studyfetch_sdk/types/v1/component_list_response.py,sha256=BYGoH8x8UJdekr8HXdbcOw_LoKWULlIdN6sn1uL5RuY,274
|
80
58
|
studyfetch_sdk/types/v1/component_update_params.py,sha256=IkSFyldrto9H_F_4GWIGG1WYpYFEuYsAi-29dmo9vno,365
|
59
|
+
studyfetch_sdk/types/v1/content_param.py,sha256=V4F8-ypvZIixvupuYMCaE0Ycfra-Q8U2BGankYiFWzo,610
|
81
60
|
studyfetch_sdk/types/v1/embed_get_theme_params.py,sha256=wKZn4X-Ne29dOrxEBkGThxBPTdhPTgb-CzV65KvSFVw,308
|
82
61
|
studyfetch_sdk/types/v1/embed_verify_params.py,sha256=hixgK7Uyhi2Oaj0t5Q5sbFVUYGdvmMsk_2-fu_2C2nw,314
|
83
|
-
studyfetch_sdk/types/v1/explainer_create_params.py,sha256=DfTTxdkaUezNpD3TwTSyWZDsqcj3ZQ_pi-NiFmhldCk,1365
|
84
|
-
studyfetch_sdk/types/v1/explainer_handle_webhook_params.py,sha256=FroVkIVnrp3n_Jf5q5gfl4OaL41gswNRG2EZHXaeekY,1426
|
85
|
-
studyfetch_sdk/types/v1/flashcard_batch_process_params.py,sha256=9rKglWAilYXnfqPSOdKLQWZ7DOrU45S20eLLGn6xsSk,1044
|
86
|
-
studyfetch_sdk/types/v1/flashcard_batch_process_response.py,sha256=UKredDT61O5KA56gvhbJlF1qa8LzrdpLrD4ulzQOFlw,891
|
87
|
-
studyfetch_sdk/types/v1/flashcard_get_algorithm_response.py,sha256=HdX5UB4l-jZpNpLN0-UZfQL2nxpd-dmypxO-dQEH8Eo,863
|
88
|
-
studyfetch_sdk/types/v1/flashcard_get_all_params.py,sha256=VVEPwJ1sQ03CqUWM-bvmPmy4M2j2MEMvTPU6Qp7aflk,563
|
89
|
-
studyfetch_sdk/types/v1/flashcard_get_due_params.py,sha256=n_05aRmk05p-WXctVdE57Gm-lMChCn-efmy1Tl2Kq-Q,509
|
90
|
-
studyfetch_sdk/types/v1/flashcard_get_stats_params.py,sha256=ghcZfsKIM4au3PtoBpiw-3iGNEy-86co8vzIqLKhZ9o,483
|
91
|
-
studyfetch_sdk/types/v1/flashcard_get_types_response.py,sha256=5Ik-pRsivsnFTytCNvnw0cDZA-95ONMxNY2goXUucLI,371
|
92
|
-
studyfetch_sdk/types/v1/flashcard_rate_params.py,sha256=SrGtfy4XU34M9WYIVQ89uJpmkSmIS9JUzLg2t3_oez8,630
|
93
62
|
studyfetch_sdk/types/v1/folder_create_params.py,sha256=7aOh4pSBdnJ0kLH722pf2gNeJJXpGdf3ldadMcMtXkY,453
|
94
63
|
studyfetch_sdk/types/v1/folder_list_params.py,sha256=BPzBIqjQrCyKuI3DcER1kFRTx15OSUpvsrsMgHXPdAE,391
|
95
64
|
studyfetch_sdk/types/v1/folder_update_params.py,sha256=WynpsS4j_cPwqPjAGTXVcr1v0daB4S2F1MF8uuV6vNI,430
|
96
65
|
studyfetch_sdk/types/v1/material.py,sha256=oiS1alAiO5X8nKMeSUd6AIiQaDLiF72QTMJDukqs32U,1615
|
97
66
|
studyfetch_sdk/types/v1/material_batch_create_params.py,sha256=R5KvbSt4D8DEbBqsrGD7DMCND02_8tCSAI9sZdsp1Bk,763
|
98
67
|
studyfetch_sdk/types/v1/material_batch_create_response.py,sha256=rqef0Fo9uP05CSLenN_B2HQ6Oi1H6F7E7xYoICFdFGk,695
|
99
|
-
studyfetch_sdk/types/v1/
|
68
|
+
studyfetch_sdk/types/v1/material_create_and_process_params.py,sha256=Z-fRiRRuCUBVjafpTxlpQyQtWRM9I7zJrr-hZk2T2eg,888
|
69
|
+
studyfetch_sdk/types/v1/material_create_params.py,sha256=CIVz2wMUhtMgTu00oWDhcqNznpW98t7O7ynfNDZCwzY,576
|
100
70
|
studyfetch_sdk/types/v1/material_debug_response.py,sha256=LM8THYVhABq50XeGaykMzziqbG3NHRoT7IpN22CYATM,1120
|
101
71
|
studyfetch_sdk/types/v1/material_get_download_url_params.py,sha256=GZpXV1lDBt1qKP0sxJhZvS1OU7vJ16nTtdkogzk4HZc,439
|
102
72
|
studyfetch_sdk/types/v1/material_get_download_url_response.py,sha256=09Vv4rNsXP2XyvjDP48eXGUQbEHqqRj5tmDNWiWJOKk,346
|
@@ -106,23 +76,13 @@ studyfetch_sdk/types/v1/material_move_params.py,sha256=ghJzdKx8VzuchJ-chN4rPTkSc
|
|
106
76
|
studyfetch_sdk/types/v1/material_rename_params.py,sha256=RltDhuGmhBZY58Ol_1BE-wecinrRNvvDlnsW3FKo_MA,323
|
107
77
|
studyfetch_sdk/types/v1/material_search_params.py,sha256=2MokaAVVTcnnHVjDTn_YEOVvhD9tGyU1JeCF3gvaL4s,753
|
108
78
|
studyfetch_sdk/types/v1/material_search_response.py,sha256=9XSBBfmdQb3Aw2yCs43d43qRMQ-L6cho1an5JLaQQ8E,1282
|
109
|
-
studyfetch_sdk/types/v1/scenario_create_params.py,sha256=anCK913P4vYEtgY6GnxxxCxRnUazeV1H1NoyBV78sT8,1281
|
110
|
-
studyfetch_sdk/types/v1/scenario_submit_answer_params.py,sha256=g1idbU9OxRC_qrU7bOVNuFcXtKa2ZiJgy7KBR2mJWSM,597
|
111
|
-
studyfetch_sdk/types/v1/scenario_update_params.py,sha256=F83xky9wzolK2VmTkTUqfrNwXB-h-H__8YYy7oXLz8A,1168
|
112
|
-
studyfetch_sdk/types/v1/test_create_params.py,sha256=-MrR4d4Igyp7FD9xni5Rh_Gn3JgCZyYGagXUG3GDvQc,537
|
113
|
-
studyfetch_sdk/types/v1/test_retake_params.py,sha256=pSxTOQ8Io9D_ZquvrbwdbUGtpjG-idDfBd-28i6gQVM,379
|
114
|
-
studyfetch_sdk/types/v1/test_submit_answer_params.py,sha256=KnXliGsq5TTCZIno5It7rK5pi_qttEavBw86X_yhyj0,549
|
115
|
-
studyfetch_sdk/types/v1/test_submit_params.py,sha256=ra-n9uNBDSqkkiomBt_y3RtGMpVyVJXiAqMajtZBSk4,379
|
116
79
|
studyfetch_sdk/types/v1/usage_get_stats_params.py,sha256=TQwpTxrPjfa7OA-UdYOVppbZZjE9cx04VajXk-Pgvvc,682
|
117
80
|
studyfetch_sdk/types/v1/usage_get_summary_params.py,sha256=ZFd6VwpQxL59a2akaJDRZbJJcNbZ88KU4S6UreCZr4U,768
|
118
81
|
studyfetch_sdk/types/v1/usage_list_events_params.py,sha256=exIPdq6GwwDs5KmjzHE5EJc7dslgfCDqL08b89hl3m8,1769
|
119
|
-
studyfetch_sdk/types/v1/audio_recaps/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
120
|
-
studyfetch_sdk/types/v1/chat/__init__.py,sha256=wYABOEkbpJ2giFls8t8N32vNezDWQvFRnPw_giWy58g,207
|
121
|
-
studyfetch_sdk/types/v1/chat/session_retrieve_params.py,sha256=G9P18vHLjgrLTVyWyKv8KGr0Pa4W9e8ZubMysxpty6I,290
|
122
82
|
studyfetch_sdk/types/v1/embed/__init__.py,sha256=PY0v530kkkL8N0ABYvRpyNG0B4-56axqoZ1Gbp6GYq0,303
|
123
83
|
studyfetch_sdk/types/v1/embed/component_interact_params.py,sha256=IdYB5R3TK9KaOQgXP8HbDA4_1bmkPeCxNSORu_Pl1Y0,341
|
124
84
|
studyfetch_sdk/types/v1/embed/component_retrieve_params.py,sha256=At4Eu0g84kblyZVKKBjwtFBc5UcG3XbhS97RkDgysMs,316
|
125
|
-
studyfetch_sdk/types/v1/materials/__init__.py,sha256=
|
85
|
+
studyfetch_sdk/types/v1/materials/__init__.py,sha256=dPE8KqUcB5Wke4ZtJHP8NgzFvUKKtZd04gNQdUyzcAw,1377
|
126
86
|
studyfetch_sdk/types/v1/materials/bulk_move_params.py,sha256=gho2qlCbjS_qSwpFNv10zTHISAhGdg3i3Cg7lJyN_lU,583
|
127
87
|
studyfetch_sdk/types/v1/materials/bulk_move_response.py,sha256=SsZc5vmcVE80p0Xxd8W61rGuQT6l9R34SLKVy0-MC9s,376
|
128
88
|
studyfetch_sdk/types/v1/materials/test_perform_ocr_response.py,sha256=qtE037pg0Nalbfvl9dUcgvsgb8NgQK8RLkclX2Z21nY,506
|
@@ -130,14 +90,12 @@ studyfetch_sdk/types/v1/materials/test_process_epub_response.py,sha256=HLWRvESxs
|
|
130
90
|
studyfetch_sdk/types/v1/materials/test_process_image_response.py,sha256=m2m4dUfRp-dmyhmL-ayqiok3yGPI06g0lNa1Zziej4Y,713
|
131
91
|
studyfetch_sdk/types/v1/materials/test_process_video_response.py,sha256=hWXrYymCN5FZX-m5_zmOnv7pqYSBEoHtIDQ0PY2umgk,552
|
132
92
|
studyfetch_sdk/types/v1/materials/upload_complete_upload_params.py,sha256=Xix2TToRJ8DhCYnYF3ap1-OOOzjYSDSdm-ijuuGJCJs,681
|
133
|
-
studyfetch_sdk/types/v1/materials/upload_create_presigned_url_params.py,sha256=
|
93
|
+
studyfetch_sdk/types/v1/materials/upload_create_presigned_url_params.py,sha256=pwRG7ieGMCULgYTOWtvC7ZbdDTFSeyIrdoJKQV2l3m8,793
|
134
94
|
studyfetch_sdk/types/v1/materials/upload_create_presigned_url_response.py,sha256=_gavQUlB2l1VXrPsB02Bc5WUFiMBWn7kKvHZrGAdfLg,531
|
135
|
-
studyfetch_sdk/types/v1/materials/
|
95
|
+
studyfetch_sdk/types/v1/materials/upload_upload_file_and_process_params.py,sha256=rXWq3EeJGe1mx_HxstrFQZKqkhnAURmlzd5fkdBfhuc,956
|
96
|
+
studyfetch_sdk/types/v1/materials/upload_upload_file_params.py,sha256=xXr5PyBMznRe4HtmqcBOrUbc_S4hzeTLJGWWQ_5XA-I,669
|
136
97
|
studyfetch_sdk/types/v1/materials/upload_upload_from_url_params.py,sha256=q4F7cBkJ7srXSkBosfiiApDETBz_lFJ0tPIUyHIUJXA,523
|
137
|
-
studyfetch_sdk/types/v1/
|
138
|
-
studyfetch_sdk/types/v1/scenarios/component_update_params.py,sha256=0wsa-_gN17TKmvhQBbCIQmN2gSEuCq2HBWjQaTqhFdk,1171
|
139
|
-
studyfetch_sdk/types/v1/scenarios/submissions/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
140
|
-
studyfetch_sdk/types/v1/tests/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
98
|
+
studyfetch_sdk/types/v1/materials/upload_upload_url_and_process_params.py,sha256=27MFaOv5xrEIwL_27YxSWx17hNZrCbmAMz_MOeaFrfU,827
|
141
99
|
studyfetch_sdk/types/v1/upload/__init__.py,sha256=oVLQUp-Sxua2NMNauXzopFmF34HjL_KZMjxlqMu7zW8,845
|
142
100
|
studyfetch_sdk/types/v1/upload/component_complete_upload_params.py,sha256=B3-7nCdLI4S_q0qa8NBS7gNwL0F8ljYVvEbo9fwCkXQ,687
|
143
101
|
studyfetch_sdk/types/v1/upload/component_complete_upload_response.py,sha256=fOWcCnkzzLlYtwKjmdh4X4hlGVOKUNDA1DmnM5jb1ao,378
|
@@ -146,9 +104,12 @@ studyfetch_sdk/types/v1/upload/component_get_presigned_url_response.py,sha256=RD
|
|
146
104
|
studyfetch_sdk/types/v1/upload/component_upload_file_params.py,sha256=UTv4EMrj7_hXa-PU68PMEyXn-bnhxcC0V0qO0JN5W-I,652
|
147
105
|
studyfetch_sdk/types/v1/upload/component_upload_url_params.py,sha256=3wXvto5WWzLYCu0EfQAWQgM73OmbRGhTwe6UnkMW0gM,687
|
148
106
|
studyfetch_sdk/types/v1/upload/file_upload_response.py,sha256=z7LcH_BVu1meWzl9J3BeLOkcZr4NQmdtJV39SobbI1k,578
|
149
|
-
studyfetch_sdk/types/v1/usage/__init__.py,sha256=
|
150
|
-
studyfetch_sdk/types/v1/usage/
|
151
|
-
studyfetch_sdk
|
152
|
-
studyfetch_sdk
|
153
|
-
studyfetch_sdk
|
154
|
-
studyfetch_sdk-0.1.
|
107
|
+
studyfetch_sdk/types/v1/usage/__init__.py,sha256=3h0IuGOlhWTwXAOPSFiZN8i5KxWfHN7E_ypXfaZ5BNw,550
|
108
|
+
studyfetch_sdk/types/v1/usage/analyst_get_test_questions_params.py,sha256=yADHiEpAZaeLoEZoBd4UweQgC-9ofsMj9zeTr1xgqOo,551
|
109
|
+
studyfetch_sdk/types/v1/usage/analyst_list_chat_messages_params.py,sha256=aiT5FyLIiw94prXV-bY3ipPhclzIcCnaXF5BaGZUkik,552
|
110
|
+
studyfetch_sdk/types/v1/usage/analyst_list_chat_messages_response.py,sha256=lJ85gWKgsGGX0uRCsOUXkdzz_Y5JSX7x76St1C7pwy0,1014
|
111
|
+
studyfetch_sdk/types/v1/usage/analyst_list_events_params.py,sha256=wQplMMNjjeTOeNneqgWFQstxFHh4aXhpUeVGUZZeifk,1799
|
112
|
+
studyfetch_sdk-0.1.0a20.dist-info/METADATA,sha256=gc2TKW-qOumIlkd8KfGlNyB2f36CIzeZaXPgCY4kXqY,15518
|
113
|
+
studyfetch_sdk-0.1.0a20.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
114
|
+
studyfetch_sdk-0.1.0a20.dist-info/licenses/LICENSE,sha256=CsdbJMegH_AAWljUmVcwW0Cj_GyIm1hjw6qPqPnmdn4,11344
|
115
|
+
studyfetch_sdk-0.1.0a20.dist-info/RECORD,,
|
@@ -1,33 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
-
|
3
|
-
from .sections import (
|
4
|
-
SectionsResource,
|
5
|
-
AsyncSectionsResource,
|
6
|
-
SectionsResourceWithRawResponse,
|
7
|
-
AsyncSectionsResourceWithRawResponse,
|
8
|
-
SectionsResourceWithStreamingResponse,
|
9
|
-
AsyncSectionsResourceWithStreamingResponse,
|
10
|
-
)
|
11
|
-
from .audio_recaps import (
|
12
|
-
AudioRecapsResource,
|
13
|
-
AsyncAudioRecapsResource,
|
14
|
-
AudioRecapsResourceWithRawResponse,
|
15
|
-
AsyncAudioRecapsResourceWithRawResponse,
|
16
|
-
AudioRecapsResourceWithStreamingResponse,
|
17
|
-
AsyncAudioRecapsResourceWithStreamingResponse,
|
18
|
-
)
|
19
|
-
|
20
|
-
__all__ = [
|
21
|
-
"SectionsResource",
|
22
|
-
"AsyncSectionsResource",
|
23
|
-
"SectionsResourceWithRawResponse",
|
24
|
-
"AsyncSectionsResourceWithRawResponse",
|
25
|
-
"SectionsResourceWithStreamingResponse",
|
26
|
-
"AsyncSectionsResourceWithStreamingResponse",
|
27
|
-
"AudioRecapsResource",
|
28
|
-
"AsyncAudioRecapsResource",
|
29
|
-
"AudioRecapsResourceWithRawResponse",
|
30
|
-
"AsyncAudioRecapsResourceWithRawResponse",
|
31
|
-
"AudioRecapsResourceWithStreamingResponse",
|
32
|
-
"AsyncAudioRecapsResourceWithStreamingResponse",
|
33
|
-
]
|
@@ -1,328 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
|
5
|
-
import httpx
|
6
|
-
|
7
|
-
from .sections import (
|
8
|
-
SectionsResource,
|
9
|
-
AsyncSectionsResource,
|
10
|
-
SectionsResourceWithRawResponse,
|
11
|
-
AsyncSectionsResourceWithRawResponse,
|
12
|
-
SectionsResourceWithStreamingResponse,
|
13
|
-
AsyncSectionsResourceWithStreamingResponse,
|
14
|
-
)
|
15
|
-
from ...._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
|
16
|
-
from ...._compat import cached_property
|
17
|
-
from ...._resource import SyncAPIResource, AsyncAPIResource
|
18
|
-
from ...._response import (
|
19
|
-
to_raw_response_wrapper,
|
20
|
-
to_streamed_response_wrapper,
|
21
|
-
async_to_raw_response_wrapper,
|
22
|
-
async_to_streamed_response_wrapper,
|
23
|
-
)
|
24
|
-
from ...._base_client import make_request_options
|
25
|
-
|
26
|
-
__all__ = ["AudioRecapsResource", "AsyncAudioRecapsResource"]
|
27
|
-
|
28
|
-
|
29
|
-
class AudioRecapsResource(SyncAPIResource):
|
30
|
-
@cached_property
|
31
|
-
def sections(self) -> SectionsResource:
|
32
|
-
return SectionsResource(self._client)
|
33
|
-
|
34
|
-
@cached_property
|
35
|
-
def with_raw_response(self) -> AudioRecapsResourceWithRawResponse:
|
36
|
-
"""
|
37
|
-
This property can be used as a prefix for any HTTP method call to return
|
38
|
-
the raw response object instead of the parsed content.
|
39
|
-
|
40
|
-
For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#accessing-raw-response-data-eg-headers
|
41
|
-
"""
|
42
|
-
return AudioRecapsResourceWithRawResponse(self)
|
43
|
-
|
44
|
-
@cached_property
|
45
|
-
def with_streaming_response(self) -> AudioRecapsResourceWithStreamingResponse:
|
46
|
-
"""
|
47
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
48
|
-
|
49
|
-
For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#with_streaming_response
|
50
|
-
"""
|
51
|
-
return AudioRecapsResourceWithStreamingResponse(self)
|
52
|
-
|
53
|
-
def create(
|
54
|
-
self,
|
55
|
-
*,
|
56
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
57
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
58
|
-
extra_headers: Headers | None = None,
|
59
|
-
extra_query: Query | None = None,
|
60
|
-
extra_body: Body | None = None,
|
61
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
62
|
-
) -> None:
|
63
|
-
"""Create a new audio recap"""
|
64
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
65
|
-
return self._post(
|
66
|
-
"/api/v1/audio-recaps/create",
|
67
|
-
options=make_request_options(
|
68
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
69
|
-
),
|
70
|
-
cast_to=NoneType,
|
71
|
-
)
|
72
|
-
|
73
|
-
def retrieve(
|
74
|
-
self,
|
75
|
-
recap_id: str,
|
76
|
-
*,
|
77
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
78
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
79
|
-
extra_headers: Headers | None = None,
|
80
|
-
extra_query: Query | None = None,
|
81
|
-
extra_body: Body | None = None,
|
82
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
83
|
-
) -> None:
|
84
|
-
"""
|
85
|
-
Get audio recap by ID
|
86
|
-
|
87
|
-
Args:
|
88
|
-
extra_headers: Send extra headers
|
89
|
-
|
90
|
-
extra_query: Add additional query parameters to the request
|
91
|
-
|
92
|
-
extra_body: Add additional JSON properties to the request
|
93
|
-
|
94
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
95
|
-
"""
|
96
|
-
if not recap_id:
|
97
|
-
raise ValueError(f"Expected a non-empty value for `recap_id` but received {recap_id!r}")
|
98
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
99
|
-
return self._get(
|
100
|
-
f"/api/v1/audio-recaps/{recap_id}/get",
|
101
|
-
options=make_request_options(
|
102
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
103
|
-
),
|
104
|
-
cast_to=NoneType,
|
105
|
-
)
|
106
|
-
|
107
|
-
def ask_question(
|
108
|
-
self,
|
109
|
-
recap_id: str,
|
110
|
-
*,
|
111
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
112
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
113
|
-
extra_headers: Headers | None = None,
|
114
|
-
extra_query: Query | None = None,
|
115
|
-
extra_body: Body | None = None,
|
116
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
117
|
-
) -> None:
|
118
|
-
"""
|
119
|
-
Ask a question about the audio recap
|
120
|
-
|
121
|
-
Args:
|
122
|
-
extra_headers: Send extra headers
|
123
|
-
|
124
|
-
extra_query: Add additional query parameters to the request
|
125
|
-
|
126
|
-
extra_body: Add additional JSON properties to the request
|
127
|
-
|
128
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
129
|
-
"""
|
130
|
-
if not recap_id:
|
131
|
-
raise ValueError(f"Expected a non-empty value for `recap_id` but received {recap_id!r}")
|
132
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
133
|
-
return self._post(
|
134
|
-
f"/api/v1/audio-recaps/{recap_id}/ask-question",
|
135
|
-
options=make_request_options(
|
136
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
137
|
-
),
|
138
|
-
cast_to=NoneType,
|
139
|
-
)
|
140
|
-
|
141
|
-
|
142
|
-
class AsyncAudioRecapsResource(AsyncAPIResource):
|
143
|
-
@cached_property
|
144
|
-
def sections(self) -> AsyncSectionsResource:
|
145
|
-
return AsyncSectionsResource(self._client)
|
146
|
-
|
147
|
-
@cached_property
|
148
|
-
def with_raw_response(self) -> AsyncAudioRecapsResourceWithRawResponse:
|
149
|
-
"""
|
150
|
-
This property can be used as a prefix for any HTTP method call to return
|
151
|
-
the raw response object instead of the parsed content.
|
152
|
-
|
153
|
-
For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#accessing-raw-response-data-eg-headers
|
154
|
-
"""
|
155
|
-
return AsyncAudioRecapsResourceWithRawResponse(self)
|
156
|
-
|
157
|
-
@cached_property
|
158
|
-
def with_streaming_response(self) -> AsyncAudioRecapsResourceWithStreamingResponse:
|
159
|
-
"""
|
160
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
161
|
-
|
162
|
-
For more information, see https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python#with_streaming_response
|
163
|
-
"""
|
164
|
-
return AsyncAudioRecapsResourceWithStreamingResponse(self)
|
165
|
-
|
166
|
-
async def create(
|
167
|
-
self,
|
168
|
-
*,
|
169
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
170
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
171
|
-
extra_headers: Headers | None = None,
|
172
|
-
extra_query: Query | None = None,
|
173
|
-
extra_body: Body | None = None,
|
174
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
175
|
-
) -> None:
|
176
|
-
"""Create a new audio recap"""
|
177
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
178
|
-
return await self._post(
|
179
|
-
"/api/v1/audio-recaps/create",
|
180
|
-
options=make_request_options(
|
181
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
182
|
-
),
|
183
|
-
cast_to=NoneType,
|
184
|
-
)
|
185
|
-
|
186
|
-
async def retrieve(
|
187
|
-
self,
|
188
|
-
recap_id: str,
|
189
|
-
*,
|
190
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
191
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
192
|
-
extra_headers: Headers | None = None,
|
193
|
-
extra_query: Query | None = None,
|
194
|
-
extra_body: Body | None = None,
|
195
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
196
|
-
) -> None:
|
197
|
-
"""
|
198
|
-
Get audio recap by ID
|
199
|
-
|
200
|
-
Args:
|
201
|
-
extra_headers: Send extra headers
|
202
|
-
|
203
|
-
extra_query: Add additional query parameters to the request
|
204
|
-
|
205
|
-
extra_body: Add additional JSON properties to the request
|
206
|
-
|
207
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
208
|
-
"""
|
209
|
-
if not recap_id:
|
210
|
-
raise ValueError(f"Expected a non-empty value for `recap_id` but received {recap_id!r}")
|
211
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
212
|
-
return await self._get(
|
213
|
-
f"/api/v1/audio-recaps/{recap_id}/get",
|
214
|
-
options=make_request_options(
|
215
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
216
|
-
),
|
217
|
-
cast_to=NoneType,
|
218
|
-
)
|
219
|
-
|
220
|
-
async def ask_question(
|
221
|
-
self,
|
222
|
-
recap_id: str,
|
223
|
-
*,
|
224
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
225
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
226
|
-
extra_headers: Headers | None = None,
|
227
|
-
extra_query: Query | None = None,
|
228
|
-
extra_body: Body | None = None,
|
229
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
230
|
-
) -> None:
|
231
|
-
"""
|
232
|
-
Ask a question about the audio recap
|
233
|
-
|
234
|
-
Args:
|
235
|
-
extra_headers: Send extra headers
|
236
|
-
|
237
|
-
extra_query: Add additional query parameters to the request
|
238
|
-
|
239
|
-
extra_body: Add additional JSON properties to the request
|
240
|
-
|
241
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
242
|
-
"""
|
243
|
-
if not recap_id:
|
244
|
-
raise ValueError(f"Expected a non-empty value for `recap_id` but received {recap_id!r}")
|
245
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
246
|
-
return await self._post(
|
247
|
-
f"/api/v1/audio-recaps/{recap_id}/ask-question",
|
248
|
-
options=make_request_options(
|
249
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
250
|
-
),
|
251
|
-
cast_to=NoneType,
|
252
|
-
)
|
253
|
-
|
254
|
-
|
255
|
-
class AudioRecapsResourceWithRawResponse:
|
256
|
-
def __init__(self, audio_recaps: AudioRecapsResource) -> None:
|
257
|
-
self._audio_recaps = audio_recaps
|
258
|
-
|
259
|
-
self.create = to_raw_response_wrapper(
|
260
|
-
audio_recaps.create,
|
261
|
-
)
|
262
|
-
self.retrieve = to_raw_response_wrapper(
|
263
|
-
audio_recaps.retrieve,
|
264
|
-
)
|
265
|
-
self.ask_question = to_raw_response_wrapper(
|
266
|
-
audio_recaps.ask_question,
|
267
|
-
)
|
268
|
-
|
269
|
-
@cached_property
|
270
|
-
def sections(self) -> SectionsResourceWithRawResponse:
|
271
|
-
return SectionsResourceWithRawResponse(self._audio_recaps.sections)
|
272
|
-
|
273
|
-
|
274
|
-
class AsyncAudioRecapsResourceWithRawResponse:
|
275
|
-
def __init__(self, audio_recaps: AsyncAudioRecapsResource) -> None:
|
276
|
-
self._audio_recaps = audio_recaps
|
277
|
-
|
278
|
-
self.create = async_to_raw_response_wrapper(
|
279
|
-
audio_recaps.create,
|
280
|
-
)
|
281
|
-
self.retrieve = async_to_raw_response_wrapper(
|
282
|
-
audio_recaps.retrieve,
|
283
|
-
)
|
284
|
-
self.ask_question = async_to_raw_response_wrapper(
|
285
|
-
audio_recaps.ask_question,
|
286
|
-
)
|
287
|
-
|
288
|
-
@cached_property
|
289
|
-
def sections(self) -> AsyncSectionsResourceWithRawResponse:
|
290
|
-
return AsyncSectionsResourceWithRawResponse(self._audio_recaps.sections)
|
291
|
-
|
292
|
-
|
293
|
-
class AudioRecapsResourceWithStreamingResponse:
|
294
|
-
def __init__(self, audio_recaps: AudioRecapsResource) -> None:
|
295
|
-
self._audio_recaps = audio_recaps
|
296
|
-
|
297
|
-
self.create = to_streamed_response_wrapper(
|
298
|
-
audio_recaps.create,
|
299
|
-
)
|
300
|
-
self.retrieve = to_streamed_response_wrapper(
|
301
|
-
audio_recaps.retrieve,
|
302
|
-
)
|
303
|
-
self.ask_question = to_streamed_response_wrapper(
|
304
|
-
audio_recaps.ask_question,
|
305
|
-
)
|
306
|
-
|
307
|
-
@cached_property
|
308
|
-
def sections(self) -> SectionsResourceWithStreamingResponse:
|
309
|
-
return SectionsResourceWithStreamingResponse(self._audio_recaps.sections)
|
310
|
-
|
311
|
-
|
312
|
-
class AsyncAudioRecapsResourceWithStreamingResponse:
|
313
|
-
def __init__(self, audio_recaps: AsyncAudioRecapsResource) -> None:
|
314
|
-
self._audio_recaps = audio_recaps
|
315
|
-
|
316
|
-
self.create = async_to_streamed_response_wrapper(
|
317
|
-
audio_recaps.create,
|
318
|
-
)
|
319
|
-
self.retrieve = async_to_streamed_response_wrapper(
|
320
|
-
audio_recaps.retrieve,
|
321
|
-
)
|
322
|
-
self.ask_question = async_to_streamed_response_wrapper(
|
323
|
-
audio_recaps.ask_question,
|
324
|
-
)
|
325
|
-
|
326
|
-
@cached_property
|
327
|
-
def sections(self) -> AsyncSectionsResourceWithStreamingResponse:
|
328
|
-
return AsyncSectionsResourceWithStreamingResponse(self._audio_recaps.sections)
|