athena-intelligence 0.1.91__tar.gz → 0.1.92__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.91 → athena_intelligence-0.1.92}/PKG-INFO +1 -1
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/pyproject.toml +1 -1
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/core/client_wrapper.py +1 -1
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/document.py +13 -1
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/llm_model.py +4 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/model.py +4 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/README.md +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/__init__.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/base_client.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/chain/__init__.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/chain/client.py +2 -2
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/client.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/core/__init__.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/core/api_error.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/core/datetime_utils.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/core/file.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/core/http_client.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/core/jsonable_encoder.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/core/pydantic_utilities.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/core/query_encoder.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/core/remove_none_from_dict.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/core/request_options.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/dataset/__init__.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/dataset/client.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/environment.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/errors/__init__.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/errors/internal_server_error.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/errors/not_found_error.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/errors/unprocessable_entity_error.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/errors/unsupported_media_type_error.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/message/__init__.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/message/client.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/polling_message_client.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/py.typed +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/query/__init__.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/query/client.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/report/__init__.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/report/client.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/search/__init__.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/search/client.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/snippet/__init__.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/snippet/client.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/tools/__init__.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/tools/client.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/tools/types/__init__.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/tools/types/tools_data_frame_request_columns_item.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/__init__.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/athena_document_v_2_out.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/convert_pdf_to_sheet_out.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/data_frame_parsing_error.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/data_frame_request_out.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/data_frame_request_out_columns_item.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/data_frame_request_out_data_item_item.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/data_frame_request_out_index_item.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/data_frame_unknown_format_error.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/dataset.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/excecute_tool_first_workflow_out.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/file_data_response.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/file_fetch_error.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/filter_model.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/filter_operator.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/firecrawl_scrape_url_data_reponse_dto.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/firecrawl_scrape_url_metadata.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/get_datasets_response.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/get_snippet_out.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/get_snippets_response.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/http_validation_error.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/langchain_documents_request_out.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/map_reduce_chain_out.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/message_out.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/message_out_dto.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/publish_formats.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/query_model.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/report.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/researcher_out.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/semantic_query_out.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/snippet.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/sql_results.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/status_enum.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/structured_parse_result.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/time_dimension_model.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/tools.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/upload_documents_out.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/url_result.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/validation_error.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/validation_error_loc_item.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/workflow_status_out.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/upload/__init__.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/upload/client.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/version.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/workflow/__init__.py +0 -0
- {athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/workflow/client.py +0 -0
@@ -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.
|
20
|
+
"X-Fern-SDK-Version": "0.1.92",
|
21
21
|
}
|
22
22
|
headers["X-API-KEY"] = self.api_key
|
23
23
|
return headers
|
@@ -10,10 +10,22 @@ from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
|
|
10
10
|
class Document(pydantic_v1.BaseModel):
|
11
11
|
"""
|
12
12
|
Class for storing a piece of text and associated metadata.
|
13
|
+
|
14
|
+
Example:
|
15
|
+
|
16
|
+
.. code-block:: python
|
17
|
+
|
18
|
+
from langchain_core.documents import Document
|
19
|
+
|
20
|
+
document = Document(
|
21
|
+
page_content="Hello, world!",
|
22
|
+
metadata={"source": "https://example.com"}
|
23
|
+
)
|
13
24
|
"""
|
14
25
|
|
15
|
-
|
26
|
+
id: typing.Optional[str] = None
|
16
27
|
metadata: typing.Optional[typing.Dict[str, typing.Any]] = None
|
28
|
+
page_content: str
|
17
29
|
type: typing.Optional[typing.Literal["Document"]] = None
|
18
30
|
|
19
31
|
def json(self, **kwargs: typing.Any) -> str:
|
@@ -16,6 +16,7 @@ class LlmModel(str, enum.Enum):
|
|
16
16
|
GPT_4_TURBO_PREVIEW = "gpt-4-turbo-preview"
|
17
17
|
GPT_4_O_MINI = "gpt-4o-mini"
|
18
18
|
GPT_4_O = "gpt-4o"
|
19
|
+
GPT_4_O_20240806 = "gpt-4o-2024-08-06"
|
19
20
|
GPT_4 = "gpt-4"
|
20
21
|
MIXTRAL_SMALL_8_X_7_B_0211 = "mixtral-small-8x7b-0211"
|
21
22
|
MISTRAL_LARGE_0224 = "mistral-large-0224"
|
@@ -49,6 +50,7 @@ class LlmModel(str, enum.Enum):
|
|
49
50
|
gpt_4_turbo_preview: typing.Callable[[], T_Result],
|
50
51
|
gpt_4_o_mini: typing.Callable[[], T_Result],
|
51
52
|
gpt_4_o: typing.Callable[[], T_Result],
|
53
|
+
gpt_4_o_20240806: typing.Callable[[], T_Result],
|
52
54
|
gpt_4: typing.Callable[[], T_Result],
|
53
55
|
mixtral_small_8_x_7_b_0211: typing.Callable[[], T_Result],
|
54
56
|
mistral_large_0224: typing.Callable[[], T_Result],
|
@@ -85,6 +87,8 @@ class LlmModel(str, enum.Enum):
|
|
85
87
|
return gpt_4_o_mini()
|
86
88
|
if self is LlmModel.GPT_4_O:
|
87
89
|
return gpt_4_o()
|
90
|
+
if self is LlmModel.GPT_4_O_20240806:
|
91
|
+
return gpt_4_o_20240806()
|
88
92
|
if self is LlmModel.GPT_4:
|
89
93
|
return gpt_4()
|
90
94
|
if self is LlmModel.MIXTRAL_SMALL_8_X_7_B_0211:
|
@@ -17,6 +17,7 @@ class Model(str, enum.Enum):
|
|
17
17
|
GPT_4 = "gpt-4"
|
18
18
|
GPT_4_O = "gpt-4o"
|
19
19
|
GPT_4_O_MINI = "gpt-4o-mini"
|
20
|
+
GPT_4_O_20240806 = "gpt-4o-2024-08-06"
|
20
21
|
MIXTRAL_SMALL_8_X_7_B_0211 = "mixtral-small-8x7b-0211"
|
21
22
|
MISTRAL_LARGE_0224 = "mistral-large-0224"
|
22
23
|
MIXTRAL_8_X_22_B_INSTRUCT = "mixtral-8x22b-instruct"
|
@@ -38,6 +39,7 @@ class Model(str, enum.Enum):
|
|
38
39
|
gpt_4: typing.Callable[[], T_Result],
|
39
40
|
gpt_4_o: typing.Callable[[], T_Result],
|
40
41
|
gpt_4_o_mini: typing.Callable[[], T_Result],
|
42
|
+
gpt_4_o_20240806: typing.Callable[[], T_Result],
|
41
43
|
mixtral_small_8_x_7_b_0211: typing.Callable[[], T_Result],
|
42
44
|
mistral_large_0224: typing.Callable[[], T_Result],
|
43
45
|
mixtral_8_x_22_b_instruct: typing.Callable[[], T_Result],
|
@@ -63,6 +65,8 @@ class Model(str, enum.Enum):
|
|
63
65
|
return gpt_4_o()
|
64
66
|
if self is Model.GPT_4_O_MINI:
|
65
67
|
return gpt_4_o_mini()
|
68
|
+
if self is Model.GPT_4_O_20240806:
|
69
|
+
return gpt_4_o_20240806()
|
66
70
|
if self is Model.MIXTRAL_SMALL_8_X_7_B_0211:
|
67
71
|
return mixtral_small_8_x_7_b_0211()
|
68
72
|
if self is Model.MISTRAL_LARGE_0224:
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -124,8 +124,8 @@ class ChainClient:
|
|
124
124
|
client.chain.map_reduce_chain(
|
125
125
|
documents=[
|
126
126
|
Document(
|
127
|
-
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.",
|
128
127
|
metadata={"key": "value"},
|
128
|
+
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.",
|
129
129
|
)
|
130
130
|
],
|
131
131
|
model=LlmModel.MISTRAL_LARGE_0224,
|
@@ -266,8 +266,8 @@ class AsyncChainClient:
|
|
266
266
|
await client.chain.map_reduce_chain(
|
267
267
|
documents=[
|
268
268
|
Document(
|
269
|
-
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.",
|
270
269
|
metadata={"key": "value"},
|
270
|
+
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.",
|
271
271
|
)
|
272
272
|
],
|
273
273
|
model=LlmModel.MISTRAL_LARGE_0224,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/core/jsonable_encoder.py
RENAMED
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/core/pydantic_utilities.py
RENAMED
File without changes
|
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/core/remove_none_from_dict.py
RENAMED
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/core/request_options.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/errors/internal_server_error.py
RENAMED
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/errors/not_found_error.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/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
|
File without changes
|
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/tools/types/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/data_frame_request_out.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.91 → athena_intelligence-0.1.92}/src/athena/types/file_data_response.py
RENAMED
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/file_fetch_error.py
RENAMED
File without changes
|
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/filter_operator.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/get_datasets_response.py
RENAMED
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/get_snippet_out.py
RENAMED
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/get_snippets_response.py
RENAMED
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/http_validation_error.py
RENAMED
File without changes
|
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/map_reduce_chain_out.py
RENAMED
File without changes
|
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/message_out_dto.py
RENAMED
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/publish_formats.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/researcher_out.py
RENAMED
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/semantic_query_out.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/time_dimension_model.py
RENAMED
File without changes
|
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/upload_documents_out.py
RENAMED
File without changes
|
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/validation_error.py
RENAMED
File without changes
|
File without changes
|
{athena_intelligence-0.1.91 → athena_intelligence-0.1.92}/src/athena/types/workflow_status_out.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|