athena-intelligence 0.1.32__tar.gz → 0.1.34__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 (45) hide show
  1. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/PKG-INFO +1 -1
  2. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/pyproject.toml +1 -1
  3. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/core/client_wrapper.py +1 -1
  4. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/message/client.py +4 -4
  5. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/types/model.py +8 -0
  6. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/types/tools.py +4 -0
  7. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/README.md +0 -0
  8. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/__init__.py +0 -0
  9. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/base_client.py +0 -0
  10. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/client.py +0 -0
  11. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/core/__init__.py +0 -0
  12. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/core/api_error.py +0 -0
  13. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/core/datetime_utils.py +0 -0
  14. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/core/file.py +0 -0
  15. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/core/http_client.py +0 -0
  16. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/core/jsonable_encoder.py +0 -0
  17. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/core/remove_none_from_dict.py +0 -0
  18. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/core/request_options.py +0 -0
  19. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/dataset/__init__.py +0 -0
  20. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/dataset/client.py +0 -0
  21. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/environment.py +0 -0
  22. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/errors/__init__.py +0 -0
  23. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/errors/unprocessable_entity_error.py +0 -0
  24. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/message/__init__.py +0 -0
  25. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/polling_message_client.py +0 -0
  26. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/py.typed +0 -0
  27. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/query/__init__.py +0 -0
  28. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/query/client.py +0 -0
  29. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/report/__init__.py +0 -0
  30. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/report/client.py +0 -0
  31. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/snippet/__init__.py +0 -0
  32. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/snippet/client.py +0 -0
  33. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/types/__init__.py +0 -0
  34. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/types/dataset.py +0 -0
  35. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/types/get_datasets_response.py +0 -0
  36. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/types/get_snippets_response.py +0 -0
  37. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/types/http_validation_error.py +0 -0
  38. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/types/message_out.py +0 -0
  39. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/types/message_out_dto.py +0 -0
  40. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/types/report.py +0 -0
  41. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/types/snippet.py +0 -0
  42. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/types/sql_results.py +0 -0
  43. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/types/status_enum.py +0 -0
  44. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/src/athena/types/validation_error.py +0 -0
  45. {athena_intelligence-0.1.32 → athena_intelligence-0.1.34}/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.32
3
+ Version: 0.1.34
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.32"
3
+ version = "0.1.34"
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.32",
19
+ "X-Fern-SDK-Version": "0.1.34",
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}
@@ -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()
@@ -13,6 +13,7 @@ class Tools(str, enum.Enum):
13
13
 
14
14
  SEARCH = "search"
15
15
  BROWSE = "browse"
16
+ WIKIPEDIA = "wikipedia"
16
17
  DATABASE_METADATA = "database_metadata"
17
18
  QUERY = "query"
18
19
  CHART = "chart"
@@ -23,6 +24,7 @@ class Tools(str, enum.Enum):
23
24
  self,
24
25
  search: typing.Callable[[], T_Result],
25
26
  browse: typing.Callable[[], T_Result],
27
+ wikipedia: typing.Callable[[], T_Result],
26
28
  database_metadata: typing.Callable[[], T_Result],
27
29
  query: typing.Callable[[], T_Result],
28
30
  chart: typing.Callable[[], T_Result],
@@ -33,6 +35,8 @@ class Tools(str, enum.Enum):
33
35
  return search()
34
36
  if self is Tools.BROWSE:
35
37
  return browse()
38
+ if self is Tools.WIKIPEDIA:
39
+ return wikipedia()
36
40
  if self is Tools.DATABASE_METADATA:
37
41
  return database_metadata()
38
42
  if self is Tools.QUERY: