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.
Files changed (78) hide show
  1. studyfetch_sdk/_models.py +24 -3
  2. studyfetch_sdk/_version.py +1 -1
  3. studyfetch_sdk/resources/v1/__init__.py +0 -84
  4. studyfetch_sdk/resources/v1/assignment_grader.py +81 -1
  5. studyfetch_sdk/resources/v1/components.py +36 -4
  6. studyfetch_sdk/resources/v1/materials/materials.py +130 -2
  7. studyfetch_sdk/resources/v1/materials/upload.py +286 -0
  8. studyfetch_sdk/resources/v1/usage/analyst.py +143 -15
  9. studyfetch_sdk/resources/v1/v1.py +66 -192
  10. studyfetch_sdk/types/v1/__init__.py +2 -20
  11. studyfetch_sdk/types/v1/assignment_grader_response.py +20 -1
  12. studyfetch_sdk/types/v1/component.py +9 -1
  13. studyfetch_sdk/types/v1/component_create_params.py +81 -1
  14. studyfetch_sdk/types/v1/component_generate_embed_params.py +7 -1
  15. studyfetch_sdk/types/v1/component_list_params.py +9 -1
  16. studyfetch_sdk/types/v1/content_param.py +23 -0
  17. studyfetch_sdk/types/v1/material_create_and_process_params.py +27 -0
  18. studyfetch_sdk/types/v1/material_create_params.py +4 -17
  19. studyfetch_sdk/types/v1/materials/__init__.py +2 -0
  20. studyfetch_sdk/types/v1/materials/upload_create_presigned_url_params.py +3 -0
  21. studyfetch_sdk/types/v1/materials/upload_upload_file_and_process_params.py +29 -0
  22. studyfetch_sdk/types/v1/materials/upload_upload_file_params.py +3 -0
  23. studyfetch_sdk/types/v1/materials/upload_upload_url_and_process_params.py +26 -0
  24. studyfetch_sdk/types/v1/usage/__init__.py +3 -0
  25. studyfetch_sdk/types/v1/usage/analyst_get_test_questions_params.py +18 -0
  26. studyfetch_sdk/types/v1/usage/analyst_list_chat_messages_params.py +18 -0
  27. studyfetch_sdk/types/v1/usage/analyst_list_chat_messages_response.py +35 -0
  28. studyfetch_sdk/types/v1/usage/analyst_list_events_params.py +7 -0
  29. {studyfetch_sdk-0.1.0a18.dist-info → studyfetch_sdk-0.1.0a20.dist-info}/METADATA +1 -1
  30. {studyfetch_sdk-0.1.0a18.dist-info → studyfetch_sdk-0.1.0a20.dist-info}/RECORD +32 -71
  31. studyfetch_sdk/resources/v1/audio_recaps/__init__.py +0 -33
  32. studyfetch_sdk/resources/v1/audio_recaps/audio_recaps.py +0 -328
  33. studyfetch_sdk/resources/v1/audio_recaps/sections.py +0 -250
  34. studyfetch_sdk/resources/v1/chat/__init__.py +0 -47
  35. studyfetch_sdk/resources/v1/chat/chat.py +0 -574
  36. studyfetch_sdk/resources/v1/chat/sessions.py +0 -222
  37. studyfetch_sdk/resources/v1/chat/test.py +0 -190
  38. studyfetch_sdk/resources/v1/explainers.py +0 -441
  39. studyfetch_sdk/resources/v1/flashcards.py +0 -783
  40. studyfetch_sdk/resources/v1/scenarios/__init__.py +0 -61
  41. studyfetch_sdk/resources/v1/scenarios/component.py +0 -426
  42. studyfetch_sdk/resources/v1/scenarios/scenarios.py +0 -936
  43. studyfetch_sdk/resources/v1/scenarios/sessions.py +0 -236
  44. studyfetch_sdk/resources/v1/scenarios/submissions/__init__.py +0 -33
  45. studyfetch_sdk/resources/v1/scenarios/submissions/submissions.py +0 -102
  46. studyfetch_sdk/resources/v1/scenarios/submissions/user.py +0 -210
  47. studyfetch_sdk/resources/v1/tests/__init__.py +0 -33
  48. studyfetch_sdk/resources/v1/tests/component.py +0 -160
  49. studyfetch_sdk/resources/v1/tests/tests.py +0 -682
  50. studyfetch_sdk/types/v1/audio_recaps/__init__.py +0 -3
  51. studyfetch_sdk/types/v1/chat/__init__.py +0 -5
  52. studyfetch_sdk/types/v1/chat/session_retrieve_params.py +0 -11
  53. studyfetch_sdk/types/v1/chat_get_session_params.py +0 -13
  54. studyfetch_sdk/types/v1/chat_send_message_params.py +0 -54
  55. studyfetch_sdk/types/v1/chat_stream_params.py +0 -28
  56. studyfetch_sdk/types/v1/explainer_create_params.py +0 -45
  57. studyfetch_sdk/types/v1/explainer_handle_webhook_params.py +0 -53
  58. studyfetch_sdk/types/v1/flashcard_batch_process_params.py +0 -36
  59. studyfetch_sdk/types/v1/flashcard_batch_process_response.py +0 -39
  60. studyfetch_sdk/types/v1/flashcard_get_algorithm_response.py +0 -37
  61. studyfetch_sdk/types/v1/flashcard_get_all_params.py +0 -23
  62. studyfetch_sdk/types/v1/flashcard_get_due_params.py +0 -19
  63. studyfetch_sdk/types/v1/flashcard_get_stats_params.py +0 -17
  64. studyfetch_sdk/types/v1/flashcard_get_types_response.py +0 -14
  65. studyfetch_sdk/types/v1/flashcard_rate_params.py +0 -23
  66. studyfetch_sdk/types/v1/scenario_create_params.py +0 -48
  67. studyfetch_sdk/types/v1/scenario_submit_answer_params.py +0 -18
  68. studyfetch_sdk/types/v1/scenario_update_params.py +0 -45
  69. studyfetch_sdk/types/v1/scenarios/__init__.py +0 -5
  70. studyfetch_sdk/types/v1/scenarios/component_update_params.py +0 -45
  71. studyfetch_sdk/types/v1/scenarios/submissions/__init__.py +0 -3
  72. studyfetch_sdk/types/v1/test_create_params.py +0 -20
  73. studyfetch_sdk/types/v1/test_retake_params.py +0 -14
  74. studyfetch_sdk/types/v1/test_submit_answer_params.py +0 -20
  75. studyfetch_sdk/types/v1/test_submit_params.py +0 -14
  76. studyfetch_sdk/types/v1/tests/__init__.py +0 -3
  77. {studyfetch_sdk-0.1.0a18.dist-info → studyfetch_sdk-0.1.0a20.dist-info}/WHEEL +0 -0
  78. {studyfetch_sdk-0.1.0a18.dist-info → studyfetch_sdk-0.1.0a20.dist-info}/licenses/LICENSE +0 -0
