athena-intelligence 0.1.32__tar.gz → 0.1.33__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.32 → athena_intelligence-0.1.33}/PKG-INFO +1 -1
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/pyproject.toml +1 -1
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/core/client_wrapper.py +1 -1
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/message/client.py +4 -4
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/types/model.py +8 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/README.md +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/__init__.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/base_client.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/client.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/core/__init__.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/core/api_error.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/core/datetime_utils.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/core/file.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/core/http_client.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/core/jsonable_encoder.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/core/remove_none_from_dict.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/core/request_options.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/dataset/__init__.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/dataset/client.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/environment.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/errors/__init__.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/errors/unprocessable_entity_error.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/message/__init__.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/polling_message_client.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/py.typed +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/query/__init__.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/query/client.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/report/__init__.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/report/client.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/snippet/__init__.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/snippet/client.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/types/__init__.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/types/dataset.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/types/get_datasets_response.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/types/get_snippets_response.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/types/http_validation_error.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/types/message_out.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/types/message_out_dto.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/types/report.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/types/snippet.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/types/sql_results.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/types/status_enum.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/types/tools.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/types/validation_error.py +0 -0
- {athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/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.33",
|
20
20
|
}
|
21
21
|
headers["X-API-KEY"] = self.api_key
|
22
22
|
return headers
|
@@ -61,8 +61,8 @@ class MessageClient:
|
|
61
61
|
)
|
62
62
|
client.message.submit(
|
63
63
|
content="visit www.athenaintelligence.ai and summarize the website in one paragraph",
|
64
|
-
model=Model.
|
65
|
-
tools=[Tools.SEARCH, Tools.BROWSE
|
64
|
+
model=Model.GPT_35_TURBO,
|
65
|
+
tools=[Tools.SEARCH, Tools.BROWSE],
|
66
66
|
)
|
67
67
|
"""
|
68
68
|
_request: typing.Dict[str, typing.Any] = {"content": content}
|
@@ -193,8 +193,8 @@ class AsyncMessageClient:
|
|
193
193
|
)
|
194
194
|
await client.message.submit(
|
195
195
|
content="visit www.athenaintelligence.ai and summarize the website in one paragraph",
|
196
|
-
model=Model.
|
197
|
-
tools=[Tools.SEARCH, Tools.BROWSE
|
196
|
+
model=Model.GPT_35_TURBO,
|
197
|
+
tools=[Tools.SEARCH, Tools.BROWSE],
|
198
198
|
)
|
199
199
|
"""
|
200
200
|
_request: typing.Dict[str, typing.Any] = {"content": content}
|
@@ -20,6 +20,8 @@ class Model(str, enum.Enum):
|
|
20
20
|
CLAUDE_3_OPUS_20240229 = "claude-3-opus-20240229"
|
21
21
|
CLAUDE_3_SONNET_20240229 = "claude-3-sonnet-20240229"
|
22
22
|
CLAUDE_3_HAIKU_20240307 = "claude-3-haiku-20240307"
|
23
|
+
GOOGLE_GEMINI_10_PRO_LATEST = "google-gemini-1.0-pro-latest"
|
24
|
+
DATABRICKS_DBRX = "databricks-dbrx"
|
23
25
|
|
24
26
|
def visit(
|
25
27
|
self,
|
@@ -32,6 +34,8 @@ class Model(str, enum.Enum):
|
|
32
34
|
claude_3_opus_20240229: typing.Callable[[], T_Result],
|
33
35
|
claude_3_sonnet_20240229: typing.Callable[[], T_Result],
|
34
36
|
claude_3_haiku_20240307: typing.Callable[[], T_Result],
|
37
|
+
google_gemini_10_pro_latest: typing.Callable[[], T_Result],
|
38
|
+
databricks_dbrx: typing.Callable[[], T_Result],
|
35
39
|
) -> T_Result:
|
36
40
|
if self is Model.GPT_35_TURBO:
|
37
41
|
return gpt_35_turbo()
|
@@ -51,3 +55,7 @@ class Model(str, enum.Enum):
|
|
51
55
|
return claude_3_sonnet_20240229()
|
52
56
|
if self is Model.CLAUDE_3_HAIKU_20240307:
|
53
57
|
return claude_3_haiku_20240307()
|
58
|
+
if self is Model.GOOGLE_GEMINI_10_PRO_LATEST:
|
59
|
+
return google_gemini_10_pro_latest()
|
60
|
+
if self is Model.DATABRICKS_DBRX:
|
61
|
+
return databricks_dbrx()
|
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.32 → athena_intelligence-0.1.33}/src/athena/core/jsonable_encoder.py
RENAMED
File without changes
|
{athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/core/remove_none_from_dict.py
RENAMED
File without changes
|
{athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/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
|
{athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/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.32 → athena_intelligence-0.1.33}/src/athena/types/get_datasets_response.py
RENAMED
File without changes
|
{athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/types/get_snippets_response.py
RENAMED
File without changes
|
{athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/src/athena/types/http_validation_error.py
RENAMED
File without changes
|
File without changes
|
{athena_intelligence-0.1.32 → athena_intelligence-0.1.33}/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.32 → athena_intelligence-0.1.33}/src/athena/types/validation_error.py
RENAMED
File without changes
|
File without changes
|