athena-intelligence 0.1.31__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.
Files changed (46) hide show
  1. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/PKG-INFO +1 -1
  2. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/pyproject.toml +1 -1
  3. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/core/client_wrapper.py +1 -1
  4. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/message/client.py +4 -4
  5. athena_intelligence-0.1.33/src/athena/types/model.py +61 -0
  6. athena_intelligence-0.1.31/src/athena/types/model.py +0 -37
  7. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/README.md +0 -0
  8. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/__init__.py +0 -0
  9. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/base_client.py +0 -0
  10. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/client.py +0 -0
  11. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/core/__init__.py +0 -0
  12. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/core/api_error.py +0 -0
  13. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/core/datetime_utils.py +0 -0
  14. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/core/file.py +0 -0
  15. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/core/http_client.py +0 -0
  16. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/core/jsonable_encoder.py +0 -0
  17. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/core/remove_none_from_dict.py +0 -0
  18. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/core/request_options.py +0 -0
  19. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/dataset/__init__.py +0 -0
  20. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/dataset/client.py +0 -0
  21. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/environment.py +0 -0
  22. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/errors/__init__.py +0 -0
  23. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/errors/unprocessable_entity_error.py +0 -0
  24. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/message/__init__.py +0 -0
  25. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/polling_message_client.py +0 -0
  26. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/py.typed +0 -0
  27. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/query/__init__.py +0 -0
  28. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/query/client.py +0 -0
  29. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/report/__init__.py +0 -0
  30. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/report/client.py +0 -0
  31. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/snippet/__init__.py +0 -0
  32. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/snippet/client.py +0 -0
  33. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/types/__init__.py +0 -0
  34. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/types/dataset.py +0 -0
  35. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/types/get_datasets_response.py +0 -0
  36. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/types/get_snippets_response.py +0 -0
  37. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/types/http_validation_error.py +0 -0
  38. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/types/message_out.py +0 -0
  39. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/types/message_out_dto.py +0 -0
  40. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/types/report.py +0 -0
  41. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/types/snippet.py +0 -0
  42. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/types/sql_results.py +0 -0
  43. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/types/status_enum.py +0 -0
  44. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/types/tools.py +0 -0
  45. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/types/validation_error.py +0 -0
  46. {athena_intelligence-0.1.31 → athena_intelligence-0.1.33}/src/athena/types/validation_error_loc_item.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: athena-intelligence
3
- Version: 0.1.31
3
+ Version: 0.1.33
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "athena-intelligence"
3
- version = "0.1.31"
3
+ version = "0.1.33"
4
4
  description = ""
5
5
  readme = "README.md"
6
6
  authors = []
@@ -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.31",
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.GPT_3_5_TURBO,
65
- tools=[Tools.SEARCH, Tools.BROWSE, Tools.SEARCH],
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.GPT_3_5_TURBO,
197
- tools=[Tools.SEARCH, Tools.BROWSE, Tools.SEARCH],
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}
@@ -0,0 +1,61 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import enum
4
+ import typing
5
+
6
+ T_Result = typing.TypeVar("T_Result")
7
+
8
+
9
+ class Model(str, enum.Enum):
10
+ """
11
+ An enumeration.
12
+ """
13
+
14
+ GPT_35_TURBO = "gpt-3.5-turbo"
15
+ GPT_4_TURBO_PREVIEW = "gpt-4-turbo-preview"
16
+ GPT_4 = "gpt-4"
17
+ MIXTRAL_SMALL_8_X_7_B_0211 = "mixtral-small-8x7b-0211"
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"
23
+ GOOGLE_GEMINI_10_PRO_LATEST = "google-gemini-1.0-pro-latest"
24
+ DATABRICKS_DBRX = "databricks-dbrx"
25
+
26
+ def visit(
27
+ self,
28
+ gpt_35_turbo: typing.Callable[[], T_Result],
29
+ gpt_4_turbo_preview: typing.Callable[[], T_Result],
30
+ gpt_4: typing.Callable[[], T_Result],
31
+ mixtral_small_8_x_7_b_0211: typing.Callable[[], T_Result],
32
+ mistral_large_0224: typing.Callable[[], T_Result],
33
+ llama_v_270_b_chat: typing.Callable[[], T_Result],
34
+ claude_3_opus_20240229: typing.Callable[[], T_Result],
35
+ claude_3_sonnet_20240229: typing.Callable[[], T_Result],
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],
39
+ ) -> T_Result:
40
+ if self is Model.GPT_35_TURBO:
41
+ return gpt_35_turbo()
42
+ if self is Model.GPT_4_TURBO_PREVIEW:
43
+ return gpt_4_turbo_preview()
44
+ if self is Model.GPT_4:
45
+ return gpt_4()
46
+ if self is Model.MIXTRAL_SMALL_8_X_7_B_0211:
47
+ return mixtral_small_8_x_7_b_0211()
48
+ if self is Model.MISTRAL_LARGE_0224:
49
+ return mistral_large_0224()
50
+ if self is Model.LLAMA_V_270_B_CHAT:
51
+ return llama_v_270_b_chat()
52
+ if self is Model.CLAUDE_3_OPUS_20240229:
53
+ return claude_3_opus_20240229()
54
+ if self is Model.CLAUDE_3_SONNET_20240229:
55
+ return claude_3_sonnet_20240229()
56
+ if self is Model.CLAUDE_3_HAIKU_20240307:
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()
@@ -1,37 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import enum
4
- import typing
5
-
6
- T_Result = typing.TypeVar("T_Result")
7
-
8
-
9
- class Model(str, enum.Enum):
10
- """
11
- An enumeration.
12
- """
13
-
14
- GPT_35_TURBO = "gpt-3.5-turbo"
15
- GPT_4_TURBO_PREVIEW = "gpt-4-turbo-preview"
16
- GPT_4 = "gpt-4"
17
- MIXTRAL_SMALL_8_X_7_B_0211 = "mixtral-small-8x7b-0211"
18
- MISTRAL_LARGE_0224 = "mistral-large-0224"
19
-
20
- def visit(
21
- self,
22
- gpt_35_turbo: typing.Callable[[], T_Result],
23
- gpt_4_turbo_preview: typing.Callable[[], T_Result],
24
- gpt_4: typing.Callable[[], T_Result],
25
- mixtral_small_8_x_7_b_0211: typing.Callable[[], T_Result],
26
- mistral_large_0224: typing.Callable[[], T_Result],
27
- ) -> T_Result:
28
- if self is Model.GPT_35_TURBO:
29
- return gpt_35_turbo()
30
- if self is Model.GPT_4_TURBO_PREVIEW:
31
- return gpt_4_turbo_preview()
32
- if self is Model.GPT_4:
33
- return gpt_4()
34
- if self is Model.MIXTRAL_SMALL_8_X_7_B_0211:
35
- return mixtral_small_8_x_7_b_0211()
36
- if self is Model.MISTRAL_LARGE_0224:
37
- return mistral_large_0224()