perplexityai 0.5.0__py3-none-any.whl → 0.7.0__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.
Potentially problematic release.
This version of perplexityai might be problematic. Click here for more details.
- perplexity/_client.py +27 -1
- perplexity/_version.py +1 -1
- perplexity/resources/__init__.py +42 -0
- perplexity/resources/async_/__init__.py +33 -0
- perplexity/resources/async_/async_.py +102 -0
- perplexity/resources/async_/chat/__init__.py +33 -0
- perplexity/resources/async_/chat/chat.py +102 -0
- perplexity/resources/async_/chat/completions.py +347 -0
- perplexity/resources/chat/__init__.py +33 -0
- perplexity/resources/chat/chat.py +102 -0
- perplexity/resources/chat/completions.py +295 -0
- perplexity/resources/content.py +167 -0
- perplexity/resources/search.py +64 -2
- perplexity/types/__init__.py +8 -0
- perplexity/types/async_/__init__.py +3 -0
- perplexity/types/async_/chat/__init__.py +9 -0
- perplexity/types/async_/chat/completion_create_params.py +94 -0
- perplexity/types/async_/chat/completion_create_response.py +54 -0
- perplexity/types/async_/chat/completion_get_response.py +54 -0
- perplexity/types/async_/chat/completion_list_params.py +15 -0
- perplexity/types/async_/chat/completion_list_response.py +31 -0
- perplexity/types/chat/__init__.py +6 -0
- perplexity/types/chat/completion_create_params.py +90 -0
- perplexity/types/chat/completion_create_response.py +30 -0
- perplexity/types/content_create_params.py +14 -0
- perplexity/types/content_create_response.py +29 -0
- perplexity/types/search_create_params.py +26 -0
- perplexity/types/search_create_response.py +7 -0
- perplexity/types/shared/__init__.py +6 -0
- perplexity/types/shared/chat_choice.py +17 -0
- perplexity/types/shared/chat_message.py +31 -0
- perplexity/types/shared/search_result.py +15 -0
- perplexity/types/shared/usage_info.py +23 -0
- perplexity/types/shared_params/__init__.py +3 -0
- perplexity/types/shared_params/chat_message.py +31 -0
- {perplexityai-0.5.0.dist-info → perplexityai-0.7.0.dist-info}/METADATA +90 -22
- perplexityai-0.7.0.dist-info/RECORD +65 -0
- perplexityai-0.5.0.dist-info/RECORD +0 -37
- {perplexityai-0.5.0.dist-info → perplexityai-0.7.0.dist-info}/WHEEL +0 -0
- {perplexityai-0.5.0.dist-info → perplexityai-0.7.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: perplexityai
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: The official Python library for the perplexity API
|
|
5
5
|
Project-URL: Homepage, https://github.com/ppl-ai/perplexity-py
|
|
6
6
|
Project-URL: Repository, https://github.com/ppl-ai/perplexity-py
|
|
@@ -67,10 +67,16 @@ client = Perplexity(
|
|
|
67
67
|
api_key=os.environ.get("PERPLEXITY_API_KEY"), # This is the default and can be omitted
|
|
68
68
|
)
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
completion = client.chat.completions.create(
|
|
71
|
+
messages=[
|
|
72
|
+
{
|
|
73
|
+
"role": "user",
|
|
74
|
+
"content": "Tell me about the latest developments in AI",
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
model="sonar",
|
|
72
78
|
)
|
|
73
|
-
print(
|
|
79
|
+
print(completion.id)
|
|
74
80
|
```
|
|
75
81
|
|
|
76
82
|
While you can provide an `api_key` keyword argument,
|
|
@@ -93,10 +99,16 @@ client = AsyncPerplexity(
|
|
|
93
99
|
|
|
94
100
|
|
|
95
101
|
async def main() -> None:
|
|
96
|
-
|
|
97
|
-
|
|
102
|
+
completion = await client.chat.completions.create(
|
|
103
|
+
messages=[
|
|
104
|
+
{
|
|
105
|
+
"role": "user",
|
|
106
|
+
"content": "Tell me about the latest developments in AI",
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
model="sonar",
|
|
98
110
|
)
|
|
99
|
-
print(
|
|
111
|
+
print(completion.id)
|
|
100
112
|
|
|
101
113
|
|
|
102
114
|
asyncio.run(main())
|
|
@@ -128,10 +140,16 @@ async def main() -> None:
|
|
|
128
140
|
api_key="My API Key",
|
|
129
141
|
http_client=DefaultAioHttpClient(),
|
|
130
142
|
) as client:
|
|
131
|
-
|
|
132
|
-
|
|
143
|
+
completion = await client.chat.completions.create(
|
|
144
|
+
messages=[
|
|
145
|
+
{
|
|
146
|
+
"role": "user",
|
|
147
|
+
"content": "Tell me about the latest developments in AI",
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
model="sonar",
|
|
133
151
|
)
|
|
134
|
-
print(
|
|
152
|
+
print(completion.id)
|
|
135
153
|
|
|
136
154
|
|
|
137
155
|
asyncio.run(main())
|
|
@@ -146,6 +164,28 @@ Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typ
|
|
|
146
164
|
|
|
147
165
|
Typed requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.
|
|
148
166
|
|
|
167
|
+
## Nested params
|
|
168
|
+
|
|
169
|
+
Nested parameters are dictionaries, typed using `TypedDict`, for example:
|
|
170
|
+
|
|
171
|
+
```python
|
|
172
|
+
from perplexity import Perplexity
|
|
173
|
+
|
|
174
|
+
client = Perplexity()
|
|
175
|
+
|
|
176
|
+
completion = client.chat.completions.create(
|
|
177
|
+
messages=[
|
|
178
|
+
{
|
|
179
|
+
"content": "string",
|
|
180
|
+
"role": "system",
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
model="sonar",
|
|
184
|
+
web_search_options={},
|
|
185
|
+
)
|
|
186
|
+
print(completion.web_search_options)
|
|
187
|
+
```
|
|
188
|
+
|
|
149
189
|
## Handling errors
|
|
150
190
|
|
|
151
191
|
When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `perplexity.APIConnectionError` is raised.
|
|
@@ -162,8 +202,14 @@ from perplexity import Perplexity
|
|
|
162
202
|
client = Perplexity()
|
|
163
203
|
|
|
164
204
|
try:
|
|
165
|
-
client.
|
|
166
|
-
|
|
205
|
+
client.chat.completions.create(
|
|
206
|
+
messages=[
|
|
207
|
+
{
|
|
208
|
+
"role": "user",
|
|
209
|
+
"content": "What is the capital of France?",
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
model="sonar",
|
|
167
213
|
)
|
|
168
214
|
except perplexity.APIConnectionError as e:
|
|
169
215
|
print("The server could not be reached")
|
|
@@ -207,8 +253,14 @@ client = Perplexity(
|
|
|
207
253
|
)
|
|
208
254
|
|
|
209
255
|
# Or, configure per-request:
|
|
210
|
-
client.with_options(max_retries=5).
|
|
211
|
-
|
|
256
|
+
client.with_options(max_retries=5).chat.completions.create(
|
|
257
|
+
messages=[
|
|
258
|
+
{
|
|
259
|
+
"role": "user",
|
|
260
|
+
"content": "What is the capital of France?",
|
|
261
|
+
}
|
|
262
|
+
],
|
|
263
|
+
model="sonar",
|
|
212
264
|
)
|
|
213
265
|
```
|
|
214
266
|
|
|
@@ -232,8 +284,14 @@ client = Perplexity(
|
|
|
232
284
|
)
|
|
233
285
|
|
|
234
286
|
# Override per-request:
|
|
235
|
-
client.with_options(timeout=5.0).
|
|
236
|
-
|
|
287
|
+
client.with_options(timeout=5.0).chat.completions.create(
|
|
288
|
+
messages=[
|
|
289
|
+
{
|
|
290
|
+
"role": "user",
|
|
291
|
+
"content": "What is the capital of France?",
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
model="sonar",
|
|
237
295
|
)
|
|
238
296
|
```
|
|
239
297
|
|
|
@@ -275,13 +333,17 @@ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to
|
|
|
275
333
|
from perplexity import Perplexity
|
|
276
334
|
|
|
277
335
|
client = Perplexity()
|
|
278
|
-
response = client.
|
|
279
|
-
|
|
336
|
+
response = client.chat.completions.with_raw_response.create(
|
|
337
|
+
messages=[{
|
|
338
|
+
"role": "user",
|
|
339
|
+
"content": "What is the capital of France?",
|
|
340
|
+
}],
|
|
341
|
+
model="sonar",
|
|
280
342
|
)
|
|
281
343
|
print(response.headers.get('X-My-Header'))
|
|
282
344
|
|
|
283
|
-
|
|
284
|
-
print(
|
|
345
|
+
completion = response.parse() # get the object that `chat.completions.create()` would have returned
|
|
346
|
+
print(completion.id)
|
|
285
347
|
```
|
|
286
348
|
|
|
287
349
|
These methods return an [`APIResponse`](https://github.com/ppl-ai/perplexity-py/tree/main/src/perplexity/_response.py) object.
|
|
@@ -295,8 +357,14 @@ The above interface eagerly reads the full response body when you make the reque
|
|
|
295
357
|
To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
|
|
296
358
|
|
|
297
359
|
```python
|
|
298
|
-
with client.
|
|
299
|
-
|
|
360
|
+
with client.chat.completions.with_streaming_response.create(
|
|
361
|
+
messages=[
|
|
362
|
+
{
|
|
363
|
+
"role": "user",
|
|
364
|
+
"content": "What is the capital of France?",
|
|
365
|
+
}
|
|
366
|
+
],
|
|
367
|
+
model="sonar",
|
|
300
368
|
) as response:
|
|
301
369
|
print(response.headers.get("X-My-Header"))
|
|
302
370
|
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
perplexity/__init__.py,sha256=5epbvK3UiJEgvsBW9Ds6RFB6zObkUxYkA9fIQlgUaXA,2655
|
|
2
|
+
perplexity/_base_client.py,sha256=DSeMteXutziRGJA9HqJaoLpG7ktzpU2GPcaIgQT1oZQ,67051
|
|
3
|
+
perplexity/_client.py,sha256=Uy5nrz9S9FTCy3-s1EGLOr-b8LJ2M2GTuQAB1GclZHE,16611
|
|
4
|
+
perplexity/_compat.py,sha256=DQBVORjFb33zch24jzkhM14msvnzY7mmSmgDLaVFUM8,6562
|
|
5
|
+
perplexity/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
|
|
6
|
+
perplexity/_exceptions.py,sha256=v-hOXWSDTEtXcn_By7pPml3HjEmG5HXpbE-RK_A6_0Q,3228
|
|
7
|
+
perplexity/_files.py,sha256=KnEzGi_O756MvKyJ4fOCW_u3JhOeWPQ4RsmDvqihDQU,3545
|
|
8
|
+
perplexity/_models.py,sha256=c29x_mRccdxlGwdUPfSR5eJxGXe74Ea5Dje5igZTrKQ,30024
|
|
9
|
+
perplexity/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
|
|
10
|
+
perplexity/_resource.py,sha256=Pgc8KNBsIc1ltJn94uhDcDl0-3n5RLbe3iC2AiiNRnE,1124
|
|
11
|
+
perplexity/_response.py,sha256=bpqzmVGq6jnivoMkUgt3OI0Rh6xHd6BMcp5PHgSFPb0,28842
|
|
12
|
+
perplexity/_streaming.py,sha256=SQ61v42gFmNiO57uMFUZMAuDlGE0n_EulkZcPgJXt4U,10116
|
|
13
|
+
perplexity/_types.py,sha256=XZYv2_G7oQGhQkjI28-TFIMP_yZZV590TRuKAoLJ3wM,7300
|
|
14
|
+
perplexity/_version.py,sha256=uCysX84wOk6jVxbeJH9qOeK6dKiSul86f3NkeqwTEBk,162
|
|
15
|
+
perplexity/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
|
+
perplexity/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
|
|
17
|
+
perplexity/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
|
|
18
|
+
perplexity/_utils/_datetime_parse.py,sha256=bABTs0Bc6rabdFvnIwXjEhWL15TcRgWZ_6XGTqN8xUk,4204
|
|
19
|
+
perplexity/_utils/_logs.py,sha256=CsE-zYnAQTOCueNGVjEn6bozMyE86gdjMhJDNWDLpaQ,786
|
|
20
|
+
perplexity/_utils/_proxy.py,sha256=aglnj2yBTDyGX9Akk2crZHrl10oqRmceUy2Zp008XEs,1975
|
|
21
|
+
perplexity/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEMU,1364
|
|
22
|
+
perplexity/_utils/_resources_proxy.py,sha256=iMCHPeYmXwSunawEq3fcKGszOF3kL9w1ob-48Xnl04I,609
|
|
23
|
+
perplexity/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
|
|
24
|
+
perplexity/_utils/_sync.py,sha256=TpGLrrhRNWTJtODNE6Fup3_k7zrWm1j2RlirzBwre-0,2862
|
|
25
|
+
perplexity/_utils/_transform.py,sha256=i_U4R82RtQJtKKCriwFqmfcWjtwmmsiiF1AEXKQ_OPo,15957
|
|
26
|
+
perplexity/_utils/_typing.py,sha256=N_5PPuFNsaygbtA_npZd98SVN1LQQvFTKL6bkWPBZGU,4786
|
|
27
|
+
perplexity/_utils/_utils.py,sha256=D2QE7mVPNEJzaB50u8rvDQAUDS5jx7JoeFD7zdj-TeI,12231
|
|
28
|
+
perplexity/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
|
29
|
+
perplexity/resources/__init__.py,sha256=gQcgmiNY3uzaN5eAh9eclKJZRSaklhYcCF4ZTnFqemc,1877
|
|
30
|
+
perplexity/resources/content.py,sha256=6nv6_mtcvEnREDHbtia8EGghlttquY77fzw-akZB28U,6073
|
|
31
|
+
perplexity/resources/search.py,sha256=V67w1ql-6qsHjxj5WZ6CBHb0-NvMDi7U8Wg_flqfk74,12140
|
|
32
|
+
perplexity/resources/async_/__init__.py,sha256=hvcoEKx4nCYPDoBSO_sk-uNVQ7y-fmNhzvAlvX19TIo,964
|
|
33
|
+
perplexity/resources/async_/async_.py,sha256=p1-C_8m2cdS0NR3oa7FfdM8gxHH13LQWX6c9lh1gnFo,3510
|
|
34
|
+
perplexity/resources/async_/chat/__init__.py,sha256=BVAfz9TM3DT5W9f_mt0P9YRxL_MsUxKCWAH6u1iogmA,1041
|
|
35
|
+
perplexity/resources/async_/chat/chat.py,sha256=wOHHfLclvjAVv-btASi6EcdY5gJZQdwAdbR9Q9H4BKw,3658
|
|
36
|
+
perplexity/resources/async_/chat/completions.py,sha256=aQEd_z5FRl3N5YIqj3hC2LFFDLK70aVu9AubzodNNNk,13324
|
|
37
|
+
perplexity/resources/chat/__init__.py,sha256=BVAfz9TM3DT5W9f_mt0P9YRxL_MsUxKCWAH6u1iogmA,1041
|
|
38
|
+
perplexity/resources/chat/chat.py,sha256=P143HQo1m9MknnYtSq4JzmDofDtGHlXHzTaLEyr1a7k,3656
|
|
39
|
+
perplexity/resources/chat/completions.py,sha256=H0UwLYxERV2LXNj9ZBZlqLNPcB1U3dv9rqsq3BHKgn8,13315
|
|
40
|
+
perplexity/types/__init__.py,sha256=ho1vOafTpRoPrIpgk1taoebxSZ9QbkyBPWJCMHlbyKU,589
|
|
41
|
+
perplexity/types/content_create_params.py,sha256=qP3YBo-7wzh_1SNakoBO9ssUE8VmkLmin5pY6ebfdME,386
|
|
42
|
+
perplexity/types/content_create_response.py,sha256=_iwdGBc28BC4aYNIQ4p-yrc7ltVsUUbK7cb8J-5Ayk0,735
|
|
43
|
+
perplexity/types/search_create_params.py,sha256=zpsqdiQ78bDjPUE-dCIWZHQf5U_HyUrI55MnUHlW_Rg,2042
|
|
44
|
+
perplexity/types/search_create_response.py,sha256=SSOaX0FBdDeYL2dVlzYJraYKedjoPObzrG_RPw1SmDw,803
|
|
45
|
+
perplexity/types/async_/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
|
46
|
+
perplexity/types/async_/chat/__init__.py,sha256=1ULArAJormThTsN1-TBsDQ-gKB6HIIJNtVaoR8PPJRg,555
|
|
47
|
+
perplexity/types/async_/chat/completion_create_params.py,sha256=CO76R15VQ_Bnt6pQ-huUXPJdeDFK2OzoXo5uSjHtIec,3048
|
|
48
|
+
perplexity/types/async_/chat/completion_create_response.py,sha256=fdwHTGwQi01ysHJMX-nEQ5JJUDy0naZhSJ30Rhb5nNU,1259
|
|
49
|
+
perplexity/types/async_/chat/completion_get_response.py,sha256=6vOpEH8X-V2kLnN3GSzYa6VadZ4J-e9YHX6ApJvdpzw,1253
|
|
50
|
+
perplexity/types/async_/chat/completion_list_params.py,sha256=rRPgrSIOl5PZ8HeDAOPbKTQ8_u0sGubtYnYdsomuy7Y,390
|
|
51
|
+
perplexity/types/async_/chat/completion_list_response.py,sha256=tI_XxSUmo7JnBwtpBl7Vb8R1rsOTHlYnScG5_LL8k0s,645
|
|
52
|
+
perplexity/types/chat/__init__.py,sha256=A5VCUPqJZydjjOqEXC01GXmcDkKM3bq6zuCu9lmi5Es,303
|
|
53
|
+
perplexity/types/chat/completion_create_params.py,sha256=GEF0xGk3krsQbUaFMJYKcph573Py571Rm2q8Qwiesww,2921
|
|
54
|
+
perplexity/types/chat/completion_create_response.py,sha256=5UjMQEQC8wUcM7H9FllzLpwoSM9x9gSd0dtXFXVrqcU,718
|
|
55
|
+
perplexity/types/shared/__init__.py,sha256=I_5WnFCvU4sKlUMTpqkuQCmyUpU4MHrslicgzGNop80,293
|
|
56
|
+
perplexity/types/shared/chat_choice.py,sha256=gez_WTykZW7I54rGr0WJAvdPVExdvc1BgR4E8e57dsY,386
|
|
57
|
+
perplexity/types/shared/chat_message.py,sha256=_KkDHtLJylc9NuJHQEjdBpMy2qEIxV2lz1Uana8hzNk,847
|
|
58
|
+
perplexity/types/shared/search_result.py,sha256=pm4L1gWI9_8NtpI1kjdfXzoOpD0CDE4IhrG6yED98go,271
|
|
59
|
+
perplexity/types/shared/usage_info.py,sha256=TGAReiJmZBjfXVxGsrKNaT7E0f5pi_D3GqB2qqjXOCc,458
|
|
60
|
+
perplexity/types/shared_params/__init__.py,sha256=vOrN5p21OFWPGWV_y68OkZnQltAXa53y308Tg2Lmct4,140
|
|
61
|
+
perplexity/types/shared_params/chat_message.py,sha256=haPdpCCjcOfLzcP25VeiVsSBuipz43co8HF_oFfWCf8,943
|
|
62
|
+
perplexityai-0.7.0.dist-info/METADATA,sha256=LBcuSfZ1GtdG5krefpUPQ7Gy2xkxXNRrJOfOgUCB1MI,15261
|
|
63
|
+
perplexityai-0.7.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
64
|
+
perplexityai-0.7.0.dist-info/licenses/LICENSE,sha256=hkCriG3MT4vBhhc0roAOsrCE7IEDr1ywVEMonVHGmAQ,11340
|
|
65
|
+
perplexityai-0.7.0.dist-info/RECORD,,
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
perplexity/__init__.py,sha256=5epbvK3UiJEgvsBW9Ds6RFB6zObkUxYkA9fIQlgUaXA,2655
|
|
2
|
-
perplexity/_base_client.py,sha256=DSeMteXutziRGJA9HqJaoLpG7ktzpU2GPcaIgQT1oZQ,67051
|
|
3
|
-
perplexity/_client.py,sha256=9vsUrMdMmEO8Hz7yAEQJbTd3jszVlJERm0TMLyCQuBY,15080
|
|
4
|
-
perplexity/_compat.py,sha256=DQBVORjFb33zch24jzkhM14msvnzY7mmSmgDLaVFUM8,6562
|
|
5
|
-
perplexity/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
|
|
6
|
-
perplexity/_exceptions.py,sha256=v-hOXWSDTEtXcn_By7pPml3HjEmG5HXpbE-RK_A6_0Q,3228
|
|
7
|
-
perplexity/_files.py,sha256=KnEzGi_O756MvKyJ4fOCW_u3JhOeWPQ4RsmDvqihDQU,3545
|
|
8
|
-
perplexity/_models.py,sha256=c29x_mRccdxlGwdUPfSR5eJxGXe74Ea5Dje5igZTrKQ,30024
|
|
9
|
-
perplexity/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
|
|
10
|
-
perplexity/_resource.py,sha256=Pgc8KNBsIc1ltJn94uhDcDl0-3n5RLbe3iC2AiiNRnE,1124
|
|
11
|
-
perplexity/_response.py,sha256=bpqzmVGq6jnivoMkUgt3OI0Rh6xHd6BMcp5PHgSFPb0,28842
|
|
12
|
-
perplexity/_streaming.py,sha256=SQ61v42gFmNiO57uMFUZMAuDlGE0n_EulkZcPgJXt4U,10116
|
|
13
|
-
perplexity/_types.py,sha256=XZYv2_G7oQGhQkjI28-TFIMP_yZZV590TRuKAoLJ3wM,7300
|
|
14
|
-
perplexity/_version.py,sha256=r7xvBu1r6SCzn2w8FnNCT0y6vSjIPhARbGd3iWRTuDU,162
|
|
15
|
-
perplexity/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
|
-
perplexity/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
|
|
17
|
-
perplexity/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
|
|
18
|
-
perplexity/_utils/_datetime_parse.py,sha256=bABTs0Bc6rabdFvnIwXjEhWL15TcRgWZ_6XGTqN8xUk,4204
|
|
19
|
-
perplexity/_utils/_logs.py,sha256=CsE-zYnAQTOCueNGVjEn6bozMyE86gdjMhJDNWDLpaQ,786
|
|
20
|
-
perplexity/_utils/_proxy.py,sha256=aglnj2yBTDyGX9Akk2crZHrl10oqRmceUy2Zp008XEs,1975
|
|
21
|
-
perplexity/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEMU,1364
|
|
22
|
-
perplexity/_utils/_resources_proxy.py,sha256=iMCHPeYmXwSunawEq3fcKGszOF3kL9w1ob-48Xnl04I,609
|
|
23
|
-
perplexity/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
|
|
24
|
-
perplexity/_utils/_sync.py,sha256=TpGLrrhRNWTJtODNE6Fup3_k7zrWm1j2RlirzBwre-0,2862
|
|
25
|
-
perplexity/_utils/_transform.py,sha256=i_U4R82RtQJtKKCriwFqmfcWjtwmmsiiF1AEXKQ_OPo,15957
|
|
26
|
-
perplexity/_utils/_typing.py,sha256=N_5PPuFNsaygbtA_npZd98SVN1LQQvFTKL6bkWPBZGU,4786
|
|
27
|
-
perplexity/_utils/_utils.py,sha256=D2QE7mVPNEJzaB50u8rvDQAUDS5jx7JoeFD7zdj-TeI,12231
|
|
28
|
-
perplexity/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
|
29
|
-
perplexity/resources/__init__.py,sha256=e0o4Fhm2rFANVaRFoUJUmfCjJunhyhiJHWWRRnwv_yg,552
|
|
30
|
-
perplexity/resources/search.py,sha256=8wlC-XJbprA1q6Ba_MZQ4aABUKvPnpBuFoY__YWaZOY,9028
|
|
31
|
-
perplexity/types/__init__.py,sha256=yc0WYtyPE_vei_eT8gwY9-g7otC7EJjQpKSdeBcte4Y,279
|
|
32
|
-
perplexity/types/search_create_params.py,sha256=RR5716GptBeuX99P0VHICzd5fEYsiwKdz1bW8nAlujI,886
|
|
33
|
-
perplexity/types/search_create_response.py,sha256=lOteaJs4qpULkx5GLtEs6HhetqIBhM0I1AC1moWTeI8,426
|
|
34
|
-
perplexityai-0.5.0.dist-info/METADATA,sha256=WoYAXSvZB8oFZKmFekj5FLK8z4vzq7mv9CXNEY4ijto,13621
|
|
35
|
-
perplexityai-0.5.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
36
|
-
perplexityai-0.5.0.dist-info/licenses/LICENSE,sha256=hkCriG3MT4vBhhc0roAOsrCE7IEDr1ywVEMonVHGmAQ,11340
|
|
37
|
-
perplexityai-0.5.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|