athena-intelligence 0.1.52__py3-none-any.whl → 0.1.53__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/chain/client.py +8 -9
- athena/core/client_wrapper.py +1 -1
- {athena_intelligence-0.1.52.dist-info → athena_intelligence-0.1.53.dist-info}/METADATA +1 -1
- {athena_intelligence-0.1.52.dist-info → athena_intelligence-0.1.53.dist-info}/RECORD +5 -5
- {athena_intelligence-0.1.52.dist-info → athena_intelligence-0.1.53.dist-info}/WHEEL +0 -0
athena/chain/client.py
CHANGED
@@ -16,7 +16,6 @@ from ..types.http_validation_error import HttpValidationError
|
|
16
16
|
from ..types.llm_model import LlmModel
|
17
17
|
from ..types.map_reduce_chain_out import MapReduceChainOut
|
18
18
|
from ..types.structured_parse_result import StructuredParseResult
|
19
|
-
from ..types.tool_models import ToolModels
|
20
19
|
|
21
20
|
# this is used as the default value for optional parameters
|
22
21
|
OMIT = typing.cast(typing.Any, ...)
|
@@ -98,7 +97,7 @@ class ChainClient:
|
|
98
97
|
self,
|
99
98
|
*,
|
100
99
|
documents: typing.Sequence[Document],
|
101
|
-
model:
|
100
|
+
model: LlmModel,
|
102
101
|
operator_prompt: str,
|
103
102
|
reducer_prompt: str,
|
104
103
|
input: str,
|
@@ -108,7 +107,7 @@ class ChainClient:
|
|
108
107
|
Parameters:
|
109
108
|
- documents: typing.Sequence[Document].
|
110
109
|
|
111
|
-
- model:
|
110
|
+
- model: LlmModel.
|
112
111
|
|
113
112
|
- operator_prompt: str.
|
114
113
|
|
@@ -118,7 +117,7 @@ class ChainClient:
|
|
118
117
|
|
119
118
|
- request_options: typing.Optional[RequestOptions]. Request-specific configuration.
|
120
119
|
---
|
121
|
-
from athena import Document,
|
120
|
+
from athena import Document, LlmModel
|
122
121
|
from athena.client import Athena
|
123
122
|
|
124
123
|
client = Athena(
|
@@ -130,7 +129,7 @@ class ChainClient:
|
|
130
129
|
page_content="Athena is an AI-native analytics platform and artificial employee built to accelerate analytics workflows by offering enterprise teams co-pilot and auto-pilot modes. Athena learns your workflow as a co-pilot, allowing you to hand over controls to her for autonomous execution with confidence.",
|
131
130
|
)
|
132
131
|
],
|
133
|
-
model=
|
132
|
+
model=LlmModel.MISTRAL_LARGE_0224,
|
134
133
|
operator_prompt="summarize the content",
|
135
134
|
reducer_prompt="Combine these summaries",
|
136
135
|
input="return a summary in a single sentence",
|
@@ -267,7 +266,7 @@ class AsyncChainClient:
|
|
267
266
|
self,
|
268
267
|
*,
|
269
268
|
documents: typing.Sequence[Document],
|
270
|
-
model:
|
269
|
+
model: LlmModel,
|
271
270
|
operator_prompt: str,
|
272
271
|
reducer_prompt: str,
|
273
272
|
input: str,
|
@@ -277,7 +276,7 @@ class AsyncChainClient:
|
|
277
276
|
Parameters:
|
278
277
|
- documents: typing.Sequence[Document].
|
279
278
|
|
280
|
-
- model:
|
279
|
+
- model: LlmModel.
|
281
280
|
|
282
281
|
- operator_prompt: str.
|
283
282
|
|
@@ -287,7 +286,7 @@ class AsyncChainClient:
|
|
287
286
|
|
288
287
|
- request_options: typing.Optional[RequestOptions]. Request-specific configuration.
|
289
288
|
---
|
290
|
-
from athena import Document,
|
289
|
+
from athena import Document, LlmModel
|
291
290
|
from athena.client import AsyncAthena
|
292
291
|
|
293
292
|
client = AsyncAthena(
|
@@ -299,7 +298,7 @@ class AsyncChainClient:
|
|
299
298
|
page_content="Athena is an AI-native analytics platform and artificial employee built to accelerate analytics workflows by offering enterprise teams co-pilot and auto-pilot modes. Athena learns your workflow as a co-pilot, allowing you to hand over controls to her for autonomous execution with confidence.",
|
300
299
|
)
|
301
300
|
],
|
302
|
-
model=
|
301
|
+
model=LlmModel.MISTRAL_LARGE_0224,
|
303
302
|
operator_prompt="summarize the content",
|
304
303
|
reducer_prompt="Combine these summaries",
|
305
304
|
input="return a summary in a single sentence",
|
athena/core/client_wrapper.py
CHANGED
@@ -17,7 +17,7 @@ class BaseClientWrapper:
|
|
17
17
|
headers: typing.Dict[str, str] = {
|
18
18
|
"X-Fern-Language": "Python",
|
19
19
|
"X-Fern-SDK-Name": "athena-intelligence",
|
20
|
-
"X-Fern-SDK-Version": "0.1.
|
20
|
+
"X-Fern-SDK-Version": "0.1.53",
|
21
21
|
}
|
22
22
|
headers["X-API-KEY"] = self.api_key
|
23
23
|
return headers
|
@@ -1,11 +1,11 @@
|
|
1
1
|
athena/__init__.py,sha256=PC9w42UGxMaPyahJJmpdqFI2bHiO_UCwKzb3qDp-eNA,1595
|
2
2
|
athena/base_client.py,sha256=aniFuLr3wzh9PChzWZrkKV3ivSjOnS58p9g11dMXzgI,6860
|
3
3
|
athena/chain/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
4
|
-
athena/chain/client.py,sha256=
|
4
|
+
athena/chain/client.py,sha256=2vSu7d4RvgbGc7jbWpKkCs5dU-ryCIJ1i0I1EsoCEdQ,16177
|
5
5
|
athena/client.py,sha256=8QypiDlbZ0C1YsJh6GzhylLVCZXDQc1MCJTURo2_vvI,3576
|
6
6
|
athena/core/__init__.py,sha256=1pNSKkwyQvMl_F0wohBqmoQAITptg3zlvCwsoSSzy7c,853
|
7
7
|
athena/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
8
|
-
athena/core/client_wrapper.py,sha256=
|
8
|
+
athena/core/client_wrapper.py,sha256=k1GLaDbWSvPxjvxJi4BAD9ik3hGxVf0o_vAI0F7AozM,1495
|
9
9
|
athena/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
10
10
|
athena/core/file.py,sha256=sy1RUGZ3aJYuw998bZytxxo6QdgKmlnlgBaMvwEKCGg,1480
|
11
11
|
athena/core/http_client.py,sha256=5ok6hqgZDJhg57EHvMnr0BBaHdG50QxFPKaCZ9aVWTc,5059
|
@@ -61,6 +61,6 @@ athena/types/url_result.py,sha256=lIgnQeyKy_UfFFPe7HMrrRzb-SK089RxcKcKN9Q3DNQ,87
|
|
61
61
|
athena/types/validation_error.py,sha256=yqombbKLBSzTPFn6CJH_hbo7tpS68T3JvMdd7kBtO1g,972
|
62
62
|
athena/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
|
63
63
|
athena/version.py,sha256=8aYAOJtVLaJLpRp6mTiEIhnl8gXA7yE0aDtZ-3mKQ4k,87
|
64
|
-
athena_intelligence-0.1.
|
65
|
-
athena_intelligence-0.1.
|
66
|
-
athena_intelligence-0.1.
|
64
|
+
athena_intelligence-0.1.53.dist-info/METADATA,sha256=OcBG4Yy1co-2Em2MrnPWmfG4JYhkehndzWyVmHTr-m4,4738
|
65
|
+
athena_intelligence-0.1.53.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
66
|
+
athena_intelligence-0.1.53.dist-info/RECORD,,
|
File without changes
|