athena-intelligence 0.1.260__py3-none-any.whl → 0.1.303__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.
athena/types/__init__.py CHANGED
@@ -28,7 +28,10 @@ if typing.TYPE_CHECKING:
28
28
  from .conversation_asset_info import ConversationAssetInfo
29
29
  from .conversation_message import ConversationMessage
30
30
  from .conversation_result import ConversationResult
31
+ from .creatable_asset_type import CreatableAssetType
32
+ from .create_asset_response_out import CreateAssetResponseOut
31
33
  from .create_new_sheet_tab_response import CreateNewSheetTabResponse
34
+ from .create_project_response_out import CreateProjectResponseOut
32
35
  from .custom_agent_response import CustomAgentResponse
33
36
  from .data_frame_request_out import DataFrameRequestOut
34
37
  from .data_frame_request_out_columns_item import DataFrameRequestOutColumnsItem
@@ -36,9 +39,7 @@ if typing.TYPE_CHECKING:
36
39
  from .data_frame_request_out_index_item import DataFrameRequestOutIndexItem
37
40
  from .data_frame_unknown_format_error import DataFrameUnknownFormatError
38
41
  from .dimension_properties import DimensionProperties
39
- from .document_chunk import DocumentChunk
40
42
  from .drive_agent_response import DriveAgentResponse
41
- from .file_chunk_request_out import FileChunkRequestOut
42
43
  from .file_too_large_error import FileTooLargeError
43
44
  from .folder_response import FolderResponse
44
45
  from .general_agent_config import GeneralAgentConfig
