athena-intelligence 0.1.70__tar.gz → 0.1.72__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.70 → athena_intelligence-0.1.72}/PKG-INFO +1 -1
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/pyproject.toml +1 -1
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/__init__.py +2 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/core/client_wrapper.py +1 -1
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/tools/client.py +137 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/__init__.py +2 -0
- athena_intelligence-0.1.72/src/athena/types/convert_pdf_to_sheet_out.py +26 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/llm_model.py +8 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/model.py +4 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/README.md +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/base_client.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/chain/__init__.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/chain/client.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/client.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/core/__init__.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/core/api_error.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/core/datetime_utils.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/core/file.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/core/http_client.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/core/jsonable_encoder.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/core/pydantic_utilities.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/core/remove_none_from_dict.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/core/request_options.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/dataset/__init__.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/dataset/client.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/environment.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/errors/__init__.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/errors/unprocessable_entity_error.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/message/__init__.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/message/client.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/polling_message_client.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/py.typed +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/query/__init__.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/query/client.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/report/__init__.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/report/client.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/search/__init__.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/search/client.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/snippet/__init__.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/snippet/client.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/tools/__init__.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/dataset.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/document.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/excecute_tool_first_workflow_out.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/file_data_response.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/firecrawl_scrape_url_data_reponse_dto.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/firecrawl_scrape_url_metadata.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/get_datasets_response.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/get_snippet_out.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/get_snippets_response.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/http_validation_error.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/langchain_documents_request_out.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/map_reduce_chain_out.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/message_out.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/message_out_dto.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/publish_formats.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/report.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/researcher_out.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/snippet.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/sql_results.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/status_enum.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/structured_parse_result.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/tools.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/upload_documents_out.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/url_result.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/validation_error.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/validation_error_loc_item.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/workflow_status_out.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/upload/__init__.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/upload/client.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/version.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/workflow/__init__.py +0 -0
- {athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/workflow/client.py +0 -0
@@ -1,6 +1,7 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
3
|
from .types import (
|
4
|
+
ConvertPdfToSheetOut,
|
4
5
|
Dataset,
|
5
6
|
Document,
|
6
7
|
ExcecuteToolFirstWorkflowOut,
|
@@ -38,6 +39,7 @@ from .version import __version__
|
|
38
39
|
|
39
40
|
__all__ = [
|
40
41
|
"AthenaEnvironment",
|
42
|
+
"ConvertPdfToSheetOut",
|
41
43
|
"Dataset",
|
42
44
|
"Document",
|
43
45
|
"ExcecuteToolFirstWorkflowOut",
|
@@ -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.72",
|
21
21
|
}
|
22
22
|
headers["X-API-KEY"] = self.api_key
|
23
23
|
return headers
|
@@ -11,6 +11,7 @@ from ..core.pydantic_utilities import pydantic_v1
|
|
11
11
|
from ..core.remove_none_from_dict import remove_none_from_dict
|
12
12
|
from ..core.request_options import RequestOptions
|
13
13
|
from ..errors.unprocessable_entity_error import UnprocessableEntityError
|
14
|
+
from ..types.convert_pdf_to_sheet_out import ConvertPdfToSheetOut
|
14
15
|
from ..types.excecute_tool_first_workflow_out import ExcecuteToolFirstWorkflowOut
|
15
16
|
from ..types.firecrawl_scrape_url_data_reponse_dto import FirecrawlScrapeUrlDataReponseDto
|
16
17
|
from ..types.http_validation_error import HttpValidationError
|
@@ -250,6 +251,8 @@ class ToolsClient:
|
|
250
251
|
max_sections: int,
|
251
252
|
guidelines: typing.Sequence[str],
|
252
253
|
publish_formats: typing.Optional[PublishFormats] = OMIT,
|
254
|
+
source: typing.Optional[str] = OMIT,
|
255
|
+
athena_document_ids: typing.Optional[typing.Sequence[str]] = OMIT,
|
253
256
|
request_options: typing.Optional[RequestOptions] = None,
|
254
257
|
) -> ResearcherOut:
|
255
258
|
"""
|
@@ -262,6 +265,10 @@ class ToolsClient:
|
|
262
265
|
|
263
266
|
- publish_formats: typing.Optional[PublishFormats].
|
264
267
|
|
268
|
+
- source: typing.Optional[str].
|
269
|
+
|
270
|
+
- athena_document_ids: typing.Optional[typing.Sequence[str]].
|
271
|
+
|
265
272
|
- request_options: typing.Optional[RequestOptions]. Request-specific configuration.
|
266
273
|
---
|
267
274
|
from athena import PublishFormats
|
@@ -283,6 +290,8 @@ class ToolsClient:
|
|
283
290
|
pdf=True,
|
284
291
|
docx=False,
|
285
292
|
),
|
293
|
+
source="web",
|
294
|
+
athena_document_ids=["doc_1", "doc_2"],
|
286
295
|
)
|
287
296
|
"""
|
288
297
|
_request: typing.Dict[str, typing.Any] = {
|
@@ -292,6 +301,10 @@ class ToolsClient:
|
|
292
301
|
}
|
293
302
|
if publish_formats is not OMIT:
|
294
303
|
_request["publish_formats"] = publish_formats
|
304
|
+
if source is not OMIT:
|
305
|
+
_request["source"] = source
|
306
|
+
if athena_document_ids is not OMIT:
|
307
|
+
_request["athena_document_ids"] = athena_document_ids
|
295
308
|
_response = self._client_wrapper.httpx_client.request(
|
296
309
|
method="POST",
|
297
310
|
url=urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "api/v0/tools/researcher"),
|
@@ -330,6 +343,62 @@ class ToolsClient:
|
|
330
343
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
331
344
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
332
345
|
|
346
|
+
def convert_pdf_to_sheet(
|
347
|
+
self, *, document_id: str, request_options: typing.Optional[RequestOptions] = None
|
348
|
+
) -> ConvertPdfToSheetOut:
|
349
|
+
"""
|
350
|
+
Parameters:
|
351
|
+
- document_id: str.
|
352
|
+
|
353
|
+
- request_options: typing.Optional[RequestOptions]. Request-specific configuration.
|
354
|
+
---
|
355
|
+
from athena.client import Athena
|
356
|
+
|
357
|
+
client = Athena(
|
358
|
+
api_key="YOUR_API_KEY",
|
359
|
+
)
|
360
|
+
client.tools.convert_pdf_to_sheet(
|
361
|
+
document_id="doc_9249292-d118-42d3-95b4-00eccfe0754f",
|
362
|
+
)
|
363
|
+
"""
|
364
|
+
_response = self._client_wrapper.httpx_client.request(
|
365
|
+
method="POST",
|
366
|
+
url=urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "api/v0/tools/convert-pdf-to-sheet"),
|
367
|
+
params=jsonable_encoder(
|
368
|
+
request_options.get("additional_query_parameters") if request_options is not None else None
|
369
|
+
),
|
370
|
+
json=jsonable_encoder({"document_id": document_id})
|
371
|
+
if request_options is None or request_options.get("additional_body_parameters") is None
|
372
|
+
else {
|
373
|
+
**jsonable_encoder({"document_id": document_id}),
|
374
|
+
**(jsonable_encoder(remove_none_from_dict(request_options.get("additional_body_parameters", {})))),
|
375
|
+
},
|
376
|
+
headers=jsonable_encoder(
|
377
|
+
remove_none_from_dict(
|
378
|
+
{
|
379
|
+
**self._client_wrapper.get_headers(),
|
380
|
+
**(request_options.get("additional_headers", {}) if request_options is not None else {}),
|
381
|
+
}
|
382
|
+
)
|
383
|
+
),
|
384
|
+
timeout=request_options.get("timeout_in_seconds")
|
385
|
+
if request_options is not None and request_options.get("timeout_in_seconds") is not None
|
386
|
+
else self._client_wrapper.get_timeout(),
|
387
|
+
retries=0,
|
388
|
+
max_retries=request_options.get("max_retries") if request_options is not None else 0, # type: ignore
|
389
|
+
)
|
390
|
+
if 200 <= _response.status_code < 300:
|
391
|
+
return pydantic_v1.parse_obj_as(ConvertPdfToSheetOut, _response.json()) # type: ignore
|
392
|
+
if _response.status_code == 422:
|
393
|
+
raise UnprocessableEntityError(
|
394
|
+
pydantic_v1.parse_obj_as(HttpValidationError, _response.json()) # type: ignore
|
395
|
+
)
|
396
|
+
try:
|
397
|
+
_response_json = _response.json()
|
398
|
+
except JSONDecodeError:
|
399
|
+
raise ApiError(status_code=_response.status_code, body=_response.text)
|
400
|
+
raise ApiError(status_code=_response.status_code, body=_response_json)
|
401
|
+
|
333
402
|
|
334
403
|
class AsyncToolsClient:
|
335
404
|
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
@@ -558,6 +627,8 @@ class AsyncToolsClient:
|
|
558
627
|
max_sections: int,
|
559
628
|
guidelines: typing.Sequence[str],
|
560
629
|
publish_formats: typing.Optional[PublishFormats] = OMIT,
|
630
|
+
source: typing.Optional[str] = OMIT,
|
631
|
+
athena_document_ids: typing.Optional[typing.Sequence[str]] = OMIT,
|
561
632
|
request_options: typing.Optional[RequestOptions] = None,
|
562
633
|
) -> ResearcherOut:
|
563
634
|
"""
|
@@ -570,6 +641,10 @@ class AsyncToolsClient:
|
|
570
641
|
|
571
642
|
- publish_formats: typing.Optional[PublishFormats].
|
572
643
|
|
644
|
+
- source: typing.Optional[str].
|
645
|
+
|
646
|
+
- athena_document_ids: typing.Optional[typing.Sequence[str]].
|
647
|
+
|
573
648
|
- request_options: typing.Optional[RequestOptions]. Request-specific configuration.
|
574
649
|
---
|
575
650
|
from athena import PublishFormats
|
@@ -591,6 +666,8 @@ class AsyncToolsClient:
|
|
591
666
|
pdf=True,
|
592
667
|
docx=False,
|
593
668
|
),
|
669
|
+
source="web",
|
670
|
+
athena_document_ids=["doc_1", "doc_2"],
|
594
671
|
)
|
595
672
|
"""
|
596
673
|
_request: typing.Dict[str, typing.Any] = {
|
@@ -600,6 +677,10 @@ class AsyncToolsClient:
|
|
600
677
|
}
|
601
678
|
if publish_formats is not OMIT:
|
602
679
|
_request["publish_formats"] = publish_formats
|
680
|
+
if source is not OMIT:
|
681
|
+
_request["source"] = source
|
682
|
+
if athena_document_ids is not OMIT:
|
683
|
+
_request["athena_document_ids"] = athena_document_ids
|
603
684
|
_response = await self._client_wrapper.httpx_client.request(
|
604
685
|
method="POST",
|
605
686
|
url=urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "api/v0/tools/researcher"),
|
@@ -637,3 +718,59 @@ class AsyncToolsClient:
|
|
637
718
|
except JSONDecodeError:
|
638
719
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
639
720
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
721
|
+
|
722
|
+
async def convert_pdf_to_sheet(
|
723
|
+
self, *, document_id: str, request_options: typing.Optional[RequestOptions] = None
|
724
|
+
) -> ConvertPdfToSheetOut:
|
725
|
+
"""
|
726
|
+
Parameters:
|
727
|
+
- document_id: str.
|
728
|
+
|
729
|
+
- request_options: typing.Optional[RequestOptions]. Request-specific configuration.
|
730
|
+
---
|
731
|
+
from athena.client import AsyncAthena
|
732
|
+
|
733
|
+
client = AsyncAthena(
|
734
|
+
api_key="YOUR_API_KEY",
|
735
|
+
)
|
736
|
+
await client.tools.convert_pdf_to_sheet(
|
737
|
+
document_id="doc_9249292-d118-42d3-95b4-00eccfe0754f",
|
738
|
+
)
|
739
|
+
"""
|
740
|
+
_response = await self._client_wrapper.httpx_client.request(
|
741
|
+
method="POST",
|
742
|
+
url=urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "api/v0/tools/convert-pdf-to-sheet"),
|
743
|
+
params=jsonable_encoder(
|
744
|
+
request_options.get("additional_query_parameters") if request_options is not None else None
|
745
|
+
),
|
746
|
+
json=jsonable_encoder({"document_id": document_id})
|
747
|
+
if request_options is None or request_options.get("additional_body_parameters") is None
|
748
|
+
else {
|
749
|
+
**jsonable_encoder({"document_id": document_id}),
|
750
|
+
**(jsonable_encoder(remove_none_from_dict(request_options.get("additional_body_parameters", {})))),
|
751
|
+
},
|
752
|
+
headers=jsonable_encoder(
|
753
|
+
remove_none_from_dict(
|
754
|
+
{
|
755
|
+
**self._client_wrapper.get_headers(),
|
756
|
+
**(request_options.get("additional_headers", {}) if request_options is not None else {}),
|
757
|
+
}
|
758
|
+
)
|
759
|
+
),
|
760
|
+
timeout=request_options.get("timeout_in_seconds")
|
761
|
+
if request_options is not None and request_options.get("timeout_in_seconds") is not None
|
762
|
+
else self._client_wrapper.get_timeout(),
|
763
|
+
retries=0,
|
764
|
+
max_retries=request_options.get("max_retries") if request_options is not None else 0, # type: ignore
|
765
|
+
)
|
766
|
+
if 200 <= _response.status_code < 300:
|
767
|
+
return pydantic_v1.parse_obj_as(ConvertPdfToSheetOut, _response.json()) # type: ignore
|
768
|
+
if _response.status_code == 422:
|
769
|
+
raise UnprocessableEntityError(
|
770
|
+
pydantic_v1.parse_obj_as(HttpValidationError, _response.json()) # type: ignore
|
771
|
+
)
|
772
|
+
try:
|
773
|
+
_response_json = _response.json()
|
774
|
+
except JSONDecodeError:
|
775
|
+
raise ApiError(status_code=_response.status_code, body=_response.text)
|
776
|
+
raise ApiError(status_code=_response.status_code, body=_response_json)
|
@@ -1,5 +1,6 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from .convert_pdf_to_sheet_out import ConvertPdfToSheetOut
|
3
4
|
from .dataset import Dataset
|
4
5
|
from .document import Document
|
5
6
|
from .excecute_tool_first_workflow_out import ExcecuteToolFirstWorkflowOut
|
@@ -31,6 +32,7 @@ from .validation_error_loc_item import ValidationErrorLocItem
|
|
31
32
|
from .workflow_status_out import WorkflowStatusOut
|
32
33
|
|
33
34
|
__all__ = [
|
35
|
+
"ConvertPdfToSheetOut",
|
34
36
|
"Dataset",
|
35
37
|
"Document",
|
36
38
|
"ExcecuteToolFirstWorkflowOut",
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
import datetime as dt
|
4
|
+
import typing
|
5
|
+
|
6
|
+
from ..core.datetime_utils import serialize_datetime
|
7
|
+
from ..core.pydantic_utilities import pydantic_v1
|
8
|
+
|
9
|
+
|
10
|
+
class ConvertPdfToSheetOut(pydantic_v1.BaseModel):
|
11
|
+
document_id: str
|
12
|
+
new_document_id: str
|
13
|
+
|
14
|
+
def json(self, **kwargs: typing.Any) -> str:
|
15
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
16
|
+
return super().json(**kwargs_with_defaults)
|
17
|
+
|
18
|
+
def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
|
19
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
20
|
+
return super().dict(**kwargs_with_defaults)
|
21
|
+
|
22
|
+
class Config:
|
23
|
+
frozen = True
|
24
|
+
smart_union = True
|
25
|
+
extra = pydantic_v1.Extra.allow
|
26
|
+
json_encoders = {dt.datetime: serialize_datetime}
|
@@ -14,6 +14,7 @@ class LlmModel(str, enum.Enum):
|
|
14
14
|
GPT_35_TURBO = "gpt-3.5-turbo"
|
15
15
|
GPT_4_TURBO = "gpt-4-turbo"
|
16
16
|
GPT_4_TURBO_PREVIEW = "gpt-4-turbo-preview"
|
17
|
+
GPT_4_O_MINI = "gpt-4o-mini"
|
17
18
|
GPT_4_O = "gpt-4o"
|
18
19
|
GPT_4 = "gpt-4"
|
19
20
|
MIXTRAL_SMALL_8_X_7_B_0211 = "mixtral-small-8x7b-0211"
|
@@ -21,6 +22,7 @@ class LlmModel(str, enum.Enum):
|
|
21
22
|
MIXTRAL_8_X_22_B_INSTRUCT = "mixtral-8x22b-instruct"
|
22
23
|
LLAMA_V_38_B_INSTRUCT = "llama-v3-8b-instruct"
|
23
24
|
LLAMA_V_370_B_INSTRUCT = "llama-v3-70b-instruct"
|
25
|
+
CLAUDE_35_SONNET_20240620 = "claude-3-5-sonnet-20240620"
|
24
26
|
CLAUDE_3_OPUS_20240229 = "claude-3-opus-20240229"
|
25
27
|
CLAUDE_3_SONNET_20240229 = "claude-3-sonnet-20240229"
|
26
28
|
CLAUDE_3_HAIKU_20240307 = "claude-3-haiku-20240307"
|
@@ -39,6 +41,7 @@ class LlmModel(str, enum.Enum):
|
|
39
41
|
gpt_35_turbo: typing.Callable[[], T_Result],
|
40
42
|
gpt_4_turbo: typing.Callable[[], T_Result],
|
41
43
|
gpt_4_turbo_preview: typing.Callable[[], T_Result],
|
44
|
+
gpt_4_o_mini: typing.Callable[[], T_Result],
|
42
45
|
gpt_4_o: typing.Callable[[], T_Result],
|
43
46
|
gpt_4: typing.Callable[[], T_Result],
|
44
47
|
mixtral_small_8_x_7_b_0211: typing.Callable[[], T_Result],
|
@@ -46,6 +49,7 @@ class LlmModel(str, enum.Enum):
|
|
46
49
|
mixtral_8_x_22_b_instruct: typing.Callable[[], T_Result],
|
47
50
|
llama_v_38_b_instruct: typing.Callable[[], T_Result],
|
48
51
|
llama_v_370_b_instruct: typing.Callable[[], T_Result],
|
52
|
+
claude_35_sonnet_20240620: typing.Callable[[], T_Result],
|
49
53
|
claude_3_opus_20240229: typing.Callable[[], T_Result],
|
50
54
|
claude_3_sonnet_20240229: typing.Callable[[], T_Result],
|
51
55
|
claude_3_haiku_20240307: typing.Callable[[], T_Result],
|
@@ -65,6 +69,8 @@ class LlmModel(str, enum.Enum):
|
|
65
69
|
return gpt_4_turbo()
|
66
70
|
if self is LlmModel.GPT_4_TURBO_PREVIEW:
|
67
71
|
return gpt_4_turbo_preview()
|
72
|
+
if self is LlmModel.GPT_4_O_MINI:
|
73
|
+
return gpt_4_o_mini()
|
68
74
|
if self is LlmModel.GPT_4_O:
|
69
75
|
return gpt_4_o()
|
70
76
|
if self is LlmModel.GPT_4:
|
@@ -79,6 +85,8 @@ class LlmModel(str, enum.Enum):
|
|
79
85
|
return llama_v_38_b_instruct()
|
80
86
|
if self is LlmModel.LLAMA_V_370_B_INSTRUCT:
|
81
87
|
return llama_v_370_b_instruct()
|
88
|
+
if self is LlmModel.CLAUDE_35_SONNET_20240620:
|
89
|
+
return claude_35_sonnet_20240620()
|
82
90
|
if self is LlmModel.CLAUDE_3_OPUS_20240229:
|
83
91
|
return claude_3_opus_20240229()
|
84
92
|
if self is LlmModel.CLAUDE_3_SONNET_20240229:
|
@@ -16,6 +16,7 @@ class Model(str, enum.Enum):
|
|
16
16
|
GPT_4_TURBO_PREVIEW = "gpt-4-turbo-preview"
|
17
17
|
GPT_4 = "gpt-4"
|
18
18
|
GPT_4_O = "gpt-4o"
|
19
|
+
GPT_4_O_MINI = "gpt-4o-mini"
|
19
20
|
MIXTRAL_SMALL_8_X_7_B_0211 = "mixtral-small-8x7b-0211"
|
20
21
|
MISTRAL_LARGE_0224 = "mistral-large-0224"
|
21
22
|
MIXTRAL_8_X_22_B_INSTRUCT = "mixtral-8x22b-instruct"
|
@@ -34,6 +35,7 @@ class Model(str, enum.Enum):
|
|
34
35
|
gpt_4_turbo_preview: typing.Callable[[], T_Result],
|
35
36
|
gpt_4: typing.Callable[[], T_Result],
|
36
37
|
gpt_4_o: typing.Callable[[], T_Result],
|
38
|
+
gpt_4_o_mini: typing.Callable[[], T_Result],
|
37
39
|
mixtral_small_8_x_7_b_0211: typing.Callable[[], T_Result],
|
38
40
|
mistral_large_0224: typing.Callable[[], T_Result],
|
39
41
|
mixtral_8_x_22_b_instruct: typing.Callable[[], T_Result],
|
@@ -55,6 +57,8 @@ class Model(str, enum.Enum):
|
|
55
57
|
return gpt_4()
|
56
58
|
if self is Model.GPT_4_O:
|
57
59
|
return gpt_4_o()
|
60
|
+
if self is Model.GPT_4_O_MINI:
|
61
|
+
return gpt_4_o_mini()
|
58
62
|
if self is Model.MIXTRAL_SMALL_8_X_7_B_0211:
|
59
63
|
return mixtral_small_8_x_7_b_0211()
|
60
64
|
if self is Model.MISTRAL_LARGE_0224:
|
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.70 → athena_intelligence-0.1.72}/src/athena/core/jsonable_encoder.py
RENAMED
File without changes
|
{athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/core/pydantic_utilities.py
RENAMED
File without changes
|
{athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/core/remove_none_from_dict.py
RENAMED
File without changes
|
{athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/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
|
File without changes
|
{athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/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
|
File without changes
|
File without changes
|
{athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/file_data_response.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/get_datasets_response.py
RENAMED
File without changes
|
{athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/get_snippet_out.py
RENAMED
File without changes
|
{athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/get_snippets_response.py
RENAMED
File without changes
|
{athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/http_validation_error.py
RENAMED
File without changes
|
File without changes
|
{athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/map_reduce_chain_out.py
RENAMED
File without changes
|
File without changes
|
{athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/message_out_dto.py
RENAMED
File without changes
|
{athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/publish_formats.py
RENAMED
File without changes
|
File without changes
|
{athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/researcher_out.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/upload_documents_out.py
RENAMED
File without changes
|
File without changes
|
{athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/src/athena/types/validation_error.py
RENAMED
File without changes
|
File without changes
|
{athena_intelligence-0.1.70 → athena_intelligence-0.1.72}/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
|