athena-intelligence 0.1.30__tar.gz → 0.1.32__tar.gz
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_intelligence-0.1.30 → athena_intelligence-0.1.32}/PKG-INFO +1 -1
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/pyproject.toml +1 -1
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/core/client_wrapper.py +1 -1
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/model.py +16 -4
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/README.md +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/__init__.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/base_client.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/client.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/core/__init__.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/core/api_error.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/core/datetime_utils.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/core/file.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/core/http_client.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/core/jsonable_encoder.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/core/remove_none_from_dict.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/core/request_options.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/dataset/__init__.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/dataset/client.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/environment.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/errors/__init__.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/errors/unprocessable_entity_error.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/message/__init__.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/message/client.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/polling_message_client.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/py.typed +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/query/__init__.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/query/client.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/report/__init__.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/report/client.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/snippet/__init__.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/snippet/client.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/__init__.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/dataset.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/get_datasets_response.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/get_snippets_response.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/http_validation_error.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/message_out.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/message_out_dto.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/report.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/snippet.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/sql_results.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/status_enum.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/tools.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/validation_error.py +0 -0
- {athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/validation_error_loc_item.py +0 -0
@@ -16,7 +16,7 @@ class BaseClientWrapper:
|
|
16
16
|
headers: typing.Dict[str, str] = {
|
17
17
|
"X-Fern-Language": "Python",
|
18
18
|
"X-Fern-SDK-Name": "athena-intelligence",
|
19
|
-
"X-Fern-SDK-Version": "0.1.
|
19
|
+
"X-Fern-SDK-Version": "0.1.32",
|
20
20
|
}
|
21
21
|
headers["X-API-KEY"] = self.api_key
|
22
22
|
return headers
|
@@ -14,18 +14,24 @@ class Model(str, enum.Enum):
|
|
14
14
|
GPT_35_TURBO = "gpt-3.5-turbo"
|
15
15
|
GPT_4_TURBO_PREVIEW = "gpt-4-turbo-preview"
|
16
16
|
GPT_4 = "gpt-4"
|
17
|
-
GPT_432_K = "gpt-4-32k"
|
18
17
|
MIXTRAL_SMALL_8_X_7_B_0211 = "mixtral-small-8x7b-0211"
|
19
18
|
MISTRAL_LARGE_0224 = "mistral-large-0224"
|
19
|
+
LLAMA_V_270_B_CHAT = "llama-v2-70b-chat"
|
20
|
+
CLAUDE_3_OPUS_20240229 = "claude-3-opus-20240229"
|
21
|
+
CLAUDE_3_SONNET_20240229 = "claude-3-sonnet-20240229"
|
22
|
+
CLAUDE_3_HAIKU_20240307 = "claude-3-haiku-20240307"
|
20
23
|
|
21
24
|
def visit(
|
22
25
|
self,
|
23
26
|
gpt_35_turbo: typing.Callable[[], T_Result],
|
24
27
|
gpt_4_turbo_preview: typing.Callable[[], T_Result],
|
25
28
|
gpt_4: typing.Callable[[], T_Result],
|
26
|
-
gpt_432_k: typing.Callable[[], T_Result],
|
27
29
|
mixtral_small_8_x_7_b_0211: typing.Callable[[], T_Result],
|
28
30
|
mistral_large_0224: typing.Callable[[], T_Result],
|
31
|
+
llama_v_270_b_chat: typing.Callable[[], T_Result],
|
32
|
+
claude_3_opus_20240229: typing.Callable[[], T_Result],
|
33
|
+
claude_3_sonnet_20240229: typing.Callable[[], T_Result],
|
34
|
+
claude_3_haiku_20240307: typing.Callable[[], T_Result],
|
29
35
|
) -> T_Result:
|
30
36
|
if self is Model.GPT_35_TURBO:
|
31
37
|
return gpt_35_turbo()
|
@@ -33,9 +39,15 @@ class Model(str, enum.Enum):
|
|
33
39
|
return gpt_4_turbo_preview()
|
34
40
|
if self is Model.GPT_4:
|
35
41
|
return gpt_4()
|
36
|
-
if self is Model.GPT_432_K:
|
37
|
-
return gpt_432_k()
|
38
42
|
if self is Model.MIXTRAL_SMALL_8_X_7_B_0211:
|
39
43
|
return mixtral_small_8_x_7_b_0211()
|
40
44
|
if self is Model.MISTRAL_LARGE_0224:
|
41
45
|
return mistral_large_0224()
|
46
|
+
if self is Model.LLAMA_V_270_B_CHAT:
|
47
|
+
return llama_v_270_b_chat()
|
48
|
+
if self is Model.CLAUDE_3_OPUS_20240229:
|
49
|
+
return claude_3_opus_20240229()
|
50
|
+
if self is Model.CLAUDE_3_SONNET_20240229:
|
51
|
+
return claude_3_sonnet_20240229()
|
52
|
+
if self is Model.CLAUDE_3_HAIKU_20240307:
|
53
|
+
return claude_3_haiku_20240307()
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/core/jsonable_encoder.py
RENAMED
File without changes
|
{athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/core/remove_none_from_dict.py
RENAMED
File without changes
|
{athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/core/request_options.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/polling_message_client.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/get_datasets_response.py
RENAMED
File without changes
|
{athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/get_snippets_response.py
RENAMED
File without changes
|
{athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/http_validation_error.py
RENAMED
File without changes
|
File without changes
|
{athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/message_out_dto.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{athena_intelligence-0.1.30 → athena_intelligence-0.1.32}/src/athena/types/validation_error.py
RENAMED
File without changes
|
File without changes
|