athena-intelligence 0.1.51__tar.gz → 0.1.53__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 (66) hide show
  1. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/PKG-INFO +1 -1
  2. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/pyproject.toml +1 -1
  3. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/chain/client.py +8 -9
  4. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/core/client_wrapper.py +1 -1
  5. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/langchain_documents_request_out.py +1 -2
  6. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/README.md +0 -0
  7. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/__init__.py +0 -0
  8. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/base_client.py +0 -0
  9. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/chain/__init__.py +0 -0
  10. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/client.py +0 -0
  11. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/core/__init__.py +0 -0
  12. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/core/api_error.py +0 -0
  13. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/core/datetime_utils.py +0 -0
  14. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/core/file.py +0 -0
  15. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/core/http_client.py +0 -0
  16. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/core/jsonable_encoder.py +0 -0
  17. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/core/pydantic_utilities.py +0 -0
  18. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/core/remove_none_from_dict.py +0 -0
  19. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/core/request_options.py +0 -0
  20. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/dataset/__init__.py +0 -0
  21. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/dataset/client.py +0 -0
  22. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/environment.py +0 -0
  23. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/errors/__init__.py +0 -0
  24. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/errors/unprocessable_entity_error.py +0 -0
  25. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/message/__init__.py +0 -0
  26. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/message/client.py +0 -0
  27. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/polling_message_client.py +0 -0
  28. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/py.typed +0 -0
  29. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/query/__init__.py +0 -0
  30. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/query/client.py +0 -0
  31. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/report/__init__.py +0 -0
  32. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/report/client.py +0 -0
  33. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/search/__init__.py +0 -0
  34. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/search/client.py +0 -0
  35. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/snippet/__init__.py +0 -0
  36. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/snippet/client.py +0 -0
  37. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/tasks/__init__.py +0 -0
  38. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/tasks/client.py +0 -0
  39. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/tools/__init__.py +0 -0
  40. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/tools/client.py +0 -0
  41. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/__init__.py +0 -0
  42. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/dataset.py +0 -0
  43. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/document.py +0 -0
  44. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/excecute_tool_first_workflow_out.py +0 -0
  45. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/firecrawl_scrape_url_data_reponse_dto.py +0 -0
  46. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/firecrawl_scrape_url_metadata.py +0 -0
  47. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/get_datasets_response.py +0 -0
  48. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/get_snippets_response.py +0 -0
  49. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/http_validation_error.py +0 -0
  50. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/llm_model.py +0 -0
  51. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/map_reduce_chain_out.py +0 -0
  52. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/message_out.py +0 -0
  53. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/message_out_dto.py +0 -0
  54. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/model.py +0 -0
  55. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/plan_execute_out.py +0 -0
  56. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/report.py +0 -0
  57. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/snippet.py +0 -0
  58. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/sql_results.py +0 -0
  59. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/status_enum.py +0 -0
  60. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/structured_parse_result.py +0 -0
  61. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/tool_models.py +0 -0
  62. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/tools.py +0 -0
  63. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/url_result.py +0 -0
  64. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/validation_error.py +0 -0
  65. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/types/validation_error_loc_item.py +0 -0
  66. {athena_intelligence-0.1.51 → athena_intelligence-0.1.53}/src/athena/version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: athena-intelligence
3
- Version: 0.1.51
3
+ Version: 0.1.53
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.51"
3
+ version = "0.1.53"
4
4
  description = ""
5
5
  readme = "README.md"
6
6
  authors = []
@@ -16,7 +16,6 @@ from ..types.http_validation_error import HttpValidationError
16
16
  from ..types.llm_model import LlmModel
17
17
  from ..types.map_reduce_chain_out import MapReduceChainOut
18
18
  from ..types.structured_parse_result import StructuredParseResult
19
- from ..types.tool_models import ToolModels
20
19
 
21
20
  # this is used as the default value for optional parameters
22
21
  OMIT = typing.cast(typing.Any, ...)
@@ -98,7 +97,7 @@ class ChainClient:
98
97
  self,