@@ -1,13 +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__ = ["ChatGetSessionParams"]
10
-
11
-
12
- class ChatGetSessionParams(TypedDict, total=False):
13
- user_id: Required[Annotated[str, PropertyInfo(alias="userId")]]
@@ -1,54 +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 List, Iterable
6
- from typing_extensions import Required, Annotated, TypedDict
7
-
8
- from ..._utils import PropertyInfo
9
-
10
- __all__ = ["ChatSendMessageParams", "Message", "MessageImage"]
11
-
12
-
13
- class ChatSendMessageParams(TypedDict, total=False):
14
- component_id: Required[Annotated[str, PropertyInfo(alias="componentId")]]
15
- """Component ID for context"""
16
-
17
- message: Required[Message]
18
- """Chat message content"""
19
-
20
- x_component_id: Required[Annotated[str, PropertyInfo(alias="x-component-id")]]
21
-
22
- context: object
23
- """Additional context data"""
24
-
25
- group_ids: Annotated[List[str], PropertyInfo(alias="groupIds")]
26
- """Group IDs for collaboration"""
27
-
28
- session_id: Annotated[str, PropertyInfo(alias="sessionId")]
29
- """Session ID for conversation continuity"""
30
-
31
- user_id: Annotated[str, PropertyInfo(alias="userId")]
32
- """User ID for tracking"""
33
-
34
-
35
- class MessageImage(TypedDict, total=False):
36
- base64: str
37
- """Base64 encoded image data"""
38
-
39
- caption: str
40
- """Caption for the image"""
41
-
42
- mime_type: Annotated[str, PropertyInfo(alias="mimeType")]
43
- """MIME type of the image"""
44
-
45
- url: str
46
- """URL of the image"""
47
-
48
-
49
- class Message(TypedDict, total=False):
50
- images: Iterable[MessageImage]
51
- """Images attached to the message"""
52
-
53
- text: str
54
- """Text content of the message"""
@@ -1,28 +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 Literal, Annotated, TypedDict
7
-
8
- from ..._utils import PropertyInfo
9
-
10
- __all__ = ["ChatStreamParams", "Message"]
11
-
12
-
13
- class ChatStreamParams(TypedDict, total=False):
14
- context: object
15
-
16
- group_id: Annotated[str, PropertyInfo(alias="groupId")]
17
-
18
- messages: Iterable[Message]
19
-
20
- user_id: Annotated[str, PropertyInfo(alias="userId")]
21
-
22
- x_component_id: Annotated[str, PropertyInfo(alias="x-component-id")]
23
-
24
-
25
- class Message(TypedDict, total=False):
26
- content: str
27
-
28
- role: Literal["user", "assistant", "system"]
@@ -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 List
6
- from typing_extensions import Required, Annotated, TypedDict
7
-
8
- from ..._utils import PropertyInfo
9
-
10
- __all__ = ["ExplainerCreateParams"]
11
-
12
-
13
- class ExplainerCreateParams(TypedDict, total=False):
14
- component_id: Required[Annotated[str, PropertyInfo(alias="componentId")]]
15
- """Component ID"""
16
-
17
- folder_ids: Required[Annotated[List[str], PropertyInfo(alias="folderIds")]]
18
- """Folder IDs to include"""
19
-
20
- material_ids: Required[Annotated[List[str], PropertyInfo(alias="materialIds")]]
21
- """Material IDs to include"""
22
-
23
- target_length: Required[Annotated[float, PropertyInfo(alias="targetLength")]]
24
- """Target video length in seconds"""
25
-
26
- title: Required[str]
27
- """Title for the explainer video"""
28
-
29
- image_search: Annotated[bool, PropertyInfo(alias="imageSearch")]
30
- """Enable image search for visuals"""
31
-
32
- model: str
33
- """AI model to use"""
34
-
35
- style: str
36
- """Video style"""
37
-
38
- user_id: Annotated[str, PropertyInfo(alias="userId")]
39
- """User ID"""
40
-
41
- vertical_video: Annotated[bool, PropertyInfo(alias="verticalVideo")]
42
- """Create vertical video format (9:16)"""
43
-
44
- web_search: Annotated[bool, PropertyInfo(alias="webSearch")]
45
- """Enable web search for additional content"""
@@ -1,53 +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 List
6
- from typing_extensions import Literal, Required, Annotated, TypedDict
7
-
8
- from ..._utils import PropertyInfo
9
-
10
- __all__ = ["ExplainerHandleWebhookParams", "Video"]
11
-
12
-
13
- class ExplainerHandleWebhookParams(TypedDict, total=False):
14
- event: Required[Literal["video.completed", "video.progress", "video.failed"]]
15
- """Webhook event type"""
16
-
17
- video: Required[Video]
18
- """Video data"""
19
-
20
-
21
- class Video(TypedDict, total=False):
22
- id: Required[str]
23
- """Video ID"""
24
-
25
- image_sources: Annotated[object, PropertyInfo(alias="imageSources")]
26
- """Image sources"""
27
-
28
- progress: float
29
- """Progress percentage"""
30
-
31
- sections: List[str]
32
- """Video sections"""
33
-
34
- stream_id: Annotated[str, PropertyInfo(alias="streamId")]
35
- """Stream ID"""
36
-
37
- stream_url: Annotated[str, PropertyInfo(alias="streamUrl")]
38
- """Stream URL"""
39
-
40
- thumbnail_url: Annotated[str, PropertyInfo(alias="thumbnailUrl")]
41
- """Thumbnail URL"""
42
-
43
- transcript: str
44
- """Video transcript"""
45
-
46
- video_url: Annotated[str, PropertyInfo(alias="videoUrl")]
47
- """Video URL"""
48
-
49
- web_search_results: Annotated[object, PropertyInfo(alias="webSearchResults")]
50
- """Web search results"""
51
-
52
- web_search_sources: Annotated[object, PropertyInfo(alias="webSearchSources")]
53
- """Web search sources"""
@@ -1,36 +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 Literal, Required, Annotated, TypedDict
7
-
8
- from ..._utils import PropertyInfo
9
-
10
- __all__ = ["FlashcardBatchProcessParams", "Operation"]
11
-
12
-
13
- class FlashcardBatchProcessParams(TypedDict, total=False):
14
- operations: Required[Iterable[Operation]]
15
-
16
- group_id: Annotated[str, PropertyInfo(alias="groupId")]
17
- """Group ID (optional)"""
18
-
19
- user_id: Annotated[str, PropertyInfo(alias="userId")]
20
- """User ID (optional)"""
21
-
22
-
23
- class Operation(TypedDict, total=False):
24
- action: Required[Literal["rate", "get_due", "get_all", "get_stats"]]
25
-
26
- card_id: Required[Annotated[str, PropertyInfo(alias="cardId")]]
27
- """Flashcard ID"""
28
-
29
- group_id: Annotated[str, PropertyInfo(alias="groupId")]
30
- """Group ID (optional)"""
31
-
32
- rating: float
33
- """Rating for rate action (0-3)"""
34
-
35
- user_id: Annotated[str, PropertyInfo(alias="userId")]
36
- """User ID (optional)"""
@@ -1,39 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import List, Optional
4
-
5
- from pydantic import Field as FieldInfo
6
-
7
- from ..._models import BaseModel
8
-
9
- __all__ = ["FlashcardBatchProcessResponse", "Result"]
10
-
11
-
12
- class Result(BaseModel):
13
- card_id: str = FieldInfo(alias="cardId")
14
- """Flashcard ID"""
15
-
16
- success: bool
17
- """Operation success"""
18
-
19
- error: Optional[str] = None
20
- """Error message if failed"""
21
-
22
- result: Optional[object] = None
23
- """Operation result"""
24
-
25
-
26
- class FlashcardBatchProcessResponse(BaseModel):
27
- failed: Optional[float] = None
28
- """Failed operations"""
29
-
30
- processed: Optional[float] = None
31
- """Total operations processed"""
32
-
33
- results: Optional[List[Result]] = None
34
-
35
- success: Optional[bool] = None
36
- """Overall success"""
37
-
38
- successful: Optional[float] = None
39
- """Successful operations"""
@@ -1,37 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import Dict, List, Optional
4
-
5
- from ..._models import BaseModel
6
-
7
- __all__ = ["FlashcardGetAlgorithmResponse", "Intervals", "Ratings"]
8
-
9
-
10
- class Intervals(BaseModel):
11
- graduated: Optional[str] = None
12
- """Description of graduated intervals"""
13
-
14
- lapse: Optional[str] = None
15
- """Description of lapse intervals"""
16
-
17
- learning: Optional[List[float]] = None
18
- """Learning intervals in minutes"""
19
-
20
-
21
- class Ratings(BaseModel):
22
- description: str
23
- """Rating description"""
24
-
25
- name: str
26
- """Rating name"""
27
-
28
-
29
- class FlashcardGetAlgorithmResponse(BaseModel):
30
- algorithm: Optional[str] = None
31
- """Algorithm name"""
32
-
33
- intervals: Optional[Intervals] = None
34
-
35
- phases: Optional[Dict[str, str]] = None
36
-
37
- ratings: Optional[Dict[str, Ratings]] = None
@@ -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 Annotated, TypedDict
6
-
7
- from ..._utils import PropertyInfo
8
-
9
- __all__ = ["FlashcardGetAllParams"]
10
-
11
-
12
- class FlashcardGetAllParams(TypedDict, total=False):
13
- group_ids: Annotated[str, PropertyInfo(alias="groupIds")]
14
- """Group IDs (comma-separated)"""
15
-
16
- limit: float
17
- """Max number of cards"""
18
-
19
- offset: float
20
- """Offset"""
21
-
22
- user_id: Annotated[str, PropertyInfo(alias="userId")]
23
- """User ID"""
@@ -1,19 +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__ = ["FlashcardGetDueParams"]
10
-
11
-
12
- class FlashcardGetDueParams(TypedDict, total=False):
13
- group_ids: Required[Annotated[str, PropertyInfo(alias="groupIds")]]
14
-
15
- limit: float
16
- """Max number of cards"""
17
-
18
- user_id: Annotated[str, PropertyInfo(alias="userId")]
19
- """User ID"""
@@ -1,17 +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__ = ["FlashcardGetStatsParams"]
10
-
11
-
12
- class FlashcardGetStatsParams(TypedDict, total=False):
13
- group_ids: Annotated[str, PropertyInfo(alias="groupIds")]
14
- """Group IDs (comma-separated)"""
15
-
16
- user_id: Annotated[str, PropertyInfo(alias="userId")]
17
- """User ID"""
@@ -1,14 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import Dict, List, Optional
4
-
5
- from ..._models import BaseModel
6
-
7
- __all__ = ["FlashcardGetTypesResponse"]
8
-
9
-
10
- class FlashcardGetTypesResponse(BaseModel):
11
- descriptions: Optional[Dict[str, str]] = None
12
-
13
- types: Optional[List[str]] = None
14
- """List of flashcard types"""
@@ -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__ = ["FlashcardRateParams"]
10
-
11
-
12
- class FlashcardRateParams(TypedDict, total=False):
13
- card_id: Required[Annotated[str, PropertyInfo(alias="cardId")]]
14
- """Flashcard ID"""
15
-
16
- rating: Required[float]
17
- """Rating (0-3)"""
18
-
19
- group_id: Annotated[str, PropertyInfo(alias="groupId")]
20
- """Group ID (optional)"""
21
-
22
- user_id: Annotated[str, PropertyInfo(alias="userId")]
23
- """User ID (optional)"""
@@ -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