athena-intelligence 0.1.59__py3-none-any.whl → 0.1.60__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/core/client_wrapper.py +1 -1
- athena/types/llm_model.py +4 -0
- athena/types/model.py +4 -0
- {athena_intelligence-0.1.59.dist-info → athena_intelligence-0.1.60.dist-info}/METADATA +1 -1
- {athena_intelligence-0.1.59.dist-info → athena_intelligence-0.1.60.dist-info}/RECORD +6 -6
- {athena_intelligence-0.1.59.dist-info → athena_intelligence-0.1.60.dist-info}/WHEEL +0 -0
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.60",
|
21
21
|
}
|
22
22
|
headers["X-API-KEY"] = self.api_key
|
23
23
|
return headers
|
athena/types/llm_model.py
CHANGED
@@ -14,6 +14,7 @@ class LlmModel(str, enum.Enum):
|
|
14
14
|
GPT_35_TURBO = "gpt-3.5-turbo"
|
15
15
|
GPT_4_TURBO = "gpt-4-turbo"
|
16
16
|
GPT_4_TURBO_PREVIEW = "gpt-4-turbo-preview"
|
17
|
+
GPT_4_O = "gpt-4o"
|
17
18
|
GPT_4 = "gpt-4"
|
18
19
|
MIXTRAL_SMALL_8_X_7_B_0211 = "mixtral-small-8x7b-0211"
|
19
20
|
MISTRAL_LARGE_0224 = "mistral-large-0224"
|
@@ -36,6 +37,7 @@ class LlmModel(str, enum.Enum):
|
|
36
37
|
gpt_35_turbo: typing.Callable[[], T_Result],
|
37
38
|
gpt_4_turbo: typing.Callable[[], T_Result],
|
38
39
|
gpt_4_turbo_preview: typing.Callable[[], T_Result],
|
40
|
+
gpt_4_o: typing.Callable[[], T_Result],
|
39
41
|
gpt_4: typing.Callable[[], T_Result],
|
40
42
|
mixtral_small_8_x_7_b_0211: typing.Callable[[], T_Result],
|
41
43
|
mistral_large_0224: typing.Callable[[], T_Result],
|
@@ -59,6 +61,8 @@ class LlmModel(str, enum.Enum):
|
|
59
61
|
return gpt_4_turbo()
|
60
62
|
if self is LlmModel.GPT_4_TURBO_PREVIEW:
|
61
63
|
return gpt_4_turbo_preview()
|
64
|
+
if self is LlmModel.GPT_4_O:
|
65
|
+
return gpt_4_o()
|
62
66
|
if self is LlmModel.GPT_4:
|
63
67
|
return gpt_4()
|
64
68
|
if self is LlmModel.MIXTRAL_SMALL_8_X_7_B_0211:
|
athena/types/model.py
CHANGED
@@ -15,6 +15,7 @@ class Model(str, enum.Enum):
|
|
15
15
|
GPT_4_TURBO = "gpt-4-turbo"
|
16
16
|
GPT_4_TURBO_PREVIEW = "gpt-4-turbo-preview"
|
17
17
|
GPT_4 = "gpt-4"
|
18
|
+
GPT_4_O = "gpt-4o"
|
18
19
|
MIXTRAL_SMALL_8_X_7_B_0211 = "mixtral-small-8x7b-0211"
|
19
20
|
MISTRAL_LARGE_0224 = "mistral-large-0224"
|
20
21
|
MIXTRAL_8_X_22_B_INSTRUCT = "mixtral-8x22b-instruct"
|
@@ -32,6 +33,7 @@ class Model(str, enum.Enum):
|
|
32
33
|
gpt_4_turbo: typing.Callable[[], T_Result],
|
33
34
|
gpt_4_turbo_preview: typing.Callable[[], T_Result],
|
34
35
|
gpt_4: typing.Callable[[], T_Result],
|
36
|
+
gpt_4_o: typing.Callable[[], T_Result],
|
35
37
|
mixtral_small_8_x_7_b_0211: typing.Callable[[], T_Result],
|
36
38
|
mistral_large_0224: typing.Callable[[], T_Result],
|
37
39
|
mixtral_8_x_22_b_instruct: typing.Callable[[], T_Result],
|
@@ -51,6 +53,8 @@ class Model(str, enum.Enum):
|
|
51
53
|
return gpt_4_turbo_preview()
|
52
54
|
if self is Model.GPT_4:
|
53
55
|
return gpt_4()
|
56
|
+
if self is Model.GPT_4_O:
|
57
|
+
return gpt_4_o()
|
54
58
|
if self is Model.MIXTRAL_SMALL_8_X_7_B_0211:
|
55
59
|
return mixtral_small_8_x_7_b_0211()
|
56
60
|
if self is Model.MISTRAL_LARGE_0224:
|
@@ -5,7 +5,7 @@ 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=6WS6Ny57Y_HbybCSpga92o9T6LSQi-UajT7-6BP5IFQ,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
|
@@ -43,11 +43,11 @@ athena/types/get_snippet_out.py,sha256=AkkF6YJcYysiQVnOvhRerHMsHkBTu1BP9tYZC8wET
|
|
43
43
|
athena/types/get_snippets_response.py,sha256=pgwYqmddU5shKeVaE4RQSFN9SLsVAeQp3sqIkQlvzoU,969
|
44
44
|
athena/types/http_validation_error.py,sha256=u4t-1U0DI0u3Zj_Oz7AmGmpL4sqBzoS_5nZHImWQbmM,953
|
45
45
|
athena/types/langchain_documents_request_out.py,sha256=O1v7mcgt0ryaY4e8YODpAHYJKyUY7jYFBc0s93A1sgo,892
|
46
|
-
athena/types/llm_model.py,sha256=
|
46
|
+
athena/types/llm_model.py,sha256=bkxs5YcNXyv7YxIkKQIxEGMjRUVkWku5VEnQhHklQAE,4238
|
47
47
|
athena/types/map_reduce_chain_out.py,sha256=6R-fuxHaww60dhUAuwrdZPp5lV-DyFZh9SGLCc6fp8E,950
|
48
48
|
athena/types/message_out.py,sha256=HJZizmFH7crD3OHm0fdTy3189F2gv5qR8aaUbTTfWFI,845
|
49
49
|
athena/types/message_out_dto.py,sha256=1G8srlYaIYmoYRstLKm97xZGxK87DK57CiO9hYnt3gQ,1031
|
50
|
-
athena/types/model.py,sha256=
|
50
|
+
athena/types/model.py,sha256=K2OAggAs9-ljK2TSr1XrlnmfRaLyH374wWrIJGcyU0s,3125
|
51
51
|
athena/types/report.py,sha256=km2CgCbHBXQQbPai1y5sGlsQpO7WAlUVvdsRC_7f4KI,926
|
52
52
|
athena/types/snippet.py,sha256=Mrc92_hBABJQjCSToAA-FgwhvO-Jn8Kjm-lYI6aMlUY,1106
|
53
53
|
athena/types/sql_results.py,sha256=ExPFds4vZ425AxGt0jhykbPhOjkplZPGQwVKb0LHg_g,880
|
@@ -58,6 +58,6 @@ athena/types/url_result.py,sha256=lIgnQeyKy_UfFFPe7HMrrRzb-SK089RxcKcKN9Q3DNQ,87
|
|
58
58
|
athena/types/validation_error.py,sha256=yqombbKLBSzTPFn6CJH_hbo7tpS68T3JvMdd7kBtO1g,972
|
59
59
|
athena/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
|
60
60
|
athena/version.py,sha256=8aYAOJtVLaJLpRp6mTiEIhnl8gXA7yE0aDtZ-3mKQ4k,87
|
61
|
-
athena_intelligence-0.1.
|
62
|
-
athena_intelligence-0.1.
|
63
|
-
athena_intelligence-0.1.
|
61
|
+
athena_intelligence-0.1.60.dist-info/METADATA,sha256=f4JcHRM52V-cstpugvqntPA7g-T_9pQ2PxQhrsqRNNc,4738
|
62
|
+
athena_intelligence-0.1.60.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
63
|
+
athena_intelligence-0.1.60.dist-info/RECORD,,
|
File without changes
|