studyfetch-sdk 0.1.0a19__py3-none-any.whl → 0.1.0a21__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.
Files changed (87) hide show
  1. studyfetch_sdk/_models.py +23 -2
  2. studyfetch_sdk/_version.py +1 -1
  3. studyfetch_sdk/resources/v1/__init__.py +6 -104
  4. studyfetch_sdk/resources/v1/chat.py +246 -0
  5. studyfetch_sdk/resources/v1/materials/materials.py +304 -0
  6. studyfetch_sdk/resources/v1/materials/upload.py +30 -14
  7. studyfetch_sdk/resources/v1/v1.py +20 -244
  8. studyfetch_sdk/types/v1/__init__.py +3 -22
  9. studyfetch_sdk/types/v1/chat_stream_params.py +39 -7
  10. studyfetch_sdk/types/v1/component_create_params.py +24 -0
  11. studyfetch_sdk/types/v1/component_generate_embed_params.py +7 -1
  12. studyfetch_sdk/types/v1/generated_material.py +65 -0
  13. studyfetch_sdk/types/v1/material_generate_and_process_params.py +38 -0
  14. studyfetch_sdk/types/v1/material_generate_params.py +32 -0
  15. studyfetch_sdk/types/v1/materials/upload_complete_upload_params.py +2 -5
  16. studyfetch_sdk/types/v1/materials/upload_create_presigned_url_params.py +3 -0
  17. studyfetch_sdk/types/v1/materials/upload_upload_file_and_process_params.py +4 -1
  18. studyfetch_sdk/types/v1/materials/upload_upload_file_params.py +3 -0
  19. {studyfetch_sdk-0.1.0a19.dist-info → studyfetch_sdk-0.1.0a21.dist-info}/METADATA +1 -1
  20. {studyfetch_sdk-0.1.0a19.dist-info → studyfetch_sdk-0.1.0a21.dist-info}/RECORD +22 -83
  21. studyfetch_sdk/resources/v1/audio_recaps/__init__.py +0 -33
  22. studyfetch_sdk/resources/v1/audio_recaps/audio_recaps.py +0 -328
  23. studyfetch_sdk/resources/v1/audio_recaps/sections.py +0 -250
  24. studyfetch_sdk/resources/v1/chat/__init__.py +0 -47
  25. studyfetch_sdk/resources/v1/chat/chat.py +0 -574
  26. studyfetch_sdk/resources/v1/chat/sessions.py +0 -222
  27. studyfetch_sdk/resources/v1/chat/test.py +0 -190
  28. studyfetch_sdk/resources/v1/data_analyst/__init__.py +0 -47
  29. studyfetch_sdk/resources/v1/data_analyst/data_analyst.py +0 -582
  30. studyfetch_sdk/resources/v1/data_analyst/sessions.py +0 -222
  31. studyfetch_sdk/resources/v1/data_analyst/test.py +0 -190
  32. studyfetch_sdk/resources/v1/explainers.py +0 -441
  33. studyfetch_sdk/resources/v1/flashcards.py +0 -783
  34. studyfetch_sdk/resources/v1/scenarios/__init__.py +0 -61
  35. studyfetch_sdk/resources/v1/scenarios/component.py +0 -426
  36. studyfetch_sdk/resources/v1/scenarios/scenarios.py +0 -936
  37. studyfetch_sdk/resources/v1/scenarios/sessions.py +0 -236
  38. studyfetch_sdk/resources/v1/scenarios/submissions/__init__.py +0 -33
  39. studyfetch_sdk/resources/v1/scenarios/submissions/submissions.py +0 -102
  40. studyfetch_sdk/resources/v1/scenarios/submissions/user.py +0 -210
  41. studyfetch_sdk/resources/v1/tests/__init__.py +0 -33
  42. studyfetch_sdk/resources/v1/tests/component.py +0 -160
  43. studyfetch_sdk/resources/v1/tests/tests.py +0 -682
  44. studyfetch_sdk/resources/v1/upload/__init__.py +0 -33
  45. studyfetch_sdk/resources/v1/upload/component.py +0 -572
  46. studyfetch_sdk/resources/v1/upload/upload.py +0 -102
  47. studyfetch_sdk/types/v1/audio_recaps/__init__.py +0 -3
  48. studyfetch_sdk/types/v1/chat/__init__.py +0 -5
  49. studyfetch_sdk/types/v1/chat/session_retrieve_params.py +0 -11
  50. studyfetch_sdk/types/v1/chat_get_session_params.py +0 -13
  51. studyfetch_sdk/types/v1/chat_send_message_params.py +0 -54
  52. studyfetch_sdk/types/v1/data_analyst/__init__.py +0 -5
  53. studyfetch_sdk/types/v1/data_analyst/session_retrieve_params.py +0 -11
  54. studyfetch_sdk/types/v1/data_analyst_retrieve_session_params.py +0 -13
  55. studyfetch_sdk/types/v1/data_analyst_send_message_params.py +0 -54
  56. studyfetch_sdk/types/v1/data_analyst_stream_params.py +0 -28
  57. studyfetch_sdk/types/v1/explainer_create_params.py +0 -45
  58. studyfetch_sdk/types/v1/explainer_handle_webhook_params.py +0 -53
  59. studyfetch_sdk/types/v1/flashcard_batch_process_params.py +0 -36
  60. studyfetch_sdk/types/v1/flashcard_batch_process_response.py +0 -39
  61. studyfetch_sdk/types/v1/flashcard_get_algorithm_response.py +0 -37
  62. studyfetch_sdk/types/v1/flashcard_get_all_params.py +0 -23
  63. studyfetch_sdk/types/v1/flashcard_get_due_params.py +0 -19
  64. studyfetch_sdk/types/v1/flashcard_get_stats_params.py +0 -17
  65. studyfetch_sdk/types/v1/flashcard_get_types_response.py +0 -14
  66. studyfetch_sdk/types/v1/flashcard_rate_params.py +0 -23
  67. studyfetch_sdk/types/v1/scenario_create_params.py +0 -48
  68. studyfetch_sdk/types/v1/scenario_submit_answer_params.py +0 -18
  69. studyfetch_sdk/types/v1/scenario_update_params.py +0 -45
  70. studyfetch_sdk/types/v1/scenarios/__init__.py +0 -5
  71. studyfetch_sdk/types/v1/scenarios/component_update_params.py +0 -45
  72. studyfetch_sdk/types/v1/scenarios/submissions/__init__.py +0 -3
  73. studyfetch_sdk/types/v1/test_create_params.py +0 -20
  74. studyfetch_sdk/types/v1/test_retake_params.py +0 -14
  75. studyfetch_sdk/types/v1/test_submit_answer_params.py +0 -20
  76. studyfetch_sdk/types/v1/test_submit_params.py +0 -14
  77. studyfetch_sdk/types/v1/tests/__init__.py +0 -3
  78. studyfetch_sdk/types/v1/upload/__init__.py +0 -11
  79. studyfetch_sdk/types/v1/upload/component_complete_upload_params.py +0 -20
  80. studyfetch_sdk/types/v1/upload/component_complete_upload_response.py +0 -16
  81. studyfetch_sdk/types/v1/upload/component_get_presigned_url_params.py +0 -23
  82. studyfetch_sdk/types/v1/upload/component_get_presigned_url_response.py +0 -15
  83. studyfetch_sdk/types/v1/upload/component_upload_file_params.py +0 -21
  84. studyfetch_sdk/types/v1/upload/component_upload_url_params.py +0 -23
  85. studyfetch_sdk/types/v1/upload/file_upload_response.py +0 -24
  86. {studyfetch_sdk-0.1.0a19.dist-info → studyfetch_sdk-0.1.0a21.dist-info}/WHEEL +0 -0
  87. {studyfetch_sdk-0.1.0a19.dist-info → studyfetch_sdk-0.1.0a21.dist-info}/licenses/LICENSE +0 -0