@@ -102,7 +103,10 @@ _dynamic_imports: typing.Dict[str, str] = {
102
103
  "ConversationAssetInfo": ".conversation_asset_info",
103
104
  "ConversationMessage": ".conversation_message",
104
105
  "ConversationResult": ".conversation_result",
106
+ "CreatableAssetType": ".creatable_asset_type",
107
+ "CreateAssetResponseOut": ".create_asset_response_out",
105
108
  "CreateNewSheetTabResponse": ".create_new_sheet_tab_response",
109
+ "CreateProjectResponseOut": ".create_project_response_out",
106
110
  "CustomAgentResponse": ".custom_agent_response",
107
111
  "DataFrameRequestOut": ".data_frame_request_out",
108
112
  "DataFrameRequestOutColumnsItem": ".data_frame_request_out_columns_item",
@@ -110,9 +114,7 @@ _dynamic_imports: typing.Dict[str, str] = {
110
114
  "DataFrameRequestOutIndexItem": ".data_frame_request_out_index_item",
111
115
  "DataFrameUnknownFormatError": ".data_frame_unknown_format_error",
112
116
  "DimensionProperties": ".dimension_properties",
113
- "DocumentChunk": ".document_chunk",
114
117
  "DriveAgentResponse": ".drive_agent_response",
115
- "FileChunkRequestOut": ".file_chunk_request_out",
116
118
  "FileTooLargeError": ".file_too_large_error",
117
119
  "FolderResponse": ".folder_response",
118
120
  "GeneralAgentConfig": ".general_agent_config",
@@ -198,7 +200,10 @@ __all__ = [
198
200
  "ConversationAssetInfo",
199
201
  "ConversationMessage",
200
202
  "ConversationResult",
203
+ "CreatableAssetType",
204
+ "CreateAssetResponseOut",
201
205
  "CreateNewSheetTabResponse",
206
+ "CreateProjectResponseOut",
202
207
  "CustomAgentResponse",
203
208
  "DataFrameRequestOut",
204
209
  "DataFrameRequestOutColumnsItem",
@@ -206,9 +211,7 @@ __all__ = [
206
211
  "DataFrameRequestOutIndexItem",
207
212
  "DataFrameUnknownFormatError",
208
213
  "DimensionProperties",
209
- "DocumentChunk",
210
214
  "DriveAgentResponse",
211
- "FileChunkRequestOut",
212
215
  "FileTooLargeError",
213
216
  "FolderResponse",
214
217
  "GeneralAgentConfig",
@@ -37,6 +37,11 @@ class ConversationAssetInfo(UniversalBaseModel):
37
37
  User ID who created the conversation
38
38
  """
39
39
 
40
+ error: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
41
+ """
42
+ Error details if the conversation execution failed
43
+ """
44
+
40
45
  last_channel: typing.Optional[str] = pydantic.Field(default=None)
41
46
  """
42
47
  Last active channel for the conversation
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ CreatableAssetType = typing.Union[typing.Literal["spreadsheet", "document", "folder"], typing.Any]
@@ -0,0 +1,46 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
+
8
+
9
+ class CreateAssetResponseOut(UniversalBaseModel):
10
+ """
11
+ Response model for asset creation.
12
+ """
13
+
14
+ asset_id: str = pydantic.Field()
15
+ """
16
+ ID of the newly created asset
17
+ """
18
+
19
+ asset_type: str = pydantic.Field()
20
+ """
21
+ Type of the created asset
22
+ """
23
+
24
+ created_at: str = pydantic.Field()
25
+ """
26
+ Timestamp when the asset was created
27
+ """
28
+
29
+ parent_folder_id: typing.Optional[str] = pydantic.Field(default=None)
30
+ """
31
+ ID of the parent folder
32
+ """
33
+
34
+ title: str = pydantic.Field()
35
+ """
36
+ Title of the created asset
37
+ """
38
+
39
+ if IS_PYDANTIC_V2:
40
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
41
+ else:
42
+
43
+ class Config:
44
+ frozen = True
45
+ smart_union = True
46
+ extra = pydantic.Extra.allow
@@ -0,0 +1,51 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
+
8
+
9
+ class CreateProjectResponseOut(UniversalBaseModel):
10
+ """
11
+ Response model for project creation.
12
+ """
13
+
14
+ asset_id: str = pydantic.Field()
15
+ """
16
+ ID of the created project asset
17
+ """
18
+
19
+ custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
20
+ """
21
+ Custom metadata associated with the project
22
+ """
23
+
24
+ description: typing.Optional[str] = pydantic.Field(default=None)
25
+ """
26
+ Description of the project
27
+ """
28
+
29
+ project_type: typing.Optional[str] = pydantic.Field(default=None)
30
+ """
31
+ Type of the project
32
+ """
33
+
34
+ tags: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
35
+ """
36
+ Tags associated with the project
37
+ """
38
+
39
+ title: str = pydantic.Field()
40
+ """
41
+ Title of the created project
42
+ """
43
+
44
+ if IS_PYDANTIC_V2:
45
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
46
+ else:
47
+
48
+ class Config:
49
+ frozen = True
50
+ smart_union = True
51
+ extra = pydantic.Extra.allow
@@ -22,6 +22,11 @@ class ThreadStatusResponseOut(UniversalBaseModel):
22
22
  ISO timestamp when thread was created
23
23
  """
24
24
 
25
+ error: typing.Optional[str] = pydantic.Field(default=None)
26
+ """
27
+ Error message if thread execution failed
28
+ """
29
+
25
30
  status: str = pydantic.Field()
26
31
  """
27
32
  Current status of the thread (e.g., 'running', 'completed', 'failed')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: athena-intelligence
3
- Version: 0.1.260
3
+ Version: 0.1.303
4
4
  Summary: Athena Intelligence Python Library
5
5
  Requires-Python: >=3.9,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -1,4 +1,4 @@
1
- athena/__init__.py,sha256=STNRCCbbckdPq_mE-66Rdr4r24pajTxp5adeICpoQUU,8987
1
+ athena/__init__.py,sha256=MvxuZZ0u1Jsz4dglbQMZdxPzeqvoSjLto59Lwv0RjtA,9119
2
2
  athena/agents/__init__.py,sha256=LqM1Kj7aFzYoFsB7xrYKPDJAnOWmcig1LNE4jAiWpJQ,1166
3
3
  athena/agents/client.py,sha256=b3QvSCRsiHD6UREN7llGY946V-oZdKkhouQ6p_nH1j8,8044
4
4
  athena/agents/drive/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
@@ -18,13 +18,13 @@ athena/aop/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
18
18
  athena/aop/client.py,sha256=Fg7rNF1k78MIKDELy8GE-DfAaJvHFUUBG5haMR_Vefo,6758
19
19
  athena/aop/raw_client.py,sha256=ZQRtNNirk1xfbkKHADxSCPB0UQjf4HO5l-6z7W936X8,18509
20
20
  athena/assets/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
21
- athena/assets/client.py,sha256=yRU6wHLqQpqppqhOKIC-drEp0WJyUjewvqIG3g6qQkU,7335
22
- athena/assets/raw_client.py,sha256=lXFjKzqHvge7_DBIjoPLYT5URYcBxOZcpD3i3O_ePOE,13132
23
- athena/base_client.py,sha256=IlYf1TLV3w-JZPATzyT-b5wSrjKm-fsT_3bC172GpVI,9576
24
- athena/client.py,sha256=I-aFsGhcViOdOeaWayhMkaMkV5545Yz2Gb-BoVQvhE4,22317
21
+ athena/assets/client.py,sha256=bkWVNjqEgG6h3cIg6b3L9h8ireNTsQpvDj5bVfgxC8k,17012
22
+ athena/assets/raw_client.py,sha256=x5J-o3dvAPFg1rShQCrjhBJYar2ySBkhjlBafDF3d7E,30181
23
+ athena/base_client.py,sha256=CGcbygpPXQAIFyXtTLKsGr9oY97LB-SZDxMCaN7QYaY,9580
24
+ athena/client.py,sha256=KY9yAklJA8XWmRu_LzHDEF3KrTwwl2phnfMeOnHYWQs,22142
25
25
  athena/core/__init__.py,sha256=GkNNgA0CeqvpCzo2vVtAafE8YcnGV-VGtbU5op93lbc,3624
26
26
  athena/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
27
- athena/core/client_wrapper.py,sha256=6fGFZiVg1I7Vt_gCIgTUdUEmlCfgVCxP5huMrdwYKNE,2392
27
+ athena/core/client_wrapper.py,sha256=dxBfEq4_DcPxbDeA0MCGdjI63UUv0p4Zv1VeqmAIRTY,2392
28
28
  athena/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
29
29
  athena/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
30
30
  athena/core/force_multipart.py,sha256=cH981xLy0kZVKiZZkFoeUjgJ2Zuq7KXB2aRAnmHzRDc,477
@@ -36,7 +36,7 @@ athena/core/query_encoder.py,sha256=ekulqNd0j8TgD7ox-Qbz7liqX8-KP9blvT9DsRCenYM,
36
36
  athena/core/remove_none_from_dict.py,sha256=EU9SGgYidWq7SexuJbNs4-PZ-5Bl3Vppd864mS6vQZw,342
37
37
  athena/core/request_options.py,sha256=h0QUNCFVdCW_7GclVySCAY2w4NhtXVBUCmHgmzaxpcg,1681
38
38
  athena/core/serialization.py,sha256=ECL3bvv_0i7U4uvPidZCNel--MUbA0iq0aGcNKi3kws,9818
39
- athena/environment.py,sha256=OI0PB-ESRlpuUDrwcUx8PU0XBFBLsp7Cxhc9KgJJTFc,267
39
+ athena/environment.py,sha256=fpBLAgcNkHtYp-WPHaF9CC4U2UJRbn2eadJu90KiphE,157
40
40
  athena/errors/__init__.py,sha256=mz82PTudQ7K7-oV8Yxa99QipVhg7RmUmPfvg-QdQMHc,1959
41
41
  athena/errors/bad_request_error.py,sha256=PnE3v3kETCXm9E3LiNcHLNtjPEUvpe98-r59q-kQb78,338
42
42
  athena/errors/content_too_large_error.py,sha256=i4Af_rueEaP5CftotSDwCaMRlkcC76KyT2NsEIjZH0I,392
@@ -58,11 +58,11 @@ athena/tools/__init__.py,sha256=T5lHIgOR5ESMpuKeK0R8nVbYnP0LK2KtQKv5wkGlO_A,1621
58
58
  athena/tools/calendar/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
59
59
  athena/tools/calendar/client.py,sha256=NMiwSaBD-JYcAoudGyBMtWVIWPm6ChFqOFSndxYupY0,4385
60
60
  athena/tools/calendar/raw_client.py,sha256=6HmAXGcOxXuRMdxA1_U1oROkouJebOXVFAnz5CDHgto,6858
61
- athena/tools/client.py,sha256=weCzMmaGd4WcdBQNTKawZPkDMXshQllI2WeB6LUf8UU,23449
61
+ athena/tools/client.py,sha256=xLGyR8fG-hHGzFfEmtbs1t566N7qgQnkyTbTT5juGlc,23418
62
62
  athena/tools/email/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
63
63
  athena/tools/email/client.py,sha256=dOidOOOLHdfz2c3nykzyOa7nTftS91d2_aws0LTg8DU,5921
64
64
  athena/tools/email/raw_client.py,sha256=GkSxb-RFdhGgFNghnwH6i0cPI_gfWGLUmWvBNlBlhE4,9962
65
- athena/tools/raw_client.py,sha256=xdM0CsiywlAgolqC6Y-7WNXCRnx6aMBqSLAwZcS3OTc,53204
65
+ athena/tools/raw_client.py,sha256=OeHwpEJ1O0OeV_yXrqfzahK29n9vbSShHZQ7VRdQL9w,53472
66
66
  athena/tools/sheets/__init__.py,sha256=hX95w8l-Ei_8uDc1DIpsj_1Y7G_C88V6JVkn2oVtqd8,1131
67
67
  athena/tools/sheets/client.py,sha256=zg8i4i7ZZHuMwjM5jP5yCY4uSt9_UR_lWt6XdZw3MoE,59112
68
68
  athena/tools/sheets/raw_client.py,sha256=CmIx3uq_szoyyvSyFIkzv4eM2Sw1SZfHLkCaU3srEpo,97154
@@ -76,7 +76,7 @@ athena/tools/tasks/client.py,sha256=c_YZ7OjQNJmPKbeeXJznXj3zo5CRFSv02dLupAdHAyo,
76
76
  athena/tools/tasks/raw_client.py,sha256=Mexzuf_HcRXWNlESDGQkHHv5tC2tAo-AX3PBSuSRO3U,3812
77
77
  athena/tools/types/__init__.py,sha256=EBAoLXAl5YZCDYkI-YPJA0035ZRyGktyW4tspFXOQso,1180
78
78
  athena/tools/types/tools_data_frame_request_columns_item.py,sha256=GA1FUlTV_CfSc-KToTAwFf4Exl0rr4fsweVZupztjw0,138
79
- athena/types/__init__.py,sha256=j3rz_viMKkWBpTqWzHo-rMWDBO0V2aqdZfqa0ApcDcs,10285
79
+ athena/types/__init__.py,sha256=OwLVK7jSqzPXHeKZPvrGKd8CT7Qg7wPWXztHP1tepjQ,10493
80
80
  athena/types/aop_async_execute_response_out.py,sha256=Ggs9j5JvLCMaVwaHNyY3whA5gcUffLqc4PwuxYWI-38,1642
81
81
  athena/types/aop_execute_request_in.py,sha256=mEsMKyNN6e90gZra733lJDC6z0bZWdc72af3B-Z5aqE,889
82
82
  athena/types/aop_execute_response_out.py,sha256=_w6_WERRgGEVI0O_4qRfVZPLpcaa8yihWgwB4ZV0Zs8,1847
@@ -96,10 +96,13 @@ athena/types/chunk_result.py,sha256=hgrS4hMeuwTRpJ2YrMdrW_QWWWUQ82iYVVTuhFWm1X0,
96
96
  athena/types/chunk_result_chunk_id.py,sha256=pzJ6yL6NdUtseoeU4Kw2jlxSTMCVew2TrjhR1MbCuFg,124
97
97
  athena/types/color.py,sha256=O4wDqWkVhYgl-gtTh74qwzGKSbaGe2K8m5R5ra_0o4k,155
98
98
  athena/types/content.py,sha256=sSPPkZkHZgA_rO6UyTnR2QBK5mOqUz2pZ--B86r5584,211
99
- athena/types/conversation_asset_info.py,sha256=SbsWJuGwic6nliEu9ykW-q2A7SfnRt4U3e1curB8Qok,2900
99
+ athena/types/conversation_asset_info.py,sha256=xqZMI9W77vPj8jjiNbtIMZhPOeEamCZ0eXRS1Cxiuek,3077
100
100
  athena/types/conversation_message.py,sha256=bJsO0T9ktciCAys28ESQJQNfY-29pI3lKxPhRb7D4ic,1084
101
101
  athena/types/conversation_result.py,sha256=EwC27cGZWzRyrJxlyKrevndnOSDBM0DkaOUu7foeYeI,1851
102
+ athena/types/creatable_asset_type.py,sha256=UZnmVDAw4ReX3BuQ8A_TgviIukIVFnj_AdJqzCcWIpU,179
103
+ athena/types/create_asset_response_out.py,sha256=PcuJ0MDRUHKD40-dSSfshfnImhXVx5G5NRG0s7bqBEs,1042
102
104
  athena/types/create_new_sheet_tab_response.py,sha256=RF8iOL3mkSc3pY0pqQhvw9IdnncxDC_-XdSUhqPODsM,892
105
+ athena/types/create_project_response_out.py,sha256=GPz5GL4MwhvIlR4WZk0H79T7Qyb0nGP1aXYsAQSlIdA,1285
103
106
  athena/types/custom_agent_response.py,sha256=hzw1s7mcCI9V58l5OqK4Q59AGF_NctSx5scjJeVWckk,684
104
107
  athena/types/data_frame_request_out.py,sha256=wyVIEEI6mqSoH6SyXTQpzLCJOWwsAlUvG9iAVlNuNOU,1076
105
108
  athena/types/data_frame_request_out_columns_item.py,sha256=9cjzciFv6C8n8Griytt_q_8ovkzHViS5tvUcMDfkfKE,143
@@ -107,9 +110,7 @@ athena/types/data_frame_request_out_data_item_item.py,sha256=KMTJRr-1bdKDNMbUeri
107
110
  athena/types/data_frame_request_out_index_item.py,sha256=bW7oe912trpkYKodj-I_AiTXXy61yWzliekcsUZkZE0,141
108
111
  athena/types/data_frame_unknown_format_error.py,sha256=yEykbkXCfsxDKYHXps8jOtv6RENOn5vLNKpoKwBVJ5Q,575
109
112
  athena/types/dimension_properties.py,sha256=y221yMcIHjx9XMorHHaQyd9-h2h_qmCuRHyAqmYmn24,1709
110
- athena/types/document_chunk.py,sha256=Ma7nl0SnTZsshYtpjh37OJhwrNPmSkzw_QUaFChPCD0,651
111
113
  athena/types/drive_agent_response.py,sha256=sxxt3DVibsYrF8bnil9ZKD3GFkD0m2hp9qDfQSaNqcs,639
112
- athena/types/file_chunk_request_out.py,sha256=5utKRptaqyizg0D9ogPEM1IPJIUW2NMHNLewYZLNe8Q,665
113
114
  athena/types/file_too_large_error.py,sha256=xXAMDgmJ9w0AGu-dKF1m1nCKtoqDetUf2DRqQ64npHY,527
114
115
  athena/types/folder_response.py,sha256=pKIzL_4PpNweVrfvMdJPsToaaxZqMuW8071zJ40-Xow,811
115
116
  athena/types/general_agent_config.py,sha256=rLajGpiUp4sFQj4lusnY8T8VPmXynQjR4VIO3PQ4KEM,903
@@ -141,10 +142,10 @@ athena/types/text_content.py,sha256=tcVCPj3tHh5zQcTElr2tdCIjjfx3ZI63rKIlaG8vo64,
141
142
  athena/types/text_format_model.py,sha256=hV9lpxsS8d206g5SGVbqcFkWz9ILdPBb2jBPNMuwo-s,1032
142
143
  athena/types/textrotation.py,sha256=wIAadKprL9_UMxUM_V3EJ9XOgC_Rz6otcrnfLXJdqX8,141
143
144
  athena/types/theme_color.py,sha256=pSt2QC4JB8qxRhUZX8Hgz_2eEX-ou_lWExIIHcjxZ-A,558
144
- athena/types/thread_status_response_out.py,sha256=UuSAvs9woL1i8RwvVRKsFUufN4A9jO3jsV47YMckvQU,1219
145
+ athena/types/thread_status_response_out.py,sha256=g8OA1dt4u_h1gBd_8NGqiGL-7-zr6rDwYxpzW5VgqHI,1344
145
146
  athena/types/type.py,sha256=Gvs56nvBMPcQpOZkfPocGNNb7S05PuINianbT309QAQ,146
146
147
  athena/types/wrap_strategy.py,sha256=ykPFCr91HGvzIk9BRppW_UBWoUamFxDhLO_ETzQgVKI,164
147
148
  athena/version.py,sha256=tnXYUugs9zF_pkVdem-QBorKSuhEOOuetkR57dADDxE,86
148
- athena_intelligence-0.1.260.dist-info/METADATA,sha256=qIAZEKixtq5XEzbdvwn43OjS27nX73_KQzyKnqIrxfQ,5440
149
- athena_intelligence-0.1.260.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
150
- athena_intelligence-0.1.260.dist-info/RECORD,,
149
+ athena_intelligence-0.1.303.dist-info/METADATA,sha256=vyJXTNR4L2CWg1qjKUDzD8UpC4jvhPE-ebxguny5zjo,5440
150
+ athena_intelligence-0.1.303.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
151
+ athena_intelligence-0.1.303.dist-info/RECORD,,
@@ -1,24 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
-
8
-
9
- class DocumentChunk(UniversalBaseModel):
10
- """
11
- A document chunk.
12
- """
13
-
14
- metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None
15
- page_content: str
16
-
17
- if IS_PYDANTIC_V2:
18
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
19
- else:
20
-
21
- class Config:
22
- frozen = True
23
- smart_union = True
24
- extra = pydantic.Extra.allow
@@ -1,24 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .document_chunk import DocumentChunk
8
-
9
-
10
- class FileChunkRequestOut(UniversalBaseModel):
11
- """
12
- Response model for a file chunk.
13
- """
14
-
15
- chunks: typing.Dict[str, typing.List[DocumentChunk]]
16
-
17
- if IS_PYDANTIC_V2:
18
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
19
- else:
20
-
21
- class Config:
22
- frozen = True
23
- smart_union = True
24
- extra = pydantic.Extra.allow