99
98
  *,
100
99
  documents: typing.Sequence[Document],
101
- model: ToolModels,
100
+ model: LlmModel,
102
101
  operator_prompt: str,
103
102
  reducer_prompt: str,
104
103
  input: str,
@@ -108,7 +107,7 @@ class ChainClient:
108
107
  Parameters:
109
108
  - documents: typing.Sequence[Document].
110
109
 
111
- - model: ToolModels.
110
+ - model: LlmModel.
112
111
 
113
112
  - operator_prompt: str.
114
113
 
@@ -118,7 +117,7 @@ class ChainClient:
118
117
 
119
118
  - request_options: typing.Optional[RequestOptions]. Request-specific configuration.
120
119
  ---
121
- from athena import Document, ToolModels
120
+ from athena import Document, LlmModel
122
121
  from athena.client import Athena
123
122
 
124
123
  client = Athena(
@@ -130,7 +129,7 @@ class ChainClient:
130
129
  page_content="Athena is an AI-native analytics platform and artificial employee built to accelerate analytics workflows by offering enterprise teams co-pilot and auto-pilot modes. Athena learns your workflow as a co-pilot, allowing you to hand over controls to her for autonomous execution with confidence.",
131
130
  )
132
131
  ],
133
- model=ToolModels.MISTRAL_LARGE_0224,
132
+ model=LlmModel.MISTRAL_LARGE_0224,
134
133
  operator_prompt="summarize the content",
135
134
  reducer_prompt="Combine these summaries",
136
135
  input="return a summary in a single sentence",
@@ -267,7 +266,7 @@ class AsyncChainClient:
267
266
  self,
268
267
  *,
269
268
  documents: typing.Sequence[Document],
270
- model: ToolModels,
269
+ model: LlmModel,
271
270
  operator_prompt: str,
272
271
  reducer_prompt: str,
273
272
  input: str,
@@ -277,7 +276,7 @@ class AsyncChainClient:
277
276
  Parameters:
278
277
  - documents: typing.Sequence[Document].
279
278
 
280
- - model: ToolModels.
279
+ - model: LlmModel.
281
280
 
282
281
  - operator_prompt: str.
283
282
 
@@ -287,7 +286,7 @@ class AsyncChainClient:
287
286
 
288
287
  - request_options: typing.Optional[RequestOptions]. Request-specific configuration.
289
288
  ---
290
- from athena import Document, ToolModels
289
+ from athena import Document, LlmModel
291
290
  from athena.client import AsyncAthena
292
291
 
293
292
  client = AsyncAthena(
@@ -299,7 +298,7 @@ class AsyncChainClient:
299
298
  page_content="Athena is an AI-native analytics platform and artificial employee built to accelerate analytics workflows by offering enterprise teams co-pilot and auto-pilot modes. Athena learns your workflow as a co-pilot, allowing you to hand over controls to her for autonomous execution with confidence.",
300
299
  )
301
300
  ],
302
- model=ToolModels.MISTRAL_LARGE_0224,
301
+ model=LlmModel.MISTRAL_LARGE_0224,
303
302
  operator_prompt="summarize the content",
304
303
  reducer_prompt="Combine these summaries",
305
304
  input="return a summary in a single sentence",
@@ -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.51",
20
+ "X-Fern-SDK-Version": "0.1.53",
21
21
  }
22
22
  headers["X-API-KEY"] = self.api_key
23
23
  return headers
@@ -5,11 +5,10 @@ import typing
5
5
 
6
6
  from ..core.datetime_utils import serialize_datetime
7
7
  from ..core.pydantic_utilities import pydantic_v1
8
- from .document import Document
9
8
 
10
9
 
11
10
  class LangchainDocumentsRequestOut(pydantic_v1.BaseModel):
12
- documents: typing.List[Document]
11
+ output: typing.Dict[str, typing.Any]
13
12
 
14
13
  def json(self, **kwargs: typing.Any) -> str:
15
14
  kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}