@@ -1,48 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Iterable
6
- from typing_extensions import Required, Annotated, TypedDict
7
-
8
- from ..._utils import PropertyInfo
9
-
10
- __all__ = ["ScenarioCreateParams"]
11
-
12
-
13
- class ScenarioCreateParams(TypedDict, total=False):
14
- component_id: Required[Annotated[str, PropertyInfo(alias="componentId")]]
15
- """Associated component ID"""
16
-
17
- name: Required[str]
18
- """Scenario name"""
19
-
20
- characters: Iterable[object]
21
- """Scenario characters"""
22
-
23
- context: str
24
- """Scenario context"""
25
-
26
- description: str
27
- """Scenario description"""
28
-
29
- final_answer_prompt: Annotated[str, PropertyInfo(alias="finalAnswerPrompt")]
30
- """Prompt for final answer"""
31
-
32
- format: str
33
- """Interaction format"""
34
-
35
- goal: str
36
- """Scenario goal"""
37
-
38
- greeting_character_id: Annotated[str, PropertyInfo(alias="greetingCharacterId")]
39
- """Character ID for greeting"""
40
-
41
- greeting_message: Annotated[str, PropertyInfo(alias="greetingMessage")]
42
- """Greeting message"""
43
-
44
- requires_final_answer: Annotated[bool, PropertyInfo(alias="requiresFinalAnswer")]
45
- """Whether scenario requires a final answer"""
46
-
47
- tools: Iterable[object]
48
- """Available tools"""
@@ -1,18 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Iterable
6
- from typing_extensions import Required, Annotated, TypedDict
7
-
8
- from ..._utils import PropertyInfo
9
-
10
- __all__ = ["ScenarioSubmitAnswerParams"]
11
-
12
-
13
- class ScenarioSubmitAnswerParams(TypedDict, total=False):
14
- conversation_history: Required[Annotated[Iterable[object], PropertyInfo(alias="conversationHistory")]]
15
- """Conversation history"""
16
-
17
- final_answer: Annotated[str, PropertyInfo(alias="finalAnswer")]
18
- """Final answer for the scenario"""
@@ -1,45 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Iterable
6
- from typing_extensions import Required, Annotated, TypedDict
7
-
8
- from ..._utils import PropertyInfo
9
-
10
- __all__ = ["ScenarioUpdateParams"]
11
-
12
-
13
- class ScenarioUpdateParams(TypedDict, total=False):
14
- name: Required[str]
15
- """Scenario name"""
16
-
17
- characters: Iterable[object]
18
- """Scenario characters"""
19
-
20
- context: str
21
- """Scenario context"""
22
-
23
- description: str
24
- """Scenario description"""
25
-
26
- final_answer_prompt: Annotated[str, PropertyInfo(alias="finalAnswerPrompt")]
27
- """Prompt for final answer"""
28
-
29
- format: str
30
- """Interaction format"""
31
-
32
- goal: str
33
- """Scenario goal"""
34
-
35
- greeting_character_id: Annotated[str, PropertyInfo(alias="greetingCharacterId")]
36
- """Character ID for greeting"""
37
-
38
- greeting_message: Annotated[str, PropertyInfo(alias="greetingMessage")]
39
- """Greeting message"""
40
-
41
- requires_final_answer: Annotated[bool, PropertyInfo(alias="requiresFinalAnswer")]
42
- """Whether scenario requires a final answer"""
43
-
44
- tools: Iterable[object]
45
- """Available tools"""
@@ -1,5 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from .component_update_params import ComponentUpdateParams as ComponentUpdateParams
@@ -1,45 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Iterable
6
- from typing_extensions import Required, Annotated, TypedDict
7
-
8
- from ...._utils import PropertyInfo
9
-
10
- __all__ = ["ComponentUpdateParams"]
11
-
12
-
13
- class ComponentUpdateParams(TypedDict, total=False):
14
- name: Required[str]
15
- """Scenario name"""
16
-
17
- characters: Iterable[object]
18
- """Scenario characters"""
19
-
20
- context: str
21
- """Scenario context"""
22
-
23
- description: str
24
- """Scenario description"""
25
-
26
- final_answer_prompt: Annotated[str, PropertyInfo(alias="finalAnswerPrompt")]
27
- """Prompt for final answer"""
28
-
29
- format: str
30
- """Interaction format"""
31
-
32
- goal: str
33
- """Scenario goal"""
34
-
35
- greeting_character_id: Annotated[str, PropertyInfo(alias="greetingCharacterId")]
36
- """Character ID for greeting"""
37
-
38
- greeting_message: Annotated[str, PropertyInfo(alias="greetingMessage")]
39
- """Greeting message"""
40
-
41
- requires_final_answer: Annotated[bool, PropertyInfo(alias="requiresFinalAnswer")]
42
- """Whether scenario requires a final answer"""
43
-
44
- tools: Iterable[object]
45
- """Available tools"""
@@ -1,3 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
@@ -1,20 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Required, Annotated, TypedDict
6
-
7
- from ..._utils import PropertyInfo
8
-
9
- __all__ = ["TestCreateParams"]
10
-
11
-
12
- class TestCreateParams(TypedDict, total=False):
13
- component_id: Required[Annotated[str, PropertyInfo(alias="componentId")]]
14
- """Component ID"""
15
-
16
- name: str
17
- """Test name (optional)"""
18
-
19
- user_id: Annotated[str, PropertyInfo(alias="userId")]
20
- """User ID (optional)"""
@@ -1,14 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Annotated, TypedDict
6
-
7
- from ..._utils import PropertyInfo
8
-
9
- __all__ = ["TestRetakeParams"]
10
-
11
-
12
- class TestRetakeParams(TypedDict, total=False):
13
- user_id: Annotated[str, PropertyInfo(alias="userId")]
14
- """User ID (optional)"""
@@ -1,20 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Required, Annotated, TypedDict
6
-
7
- from ..._utils import PropertyInfo
8
-
9
- __all__ = ["TestSubmitAnswerParams"]
10
-
11
-
12
- class TestSubmitAnswerParams(TypedDict, total=False):
13
- answer: Required[str]
14
- """User answer"""
15
-
16
- question_id: Required[Annotated[str, PropertyInfo(alias="questionId")]]
17
- """Question ID"""
18
-
19
- user_id: Annotated[str, PropertyInfo(alias="userId")]
20
- """User ID (optional)"""
@@ -1,14 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Annotated, TypedDict
6
-
7
- from ..._utils import PropertyInfo
8
-
9
- __all__ = ["TestSubmitParams"]
10
-
11
-
12
- class TestSubmitParams(TypedDict, total=False):
13
- user_id: Annotated[str, PropertyInfo(alias="userId")]
14
- """User ID (optional)"""
@@ -1,3 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
@@ -1,11 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from .file_upload_response import FileUploadResponse as FileUploadResponse
6
- from .component_upload_url_params import ComponentUploadURLParams as ComponentUploadURLParams
7
- from .component_upload_file_params import ComponentUploadFileParams as ComponentUploadFileParams
8
- from .component_complete_upload_params import ComponentCompleteUploadParams as ComponentCompleteUploadParams
9
- from .component_complete_upload_response import ComponentCompleteUploadResponse as ComponentCompleteUploadResponse
10
- from .component_get_presigned_url_params import ComponentGetPresignedURLParams as ComponentGetPresignedURLParams
11
- from .component_get_presigned_url_response import ComponentGetPresignedURLResponse as ComponentGetPresignedURLResponse
@@ -1,20 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Required, Annotated, TypedDict
6
-
7
- from ...._utils import PropertyInfo
8
-
9
- __all__ = ["ComponentCompleteUploadParams"]
10
-
11
-
12
- class ComponentCompleteUploadParams(TypedDict, total=False):
13
- material_id: Required[Annotated[str, PropertyInfo(alias="materialId")]]
14
- """The ID of the material that was uploaded"""
15
-
16
- organization_id: Required[Annotated[str, PropertyInfo(alias="organizationId")]]
17
- """The ID of the organization"""
18
-
19
- s3_key: Required[Annotated[str, PropertyInfo(alias="s3Key")]]
20
- """The S3 key of the uploaded file"""
@@ -1,16 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from ...._models import BaseModel
4
-
5
- __all__ = ["ComponentCompleteUploadResponse"]
6
-
7
-
8
- class ComponentCompleteUploadResponse(BaseModel):
9
- id: str
10
- """The ID of the uploaded material"""
11
-
12
- name: str
13
- """The name of the material"""
14
-
15
- status: str
16
- """The status of the material"""
@@ -1,23 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Required, Annotated, TypedDict
6
-
7
- from ...._utils import PropertyInfo
8
-
9
- __all__ = ["ComponentGetPresignedURLParams"]
10
-
11
-
12
- class ComponentGetPresignedURLParams(TypedDict, total=False):
13
- content_type: Required[Annotated[str, PropertyInfo(alias="contentType")]]
14
- """The MIME type of the file"""
15
-
16
- filename: Required[str]
17
- """The name of the file to upload"""
18
-
19
- folder_id: Required[Annotated[str, PropertyInfo(alias="folderId")]]
20
- """The ID of the folder to upload to"""
21
-
22
- organization_id: Required[Annotated[str, PropertyInfo(alias="organizationId")]]
23
- """The ID of the organization"""
@@ -1,15 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from pydantic import Field as FieldInfo
4
-
5
- from ...._models import BaseModel
6
-
7
- __all__ = ["ComponentGetPresignedURLResponse"]
8
-
9
-
10
- class ComponentGetPresignedURLResponse(BaseModel):
11
- key: str
12
- """The S3 key for the file"""
13
-
14
- upload_url: str = FieldInfo(alias="uploadUrl")
15
- """The presigned URL for uploading"""
@@ -1,21 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Required, Annotated, TypedDict
6
-
7
- from ...._types import FileTypes
8
- from ...._utils import PropertyInfo
9
-
10
- __all__ = ["ComponentUploadFileParams"]
11
-
12
-
13
- class ComponentUploadFileParams(TypedDict, total=False):
14
- file: Required[FileTypes]
15
- """The file to upload"""
16
-
17
- folder_id: Required[Annotated[str, PropertyInfo(alias="folderId")]]
18
- """The ID of the folder to upload to"""
19
-
20
- organization_id: Required[Annotated[str, PropertyInfo(alias="organizationId")]]
21
- """The ID of the organization"""
@@ -1,23 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Required, Annotated, TypedDict
6
-
7
- from ...._utils import PropertyInfo
8
-
9
- __all__ = ["ComponentUploadURLParams"]
10
-
11
-
12
- class ComponentUploadURLParams(TypedDict, total=False):
13
- folder_id: Required[Annotated[str, PropertyInfo(alias="folderId")]]
14
- """The ID of the folder to upload to"""
15
-
16
- name: Required[str]
17
- """The name for the uploaded file"""
18
-
19
- organization_id: Required[Annotated[str, PropertyInfo(alias="organizationId")]]
20
- """The ID of the organization"""
21
-
22
- url: Required[str]
23
- """The URL of the file to upload"""
@@ -1,24 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from pydantic import Field as FieldInfo
4
-
5
- from ...._models import BaseModel
6
-
7
- __all__ = ["FileUploadResponse"]
8
-
9
-
10
- class FileUploadResponse(BaseModel):
11
- id: str
12
- """The ID of the uploaded material"""
13
-
14
- content_type: str = FieldInfo(alias="contentType")
15
- """The content type of the material"""
16
-
17
- name: str
18
- """The name of the material"""
19
-
20
- s3_key: str = FieldInfo(alias="s3Key")
21
- """The S3 key of the uploaded file"""
22
-
23
- status: str
24
- """The status of the material"""