athena-intelligence 0.1.56__py3-none-any.whl → 0.1.58__py3-none-any.whl
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/core/client_wrapper.py +1 -1
- athena/search/client.py +2 -2
- athena/types/tools.py +4 -0
- {athena_intelligence-0.1.56.dist-info → athena_intelligence-0.1.58.dist-info}/METADATA +1 -1
- {athena_intelligence-0.1.56.dist-info → athena_intelligence-0.1.58.dist-info}/RECORD +6 -6
- {athena_intelligence-0.1.56.dist-info → athena_intelligence-0.1.58.dist-info}/WHEEL +0 -0
athena/core/client_wrapper.py
CHANGED
@@ -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.58",
|
21
21
|
}
|
22
22
|
headers["X-API-KEY"] = self.api_key
|
23
23
|
return headers
|
athena/search/client.py
CHANGED
@@ -55,7 +55,7 @@ class SearchClient:
|
|
55
55
|
api_key="YOUR_API_KEY",
|
56
56
|
)
|
57
57
|
client.search.get_urls(
|
58
|
-
query="
|
58
|
+
query="Athena Intelligence",
|
59
59
|
num_urls=10,
|
60
60
|
tbs="qdr:m",
|
61
61
|
)
|
@@ -143,7 +143,7 @@ class AsyncSearchClient:
|
|
143
143
|
api_key="YOUR_API_KEY",
|
144
144
|
)
|
145
145
|
await client.search.get_urls(
|
146
|
-
query="
|
146
|
+
query="Athena Intelligence",
|
147
147
|
num_urls=10,
|
148
148
|
tbs="qdr:m",
|
149
149
|
)
|
athena/types/tools.py
CHANGED
@@ -19,6 +19,7 @@ class Tools(str, enum.Enum):
|
|
19
19
|
CHART = "chart"
|
20
20
|
ENRICH_PERSON = "enrich_person"
|
21
21
|
ENRICH_COMPANY = "enrich_company"
|
22
|
+
BROWSERBASE = "browserbase"
|
22
23
|
|
23
24
|
def visit(
|
24
25
|
self,
|
@@ -30,6 +31,7 @@ class Tools(str, enum.Enum):
|
|
30
31
|
chart: typing.Callable[[], T_Result],
|
31
32
|
enrich_person: typing.Callable[[], T_Result],
|
32
33
|
enrich_company: typing.Callable[[], T_Result],
|
34
|
+
browserbase: typing.Callable[[], T_Result],
|
33
35
|
) -> T_Result:
|
34
36
|
if self is Tools.SEARCH:
|
35
37
|
return search()
|
@@ -47,3 +49,5 @@ class Tools(str, enum.Enum):
|
|
47
49
|
return enrich_person()
|
48
50
|
if self is Tools.ENRICH_COMPANY:
|
49
51
|
return enrich_company()
|
52
|
+
if self is Tools.BROWSERBASE:
|
53
|
+
return browserbase()
|
@@ -5,7 +5,7 @@ athena/chain/client.py,sha256=2vSu7d4RvgbGc7jbWpKkCs5dU-ryCIJ1i0I1EsoCEdQ,16177
|
|
5
5
|
athena/client.py,sha256=8QypiDlbZ0C1YsJh6GzhylLVCZXDQc1MCJTURo2_vvI,3576
|
6
6
|
athena/core/__init__.py,sha256=1pNSKkwyQvMl_F0wohBqmoQAITptg3zlvCwsoSSzy7c,853
|
7
7
|
athena/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
8
|
-
athena/core/client_wrapper.py,sha256
|
8
|
+
athena/core/client_wrapper.py,sha256=BqF9D3Pd3k36_8tAOmFpDKRu4ipafx_SnJ5DTEKWIM8,1495
|
9
9
|
athena/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
10
10
|
athena/core/file.py,sha256=sy1RUGZ3aJYuw998bZytxxo6QdgKmlnlgBaMvwEKCGg,1480
|
11
11
|
athena/core/http_client.py,sha256=5ok6hqgZDJhg57EHvMnr0BBaHdG50QxFPKaCZ9aVWTc,5059
|
@@ -27,7 +27,7 @@ athena/query/client.py,sha256=FprFNth7SOF6Irc3YUsSZO8DVqTkfOZDhaIfBlXQUSw,6338
|
|
27
27
|
athena/report/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
28
28
|
athena/report/client.py,sha256=rSNGKHf2wImbOmY06jXClMK3S5B4sQPCvQOPxrb9lXk,6623
|
29
29
|
athena/search/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
30
|
-
athena/search/client.py,sha256=
|
30
|
+
athena/search/client.py,sha256=j0DYo1WWFMlrssybtQAH71O889eRJdDHheADms5Q9yE,7640
|
31
31
|
athena/snippet/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
32
32
|
athena/snippet/client.py,sha256=EE2ADdtSvk_c3-NkVMfwS1r29-y7YhozPoqXc4DPj8k,11323
|
33
33
|
athena/tools/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
@@ -53,11 +53,11 @@ athena/types/snippet.py,sha256=Mrc92_hBABJQjCSToAA-FgwhvO-Jn8Kjm-lYI6aMlUY,1106
|
|
53
53
|
athena/types/sql_results.py,sha256=ExPFds4vZ425AxGt0jhykbPhOjkplZPGQwVKb0LHg_g,880
|
54
54
|
athena/types/status_enum.py,sha256=0UZbhdAx215GHC-U53RS98mYHtn1N3On4VBe4j02Qtc,672
|
55
55
|
athena/types/structured_parse_result.py,sha256=fph7KrT_X_2BKDCOFN1UEufeaMmpSEvT0Oi6aM-e3kU,885
|
56
|
-
athena/types/tools.py,sha256=
|
56
|
+
athena/types/tools.py,sha256=W0ekZrKpwlf66HJC7kGLWYJE3C1agJRnmMbvfA4M93o,1577
|
57
57
|
athena/types/url_result.py,sha256=lIgnQeyKy_UfFFPe7HMrrRzb-SK089RxcKcKN9Q3DNQ,873
|
58
58
|
athena/types/validation_error.py,sha256=yqombbKLBSzTPFn6CJH_hbo7tpS68T3JvMdd7kBtO1g,972
|
59
59
|
athena/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
|
60
60
|
athena/version.py,sha256=8aYAOJtVLaJLpRp6mTiEIhnl8gXA7yE0aDtZ-3mKQ4k,87
|
61
|
-
athena_intelligence-0.1.
|
62
|
-
athena_intelligence-0.1.
|
63
|
-
athena_intelligence-0.1.
|
61
|
+
athena_intelligence-0.1.58.dist-info/METADATA,sha256=ivyTrkQk9u2KPZSeqea6s9y9DG7hTUlNEluwPgip6JA,4738
|
62
|
+
athena_intelligence-0.1.58.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
63
|
+
athena_intelligence-0.1.58.dist-info/RECORD,,
|
File without changes
|