perplexityai 0.13.0__py3-none-any.whl → 0.14.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/_version.py +1 -1
- perplexity/resources/async_/chat/completions.py +10 -12
- perplexity/resources/chat/completions.py +46 -6
- perplexity/resources/search.py +6 -6
- perplexity/types/async_/chat/completion_create_params.py +9 -1
- perplexity/types/async_/chat/completion_get_params.py +2 -0
- perplexity/types/chat/completion_create_params.py +9 -1
- perplexity/types/search_create_params.py +1 -1
- perplexity/types/search_create_response.py +2 -0
- perplexity/types/shared/api_public_search_result.py +3 -0
- perplexity/types/shared_params/api_public_search_result.py +3 -1
- perplexity/types/stream_chunk.py +2 -2
- {perplexityai-0.13.0.dist-info → perplexityai-0.14.0.dist-info}/METADATA +1 -1
- {perplexityai-0.13.0.dist-info → perplexityai-0.14.0.dist-info}/RECORD +16 -16
- {perplexityai-0.13.0.dist-info → perplexityai-0.14.0.dist-info}/WHEEL +0 -0
- {perplexityai-0.13.0.dist-info → perplexityai-0.14.0.dist-info}/licenses/LICENSE +0 -0
perplexity/_version.py
CHANGED
|
@@ -58,10 +58,7 @@ class CompletionsResource(SyncAPIResource):
|
|
|
58
58
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
59
59
|
) -> CompletionCreateResponse:
|
|
60
60
|
"""
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
This endpoint creates an asynchronous chat completion job and returns a job ID
|
|
64
|
-
that can be used to poll for results.
|
|
61
|
+
Submit an asynchronous chat completion request.
|
|
65
62
|
|
|
66
63
|
Args:
|
|
67
64
|
extra_headers: Send extra headers
|
|
@@ -97,7 +94,7 @@ class CompletionsResource(SyncAPIResource):
|
|
|
97
94
|
extra_body: Body | None = None,
|
|
98
95
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
99
96
|
) -> CompletionListResponse:
|
|
100
|
-
"""list all
|
|
97
|
+
"""Retrieve a list of all asynchronous chat completion requests for a given user."""
|
|
101
98
|
return self._get(
|
|
102
99
|
"/async/chat/completions",
|
|
103
100
|
options=make_request_options(
|
|
@@ -113,6 +110,7 @@ class CompletionsResource(SyncAPIResource):
|
|
|
113
110
|
local_mode: bool | Omit = omit,
|
|
114
111
|
x_client_env: str | Omit = omit,
|
|
115
112
|
x_client_name: str | Omit = omit,
|
|
113
|
+
x_created_at_epoch_seconds: str | Omit = omit,
|
|
116
114
|
x_request_time: str | Omit = omit,
|
|
117
115
|
x_usage_tier: str | Omit = omit,
|
|
118
116
|
x_user_id: str | Omit = omit,
|
|
@@ -124,7 +122,7 @@ class CompletionsResource(SyncAPIResource):
|
|
|
124
122
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
125
123
|
) -> CompletionGetResponse:
|
|
126
124
|
"""
|
|
127
|
-
|
|
125
|
+
Retrieve the response for a given asynchronous chat completion request.
|
|
128
126
|
|
|
129
127
|
Args:
|
|
130
128
|
extra_headers: Send extra headers
|
|
@@ -142,6 +140,7 @@ class CompletionsResource(SyncAPIResource):
|
|
|
142
140
|
{
|
|
143
141
|
"x-client-env": x_client_env,
|
|
144
142
|
"x-client-name": x_client_name,
|
|
143
|
+
"x-created-at-epoch-seconds": x_created_at_epoch_seconds,
|
|
145
144
|
"x-request-time": x_request_time,
|
|
146
145
|
"x-usage-tier": x_usage_tier,
|
|
147
146
|
"x-user-id": x_user_id,
|
|
@@ -195,10 +194,7 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
195
194
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
196
195
|
) -> CompletionCreateResponse:
|
|
197
196
|
"""
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
This endpoint creates an asynchronous chat completion job and returns a job ID
|
|
201
|
-
that can be used to poll for results.
|
|
197
|
+
Submit an asynchronous chat completion request.
|
|
202
198
|
|
|
203
199
|
Args:
|
|
204
200
|
extra_headers: Send extra headers
|
|
@@ -234,7 +230,7 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
234
230
|
extra_body: Body | None = None,
|
|
235
231
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
236
232
|
) -> CompletionListResponse:
|
|
237
|
-
"""list all
|
|
233
|
+
"""Retrieve a list of all asynchronous chat completion requests for a given user."""
|
|
238
234
|
return await self._get(
|
|
239
235
|
"/async/chat/completions",
|
|
240
236
|
options=make_request_options(
|
|
@@ -250,6 +246,7 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
250
246
|
local_mode: bool | Omit = omit,
|
|
251
247
|
x_client_env: str | Omit = omit,
|
|
252
248
|
x_client_name: str | Omit = omit,
|
|
249
|
+
x_created_at_epoch_seconds: str | Omit = omit,
|
|
253
250
|
x_request_time: str | Omit = omit,
|
|
254
251
|
x_usage_tier: str | Omit = omit,
|
|
255
252
|
x_user_id: str | Omit = omit,
|
|
@@ -261,7 +258,7 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
261
258
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
262
259
|
) -> CompletionGetResponse:
|
|
263
260
|
"""
|
|
264
|
-
|
|
261
|
+
Retrieve the response for a given asynchronous chat completion request.
|
|
265
262
|
|
|
266
263
|
Args:
|
|
267
264
|
extra_headers: Send extra headers
|
|
@@ -279,6 +276,7 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
279
276
|
{
|
|
280
277
|
"x-client-env": x_client_env,
|
|
281
278
|
"x-client-name": x_client_name,
|
|
279
|
+
"x-created-at-epoch-seconds": x_created_at_epoch_seconds,
|
|
282
280
|
"x-request-time": x_request_time,
|
|
283
281
|
"x-usage-tier": x_usage_tier,
|
|
284
282
|
"x-user-id": x_user_id,
|
|
@@ -68,6 +68,7 @@ class CompletionsResource(SyncAPIResource):
|
|
|
68
68
|
has_image_url: bool | Omit = omit,
|
|
69
69
|
image_domain_filter: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
70
70
|
image_format_filter: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
71
|
+
language_preference: Optional[str] | Omit = omit,
|
|
71
72
|
last_updated_after_filter: Optional[str] | Omit = omit,
|
|
72
73
|
last_updated_before_filter: Optional[str] | Omit = omit,
|
|
73
74
|
latitude: Optional[float] | Omit = omit,
|
|
@@ -95,7 +96,9 @@ class CompletionsResource(SyncAPIResource):
|
|
|
95
96
|
search_tenant: Optional[str] | Omit = omit,
|
|
96
97
|
stop: Union[str, SequenceNotStr[str], None] | Omit = omit,
|
|
97
98
|
stream: Optional[Literal[False]] | Omit = omit,
|
|
99
|
+
stream_mode: Literal["full", "concise"] | Omit = omit,
|
|
98
100
|
temperature: Optional[float] | Omit = omit,
|
|
101
|
+
thread_id: Optional[str] | Omit = omit,
|
|
99
102
|
tool_choice: Optional[Literal["none", "auto", "required"]] | Omit = omit,
|
|
100
103
|
tools: Optional[Iterable[completion_create_params.Tool]] | Omit = omit,
|
|
101
104
|
top_k: Optional[int] | Omit = omit,
|
|
@@ -103,6 +106,7 @@ class CompletionsResource(SyncAPIResource):
|
|
|
103
106
|
top_p: Optional[float] | Omit = omit,
|
|
104
107
|
updated_after_timestamp: Optional[int] | Omit = omit,
|
|
105
108
|
updated_before_timestamp: Optional[int] | Omit = omit,
|
|
109
|
+
use_threads: Optional[bool] | Omit = omit,
|
|
106
110
|
web_search_options: completion_create_params.WebSearchOptions | Omit = omit,
|
|
107
111
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
108
112
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -112,7 +116,7 @@ class CompletionsResource(SyncAPIResource):
|
|
|
112
116
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
113
117
|
) -> StreamChunk:
|
|
114
118
|
"""
|
|
115
|
-
|
|
119
|
+
Generate a chat completion response for the given conversation.
|
|
116
120
|
|
|
117
121
|
Args:
|
|
118
122
|
extra_headers: Send extra headers
|
|
@@ -148,6 +152,7 @@ class CompletionsResource(SyncAPIResource):
|
|
|
148
152
|
has_image_url: bool | Omit = omit,
|
|
149
153
|
image_domain_filter: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
150
154
|
image_format_filter: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
155
|
+
language_preference: Optional[str] | Omit = omit,
|
|
151
156
|
last_updated_after_filter: Optional[str] | Omit = omit,
|
|
152
157
|
last_updated_before_filter: Optional[str] | Omit = omit,
|
|
153
158
|
latitude: Optional[float] | Omit = omit,
|
|
@@ -174,7 +179,9 @@ class CompletionsResource(SyncAPIResource):
|
|
|
174
179
|
search_recency_filter: Optional[Literal["hour", "day", "week", "month", "year"]] | Omit = omit,
|
|
175
180
|
search_tenant: Optional[str] | Omit = omit,
|
|
176
181
|
stop: Union[str, SequenceNotStr[str], None] | Omit = omit,
|
|
182
|
+
stream_mode: Literal["full", "concise"] | Omit = omit,
|
|
177
183
|
temperature: Optional[float] | Omit = omit,
|
|
184
|
+
thread_id: Optional[str] | Omit = omit,
|
|
178
185
|
tool_choice: Optional[Literal["none", "auto", "required"]] | Omit = omit,
|
|
179
186
|
tools: Optional[Iterable[completion_create_params.Tool]] | Omit = omit,
|
|
180
187
|
top_k: Optional[int] | Omit = omit,
|
|
@@ -182,6 +189,7 @@ class CompletionsResource(SyncAPIResource):
|
|
|
182
189
|
top_p: Optional[float] | Omit = omit,
|
|
183
190
|
updated_after_timestamp: Optional[int] | Omit = omit,
|
|
184
191
|
updated_before_timestamp: Optional[int] | Omit = omit,
|
|
192
|
+
use_threads: Optional[bool] | Omit = omit,
|
|
185
193
|
web_search_options: completion_create_params.WebSearchOptions | Omit = omit,
|
|
186
194
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
187
195
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -191,7 +199,7 @@ class CompletionsResource(SyncAPIResource):
|
|
|
191
199
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
192
200
|
) -> Stream[StreamChunk]:
|
|
193
201
|
"""
|
|
194
|
-
|
|
202
|
+
Generate a chat completion response for the given conversation.
|
|
195
203
|
|
|
196
204
|
Args:
|
|
197
205
|
extra_headers: Send extra headers
|
|
@@ -227,6 +235,7 @@ class CompletionsResource(SyncAPIResource):
|
|
|
227
235
|
has_image_url: bool | Omit = omit,
|
|
228
236
|
image_domain_filter: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
229
237
|
image_format_filter: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
238
|
+
language_preference: Optional[str] | Omit = omit,
|
|
230
239
|
last_updated_after_filter: Optional[str] | Omit = omit,
|
|
231
240
|
last_updated_before_filter: Optional[str] | Omit = omit,
|
|
232
241
|
latitude: Optional[float] | Omit = omit,
|
|
@@ -253,7 +262,9 @@ class CompletionsResource(SyncAPIResource):
|
|
|
253
262
|
search_recency_filter: Optional[Literal["hour", "day", "week", "month", "year"]] | Omit = omit,
|
|
254
263
|
search_tenant: Optional[str] | Omit = omit,
|
|
255
264
|
stop: Union[str, SequenceNotStr[str], None] | Omit = omit,
|
|
265
|
+
stream_mode: Literal["full", "concise"] | Omit = omit,
|
|
256
266
|
temperature: Optional[float] | Omit = omit,
|
|
267
|
+
thread_id: Optional[str] | Omit = omit,
|
|
257
268
|
tool_choice: Optional[Literal["none", "auto", "required"]] | Omit = omit,
|
|
258
269
|
tools: Optional[Iterable[completion_create_params.Tool]] | Omit = omit,
|
|
259
270
|
top_k: Optional[int] | Omit = omit,
|
|
@@ -261,6 +272,7 @@ class CompletionsResource(SyncAPIResource):
|
|
|
261
272
|
top_p: Optional[float] | Omit = omit,
|
|
262
273
|
updated_after_timestamp: Optional[int] | Omit = omit,
|
|
263
274
|
updated_before_timestamp: Optional[int] | Omit = omit,
|
|
275
|
+
use_threads: Optional[bool] | Omit = omit,
|
|
264
276
|
web_search_options: completion_create_params.WebSearchOptions | Omit = omit,
|
|
265
277
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
266
278
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -270,7 +282,7 @@ class CompletionsResource(SyncAPIResource):
|
|
|
270
282
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
271
283
|
) -> StreamChunk | Stream[StreamChunk]:
|
|
272
284
|
"""
|
|
273
|
-
|
|
285
|
+
Generate a chat completion response for the given conversation.
|
|
274
286
|
|
|
275
287
|
Args:
|
|
276
288
|
extra_headers: Send extra headers
|
|
@@ -305,6 +317,7 @@ class CompletionsResource(SyncAPIResource):
|
|
|
305
317
|
has_image_url: bool | Omit = omit,
|
|
306
318
|
image_domain_filter: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
307
319
|
image_format_filter: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
320
|
+
language_preference: Optional[str] | Omit = omit,
|
|
308
321
|
last_updated_after_filter: Optional[str] | Omit = omit,
|
|
309
322
|
last_updated_before_filter: Optional[str] | Omit = omit,
|
|
310
323
|
latitude: Optional[float] | Omit = omit,
|
|
@@ -332,7 +345,9 @@ class CompletionsResource(SyncAPIResource):
|
|
|
332
345
|
search_tenant: Optional[str] | Omit = omit,
|
|
333
346
|
stop: Union[str, SequenceNotStr[str], None] | Omit = omit,
|
|
334
347
|
stream: Optional[Literal[False]] | Literal[True] | Omit = omit,
|
|
348
|
+
stream_mode: Literal["full", "concise"] | Omit = omit,
|
|
335
349
|
temperature: Optional[float] | Omit = omit,
|
|
350
|
+
thread_id: Optional[str] | Omit = omit,
|
|
336
351
|
tool_choice: Optional[Literal["none", "auto", "required"]] | Omit = omit,
|
|
337
352
|
tools: Optional[Iterable[completion_create_params.Tool]] | Omit = omit,
|
|
338
353
|
top_k: Optional[int] | Omit = omit,
|
|
@@ -340,6 +355,7 @@ class CompletionsResource(SyncAPIResource):
|
|
|
340
355
|
top_p: Optional[float] | Omit = omit,
|
|
341
356
|
updated_after_timestamp: Optional[int] | Omit = omit,
|
|
342
357
|
updated_before_timestamp: Optional[int] | Omit = omit,
|
|
358
|
+
use_threads: Optional[bool] | Omit = omit,
|
|
343
359
|
web_search_options: completion_create_params.WebSearchOptions | Omit = omit,
|
|
344
360
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
345
361
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -370,6 +386,7 @@ class CompletionsResource(SyncAPIResource):
|
|
|
370
386
|
"has_image_url": has_image_url,
|
|
371
387
|
"image_domain_filter": image_domain_filter,
|
|
372
388
|
"image_format_filter": image_format_filter,
|
|
389
|
+
"language_preference": language_preference,
|
|
373
390
|
"last_updated_after_filter": last_updated_after_filter,
|
|
374
391
|
"last_updated_before_filter": last_updated_before_filter,
|
|
375
392
|
"latitude": latitude,
|
|
@@ -397,7 +414,9 @@ class CompletionsResource(SyncAPIResource):
|
|
|
397
414
|
"search_tenant": search_tenant,
|
|
398
415
|
"stop": stop,
|
|
399
416
|
"stream": stream,
|
|
417
|
+
"stream_mode": stream_mode,
|
|
400
418
|
"temperature": temperature,
|
|
419
|
+
"thread_id": thread_id,
|
|
401
420
|
"tool_choice": tool_choice,
|
|
402
421
|
"tools": tools,
|
|
403
422
|
"top_k": top_k,
|
|
@@ -405,6 +424,7 @@ class CompletionsResource(SyncAPIResource):
|
|
|
405
424
|
"top_p": top_p,
|
|
406
425
|
"updated_after_timestamp": updated_after_timestamp,
|
|
407
426
|
"updated_before_timestamp": updated_before_timestamp,
|
|
427
|
+
"use_threads": use_threads,
|
|
408
428
|
"web_search_options": web_search_options,
|
|
409
429
|
},
|
|
410
430
|
completion_create_params.CompletionCreateParamsStreaming
|
|
@@ -462,6 +482,7 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
462
482
|
has_image_url: bool | Omit = omit,
|
|
463
483
|
image_domain_filter: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
464
484
|
image_format_filter: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
485
|
+
language_preference: Optional[str] | Omit = omit,
|
|
465
486
|
last_updated_after_filter: Optional[str] | Omit = omit,
|
|
466
487
|
last_updated_before_filter: Optional[str] | Omit = omit,
|
|
467
488
|
latitude: Optional[float] | Omit = omit,
|
|
@@ -489,7 +510,9 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
489
510
|
search_tenant: Optional[str] | Omit = omit,
|
|
490
511
|
stop: Union[str, SequenceNotStr[str], None] | Omit = omit,
|
|
491
512
|
stream: Optional[Literal[False]] | Omit = omit,
|
|
513
|
+
stream_mode: Literal["full", "concise"] | Omit = omit,
|
|
492
514
|
temperature: Optional[float] | Omit = omit,
|
|
515
|
+
thread_id: Optional[str] | Omit = omit,
|
|
493
516
|
tool_choice: Optional[Literal["none", "auto", "required"]] | Omit = omit,
|
|
494
517
|
tools: Optional[Iterable[completion_create_params.Tool]] | Omit = omit,
|
|
495
518
|
top_k: Optional[int] | Omit = omit,
|
|
@@ -497,6 +520,7 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
497
520
|
top_p: Optional[float] | Omit = omit,
|
|
498
521
|
updated_after_timestamp: Optional[int] | Omit = omit,
|
|
499
522
|
updated_before_timestamp: Optional[int] | Omit = omit,
|
|
523
|
+
use_threads: Optional[bool] | Omit = omit,
|
|
500
524
|
web_search_options: completion_create_params.WebSearchOptions | Omit = omit,
|
|
501
525
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
502
526
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -506,7 +530,7 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
506
530
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
507
531
|
) -> StreamChunk:
|
|
508
532
|
"""
|
|
509
|
-
|
|
533
|
+
Generate a chat completion response for the given conversation.
|
|
510
534
|
|
|
511
535
|
Args:
|
|
512
536
|
extra_headers: Send extra headers
|
|
@@ -542,6 +566,7 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
542
566
|
has_image_url: bool | Omit = omit,
|
|
543
567
|
image_domain_filter: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
544
568
|
image_format_filter: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
569
|
+
language_preference: Optional[str] | Omit = omit,
|
|
545
570
|
last_updated_after_filter: Optional[str] | Omit = omit,
|
|
546
571
|
last_updated_before_filter: Optional[str] | Omit = omit,
|
|
547
572
|
latitude: Optional[float] | Omit = omit,
|
|
@@ -568,7 +593,9 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
568
593
|
search_recency_filter: Optional[Literal["hour", "day", "week", "month", "year"]] | Omit = omit,
|
|
569
594
|
search_tenant: Optional[str] | Omit = omit,
|
|
570
595
|
stop: Union[str, SequenceNotStr[str], None] | Omit = omit,
|
|
596
|
+
stream_mode: Literal["full", "concise"] | Omit = omit,
|
|
571
597
|
temperature: Optional[float] | Omit = omit,
|
|
598
|
+
thread_id: Optional[str] | Omit = omit,
|
|
572
599
|
tool_choice: Optional[Literal["none", "auto", "required"]] | Omit = omit,
|
|
573
600
|
tools: Optional[Iterable[completion_create_params.Tool]] | Omit = omit,
|
|
574
601
|
top_k: Optional[int] | Omit = omit,
|
|
@@ -576,6 +603,7 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
576
603
|
top_p: Optional[float] | Omit = omit,
|
|
577
604
|
updated_after_timestamp: Optional[int] | Omit = omit,
|
|
578
605
|
updated_before_timestamp: Optional[int] | Omit = omit,
|
|
606
|
+
use_threads: Optional[bool] | Omit = omit,
|
|
579
607
|
web_search_options: completion_create_params.WebSearchOptions | Omit = omit,
|
|
580
608
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
581
609
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -585,7 +613,7 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
585
613
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
586
614
|
) -> AsyncStream[StreamChunk]:
|
|
587
615
|
"""
|
|
588
|
-
|
|
616
|
+
Generate a chat completion response for the given conversation.
|
|
589
617
|
|
|
590
618
|
Args:
|
|
591
619
|
extra_headers: Send extra headers
|
|
@@ -621,6 +649,7 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
621
649
|
has_image_url: bool | Omit = omit,
|
|
622
650
|
image_domain_filter: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
623
651
|
image_format_filter: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
652
|
+
language_preference: Optional[str] | Omit = omit,
|
|
624
653
|
last_updated_after_filter: Optional[str] | Omit = omit,
|
|
625
654
|
last_updated_before_filter: Optional[str] | Omit = omit,
|
|
626
655
|
latitude: Optional[float] | Omit = omit,
|
|
@@ -647,7 +676,9 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
647
676
|
search_recency_filter: Optional[Literal["hour", "day", "week", "month", "year"]] | Omit = omit,
|
|
648
677
|
search_tenant: Optional[str] | Omit = omit,
|
|
649
678
|
stop: Union[str, SequenceNotStr[str], None] | Omit = omit,
|
|
679
|
+
stream_mode: Literal["full", "concise"] | Omit = omit,
|
|
650
680
|
temperature: Optional[float] | Omit = omit,
|
|
681
|
+
thread_id: Optional[str] | Omit = omit,
|
|
651
682
|
tool_choice: Optional[Literal["none", "auto", "required"]] | Omit = omit,
|
|
652
683
|
tools: Optional[Iterable[completion_create_params.Tool]] | Omit = omit,
|
|
653
684
|
top_k: Optional[int] | Omit = omit,
|
|
@@ -655,6 +686,7 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
655
686
|
top_p: Optional[float] | Omit = omit,
|
|
656
687
|
updated_after_timestamp: Optional[int] | Omit = omit,
|
|
657
688
|
updated_before_timestamp: Optional[int] | Omit = omit,
|
|
689
|
+
use_threads: Optional[bool] | Omit = omit,
|
|
658
690
|
web_search_options: completion_create_params.WebSearchOptions | Omit = omit,
|
|
659
691
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
660
692
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -664,7 +696,7 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
664
696
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
665
697
|
) -> StreamChunk | AsyncStream[StreamChunk]:
|
|
666
698
|
"""
|
|
667
|
-
|
|
699
|
+
Generate a chat completion response for the given conversation.
|
|
668
700
|
|
|
669
701
|
Args:
|
|
670
702
|
extra_headers: Send extra headers
|
|
@@ -699,6 +731,7 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
699
731
|
has_image_url: bool | Omit = omit,
|
|
700
732
|
image_domain_filter: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
701
733
|
image_format_filter: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
734
|
+
language_preference: Optional[str] | Omit = omit,
|
|
702
735
|
last_updated_after_filter: Optional[str] | Omit = omit,
|
|
703
736
|
last_updated_before_filter: Optional[str] | Omit = omit,
|
|
704
737
|
latitude: Optional[float] | Omit = omit,
|
|
@@ -726,7 +759,9 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
726
759
|
search_tenant: Optional[str] | Omit = omit,
|
|
727
760
|
stop: Union[str, SequenceNotStr[str], None] | Omit = omit,
|
|
728
761
|
stream: Optional[Literal[False]] | Literal[True] | Omit = omit,
|
|
762
|
+
stream_mode: Literal["full", "concise"] | Omit = omit,
|
|
729
763
|
temperature: Optional[float] | Omit = omit,
|
|
764
|
+
thread_id: Optional[str] | Omit = omit,
|
|
730
765
|
tool_choice: Optional[Literal["none", "auto", "required"]] | Omit = omit,
|
|
731
766
|
tools: Optional[Iterable[completion_create_params.Tool]] | Omit = omit,
|
|
732
767
|
top_k: Optional[int] | Omit = omit,
|
|
@@ -734,6 +769,7 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
734
769
|
top_p: Optional[float] | Omit = omit,
|
|
735
770
|
updated_after_timestamp: Optional[int] | Omit = omit,
|
|
736
771
|
updated_before_timestamp: Optional[int] | Omit = omit,
|
|
772
|
+
use_threads: Optional[bool] | Omit = omit,
|
|
737
773
|
web_search_options: completion_create_params.WebSearchOptions | Omit = omit,
|
|
738
774
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
739
775
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -764,6 +800,7 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
764
800
|
"has_image_url": has_image_url,
|
|
765
801
|
"image_domain_filter": image_domain_filter,
|
|
766
802
|
"image_format_filter": image_format_filter,
|
|
803
|
+
"language_preference": language_preference,
|
|
767
804
|
"last_updated_after_filter": last_updated_after_filter,
|
|
768
805
|
"last_updated_before_filter": last_updated_before_filter,
|
|
769
806
|
"latitude": latitude,
|
|
@@ -791,7 +828,9 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
791
828
|
"search_tenant": search_tenant,
|
|
792
829
|
"stop": stop,
|
|
793
830
|
"stream": stream,
|
|
831
|
+
"stream_mode": stream_mode,
|
|
794
832
|
"temperature": temperature,
|
|
833
|
+
"thread_id": thread_id,
|
|
795
834
|
"tool_choice": tool_choice,
|
|
796
835
|
"tools": tools,
|
|
797
836
|
"top_k": top_k,
|
|
@@ -799,6 +838,7 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
799
838
|
"top_p": top_p,
|
|
800
839
|
"updated_after_timestamp": updated_after_timestamp,
|
|
801
840
|
"updated_before_timestamp": updated_before_timestamp,
|
|
841
|
+
"use_threads": use_threads,
|
|
802
842
|
"web_search_options": web_search_options,
|
|
803
843
|
},
|
|
804
844
|
completion_create_params.CompletionCreateParamsStreaming
|
perplexity/resources/search.py
CHANGED
|
@@ -48,7 +48,7 @@ class SearchResource(SyncAPIResource):
|
|
|
48
48
|
self,
|
|
49
49
|
*,
|
|
50
50
|
query: Union[str, SequenceNotStr[str]],
|
|
51
|
-
|
|
51
|
+
display_server_time: bool | Omit = omit,
|
|
52
52
|
max_results: int | Omit = omit,
|
|
53
53
|
max_tokens: int | Omit = omit,
|
|
54
54
|
max_tokens_per_page: int | Omit = omit,
|
|
@@ -61,7 +61,7 @@ class SearchResource(SyncAPIResource):
|
|
|
61
61
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
62
62
|
) -> SearchCreateResponse:
|
|
63
63
|
"""
|
|
64
|
-
Search
|
|
64
|
+
Search the web and retrieve relevant web page contents.
|
|
65
65
|
|
|
66
66
|
Args:
|
|
67
67
|
extra_headers: Send extra headers
|
|
@@ -77,7 +77,7 @@ class SearchResource(SyncAPIResource):
|
|
|
77
77
|
body=maybe_transform(
|
|
78
78
|
{
|
|
79
79
|
"query": query,
|
|
80
|
-
"
|
|
80
|
+
"display_server_time": display_server_time,
|
|
81
81
|
"max_results": max_results,
|
|
82
82
|
"max_tokens": max_tokens,
|
|
83
83
|
"max_tokens_per_page": max_tokens_per_page,
|
|
@@ -116,7 +116,7 @@ class AsyncSearchResource(AsyncAPIResource):
|
|
|
116
116
|
self,
|
|
117
117
|
*,
|
|
118
118
|
query: Union[str, SequenceNotStr[str]],
|
|
119
|
-
|
|
119
|
+
display_server_time: bool | Omit = omit,
|
|
120
120
|
max_results: int | Omit = omit,
|
|
121
121
|
max_tokens: int | Omit = omit,
|
|
122
122
|
max_tokens_per_page: int | Omit = omit,
|
|
@@ -129,7 +129,7 @@ class AsyncSearchResource(AsyncAPIResource):
|
|
|
129
129
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
130
130
|
) -> SearchCreateResponse:
|
|
131
131
|
"""
|
|
132
|
-
Search
|
|
132
|
+
Search the web and retrieve relevant web page contents.
|
|
133
133
|
|
|
134
134
|
Args:
|
|
135
135
|
extra_headers: Send extra headers
|
|
@@ -145,7 +145,7 @@ class AsyncSearchResource(AsyncAPIResource):
|
|
|
145
145
|
body=await async_maybe_transform(
|
|
146
146
|
{
|
|
147
147
|
"query": query,
|
|
148
|
-
"
|
|
148
|
+
"display_server_time": display_server_time,
|
|
149
149
|
"max_results": max_results,
|
|
150
150
|
"max_tokens": max_tokens,
|
|
151
151
|
"max_tokens_per_page": max_tokens_per_page,
|
|
@@ -124,7 +124,7 @@ class RequestWebSearchOptions(TypedDict, total=False):
|
|
|
124
124
|
|
|
125
125
|
search_context_size: Literal["low", "medium", "high"]
|
|
126
126
|
|
|
127
|
-
search_type: Literal["fast", "pro", "auto"]
|
|
127
|
+
search_type: Optional[Literal["fast", "pro", "auto"]]
|
|
128
128
|
|
|
129
129
|
user_location: Optional[RequestWebSearchOptionsUserLocation]
|
|
130
130
|
|
|
@@ -166,6 +166,8 @@ class Request(TypedDict, total=False):
|
|
|
166
166
|
|
|
167
167
|
image_format_filter: Optional[SequenceNotStr[str]]
|
|
168
168
|
|
|
169
|
+
language_preference: Optional[str]
|
|
170
|
+
|
|
169
171
|
last_updated_after_filter: Optional[str]
|
|
170
172
|
|
|
171
173
|
last_updated_before_filter: Optional[str]
|
|
@@ -220,8 +222,12 @@ class Request(TypedDict, total=False):
|
|
|
220
222
|
|
|
221
223
|
stream: Optional[bool]
|
|
222
224
|
|
|
225
|
+
stream_mode: Literal["full", "concise"]
|
|
226
|
+
|
|
223
227
|
temperature: Optional[float]
|
|
224
228
|
|
|
229
|
+
thread_id: Optional[str]
|
|
230
|
+
|
|
225
231
|
tool_choice: Optional[Literal["none", "auto", "required"]]
|
|
226
232
|
|
|
227
233
|
tools: Optional[Iterable[RequestTool]]
|
|
@@ -236,4 +242,6 @@ class Request(TypedDict, total=False):
|
|
|
236
242
|
|
|
237
243
|
updated_before_timestamp: Optional[int]
|
|
238
244
|
|
|
245
|
+
use_threads: Optional[bool]
|
|
246
|
+
|
|
239
247
|
web_search_options: RequestWebSearchOptions
|
|
@@ -16,6 +16,8 @@ class CompletionGetParams(TypedDict, total=False):
|
|
|
16
16
|
|
|
17
17
|
x_client_name: Annotated[str, PropertyInfo(alias="x-client-name")]
|
|
18
18
|
|
|
19
|
+
x_created_at_epoch_seconds: Annotated[str, PropertyInfo(alias="x-created-at-epoch-seconds")]
|
|
20
|
+
|
|
19
21
|
x_request_time: Annotated[str, PropertyInfo(alias="x-request-time")]
|
|
20
22
|
|
|
21
23
|
x_usage_tier: Annotated[str, PropertyInfo(alias="x-usage-tier")]
|
|
@@ -64,6 +64,8 @@ class CompletionCreateParamsBase(TypedDict, total=False):
|
|
|
64
64
|
|
|
65
65
|
image_format_filter: Optional[SequenceNotStr[str]]
|
|
66
66
|
|
|
67
|
+
language_preference: Optional[str]
|
|
68
|
+
|
|
67
69
|
last_updated_after_filter: Optional[str]
|
|
68
70
|
|
|
69
71
|
last_updated_before_filter: Optional[str]
|
|
@@ -116,8 +118,12 @@ class CompletionCreateParamsBase(TypedDict, total=False):
|
|
|
116
118
|
|
|
117
119
|
stop: Union[str, SequenceNotStr[str], None]
|
|
118
120
|
|
|
121
|
+
stream_mode: Literal["full", "concise"]
|
|
122
|
+
|
|
119
123
|
temperature: Optional[float]
|
|
120
124
|
|
|
125
|
+
thread_id: Optional[str]
|
|
126
|
+
|
|
121
127
|
tool_choice: Optional[Literal["none", "auto", "required"]]
|
|
122
128
|
|
|
123
129
|
tools: Optional[Iterable[Tool]]
|
|
@@ -132,6 +138,8 @@ class CompletionCreateParamsBase(TypedDict, total=False):
|
|
|
132
138
|
|
|
133
139
|
updated_before_timestamp: Optional[int]
|
|
134
140
|
|
|
141
|
+
use_threads: Optional[bool]
|
|
142
|
+
|
|
135
143
|
web_search_options: WebSearchOptions
|
|
136
144
|
|
|
137
145
|
|
|
@@ -225,7 +233,7 @@ class WebSearchOptions(TypedDict, total=False):
|
|
|
225
233
|
|
|
226
234
|
search_context_size: Literal["low", "medium", "high"]
|
|
227
235
|
|
|
228
|
-
search_type: Literal["fast", "pro", "auto"]
|
|
236
|
+
search_type: Optional[Literal["fast", "pro", "auto"]]
|
|
229
237
|
|
|
230
238
|
user_location: Optional[WebSearchOptionsUserLocation]
|
|
231
239
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
from typing import Optional
|
|
4
|
+
from typing_extensions import Literal
|
|
4
5
|
|
|
5
6
|
from ..._models import BaseModel
|
|
6
7
|
|
|
@@ -17,3 +18,5 @@ class APIPublicSearchResult(BaseModel):
|
|
|
17
18
|
last_updated: Optional[str] = None
|
|
18
19
|
|
|
19
20
|
snippet: Optional[str] = None
|
|
21
|
+
|
|
22
|
+
source: Optional[Literal["web", "attachment"]] = None
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
5
|
from typing import Optional
|
|
6
|
-
from typing_extensions import Required, TypedDict
|
|
6
|
+
from typing_extensions import Literal, Required, TypedDict
|
|
7
7
|
|
|
8
8
|
__all__ = ["APIPublicSearchResult"]
|
|
9
9
|
|
|
@@ -18,3 +18,5 @@ class APIPublicSearchResult(TypedDict, total=False):
|
|
|
18
18
|
last_updated: Optional[str]
|
|
19
19
|
|
|
20
20
|
snippet: str
|
|
21
|
+
|
|
22
|
+
source: Literal["web", "attachment"]
|
perplexity/types/stream_chunk.py
CHANGED
|
@@ -20,8 +20,6 @@ class StreamChunk(BaseModel):
|
|
|
20
20
|
|
|
21
21
|
model: str
|
|
22
22
|
|
|
23
|
-
usage: UsageInfo
|
|
24
|
-
|
|
25
23
|
citations: Optional[List[str]] = None
|
|
26
24
|
|
|
27
25
|
object: Optional[str] = None
|
|
@@ -31,3 +29,5 @@ class StreamChunk(BaseModel):
|
|
|
31
29
|
status: Optional[Literal["PENDING", "COMPLETED"]] = None
|
|
32
30
|
|
|
33
31
|
type: Optional[Literal["message", "info", "end_of_stream"]] = None
|
|
32
|
+
|
|
33
|
+
usage: Optional[UsageInfo] = None
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: perplexityai
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.14.0
|
|
4
4
|
Summary: The official Python library for the perplexity API
|
|
5
5
|
Project-URL: Homepage, https://github.com/perplexityai/perplexity-py
|
|
6
6
|
Project-URL: Repository, https://github.com/perplexityai/perplexity-py
|
|
@@ -11,7 +11,7 @@ perplexity/_resource.py,sha256=Pgc8KNBsIc1ltJn94uhDcDl0-3n5RLbe3iC2AiiNRnE,1124
|
|
|
11
11
|
perplexity/_response.py,sha256=bpqzmVGq6jnivoMkUgt3OI0Rh6xHd6BMcp5PHgSFPb0,28842
|
|
12
12
|
perplexity/_streaming.py,sha256=0IcQb2A1XAarVUZD3Wgll7S8D4ps1qVXSu5-HEI7-vw,11254
|
|
13
13
|
perplexity/_types.py,sha256=BPuUCddonHjZ2AeEModCeb-zAYCRRT5XtxneIQhJxAk,7240
|
|
14
|
-
perplexity/_version.py,sha256=
|
|
14
|
+
perplexity/_version.py,sha256=fJGOwcjY6lFfX7I7tUtfxwSpPhIlddGJz58x9orVjn8,163
|
|
15
15
|
perplexity/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
perplexity/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
|
|
17
17
|
perplexity/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
|
|
@@ -27,38 +27,38 @@ perplexity/_utils/_typing.py,sha256=N_5PPuFNsaygbtA_npZd98SVN1LQQvFTKL6bkWPBZGU,
|
|
|
27
27
|
perplexity/_utils/_utils.py,sha256=0dDqauUbVZEXV0NVl7Bwu904Wwo5eyFCZpQThhFNhyA,12253
|
|
28
28
|
perplexity/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
|
29
29
|
perplexity/resources/__init__.py,sha256=Tb4UViVZDl2k8DgP1lKfn08Qaqz1uiezsogWRW9YTfQ,1414
|
|
30
|
-
perplexity/resources/search.py,sha256=
|
|
30
|
+
perplexity/resources/search.py,sha256=WEYqHwqIJcjnCa_omOVgzKuZwQtqK8pirR2OieLSabA,7298
|
|
31
31
|
perplexity/resources/async_/__init__.py,sha256=hvcoEKx4nCYPDoBSO_sk-uNVQ7y-fmNhzvAlvX19TIo,964
|
|
32
32
|
perplexity/resources/async_/async_.py,sha256=XzvC3AMbXXQ9mqe9TI10ZSmEuXaWPRwNC4E7AjvNdg0,3534
|
|
33
33
|
perplexity/resources/async_/chat/__init__.py,sha256=BVAfz9TM3DT5W9f_mt0P9YRxL_MsUxKCWAH6u1iogmA,1041
|
|
34
34
|
perplexity/resources/async_/chat/chat.py,sha256=M3hN3sfZKAt1C8FhOaWtxFPJAmPyE-GXkiU_LSN9EiA,3682
|
|
35
|
-
perplexity/resources/async_/chat/completions.py,sha256=
|
|
35
|
+
perplexity/resources/async_/chat/completions.py,sha256=6SuFVsjkXld0iASJKVKcjPKeFivLzLToZQqqA8nqLr8,14075
|
|
36
36
|
perplexity/resources/chat/__init__.py,sha256=BVAfz9TM3DT5W9f_mt0P9YRxL_MsUxKCWAH6u1iogmA,1041
|
|
37
37
|
perplexity/resources/chat/chat.py,sha256=yvQmxxpr7k9-A8UwUukL5QIXHahfsdFjHQqRFWWbkzE,3680
|
|
38
|
-
perplexity/resources/chat/completions.py,sha256=
|
|
38
|
+
perplexity/resources/chat/completions.py,sha256=fmQv0dEC1YWQr7H8Wv5sWTtxazZ2ZEf_pryu_luCVt0,45754
|
|
39
39
|
perplexity/types/__init__.py,sha256=LpZgQmlRWsFC0_xIzJhxSd2VY-vxDdAplR0Oqmtnu4M,544
|
|
40
|
-
perplexity/types/search_create_params.py,sha256=
|
|
41
|
-
perplexity/types/search_create_response.py,sha256=
|
|
42
|
-
perplexity/types/stream_chunk.py,sha256=
|
|
40
|
+
perplexity/types/search_create_params.py,sha256=8K_Px2vrQ06GnyAHi89wDPV-6-iLkXaOAZ8HWkYPG1g,559
|
|
41
|
+
perplexity/types/search_create_response.py,sha256=u4biwHjn5krPDOTRuolb1DyCPBRNATsuFs_Hynqxgro,465
|
|
42
|
+
perplexity/types/stream_chunk.py,sha256=GxPn4KENvDhhJ8sLc297_fd3XrhZeEansYbTtjl21kA,782
|
|
43
43
|
perplexity/types/async_/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
|
44
44
|
perplexity/types/async_/chat/__init__.py,sha256=xo2Cya_CfjEBRos2yvW_Wrq39PZiXFBT7ukZZBNvIUM,552
|
|
45
|
-
perplexity/types/async_/chat/completion_create_params.py,sha256=
|
|
45
|
+
perplexity/types/async_/chat/completion_create_params.py,sha256=3XC001rMxst9ZM2unL1gpVPAWYB7tr758brQCGvZOkA,5699
|
|
46
46
|
perplexity/types/async_/chat/completion_create_response.py,sha256=XXYz7p2TVGn5iu5TklCm7nNpMjufuUO3YHNGPTpAmWU,676
|
|
47
|
-
perplexity/types/async_/chat/completion_get_params.py,sha256=
|
|
47
|
+
perplexity/types/async_/chat/completion_get_params.py,sha256=1z3T0rG-xkDubzUtuBzXkI1M-pb4jcfpWpbF-Qoco7g,768
|
|
48
48
|
perplexity/types/async_/chat/completion_get_response.py,sha256=YTbspM1VcWRpUa5Wxmg6P7oA3S8yLLcY2mPuBXZqECI,670
|
|
49
49
|
perplexity/types/async_/chat/completion_list_response.py,sha256=63QSRV-2YA6gMZhyrmiZuzxasjjwT-kM3MyFuadTnZs,658
|
|
50
50
|
perplexity/types/chat/__init__.py,sha256=9VtUhUp2vFpm5fgy2tMc-XF9NfkBXdFZvSzLmNprkqk,210
|
|
51
|
-
perplexity/types/chat/completion_create_params.py,sha256=
|
|
51
|
+
perplexity/types/chat/completion_create_params.py,sha256=N03I713Ck__mE9Tn5IiqOy90OGrDnQP8_hvBFOz5uDQ,5703
|
|
52
52
|
perplexity/types/shared/__init__.py,sha256=-RlflcttJZ_q_lP6YD0mVWbKhU33j91tUVuMO5OqMAM,397
|
|
53
|
-
perplexity/types/shared/api_public_search_result.py,sha256=
|
|
53
|
+
perplexity/types/shared/api_public_search_result.py,sha256=Udw-8Or0dr_24LAhDQp-9OTkli2hw3WWp2BNEWuEeTI,461
|
|
54
54
|
perplexity/types/shared/chat_message_input.py,sha256=wgqL1qb6hHU-sZgybgjL3VdAJFHdY0HjjNecey6CHLU,6118
|
|
55
55
|
perplexity/types/shared/chat_message_output.py,sha256=ejnHnPuYphBCo44u5d9RKIc5tQJ98SHcbGLYR7St-CQ,6120
|
|
56
56
|
perplexity/types/shared/choice.py,sha256=enGVvSlz6W4fC6scq9j_E1zxvMnSG_IxU0plF9jYiJE,427
|
|
57
57
|
perplexity/types/shared/usage_info.py,sha256=_jE7Nal9cMxtEpJjT4t2SAs6z3MufrjwPugsRomqc9c,782
|
|
58
58
|
perplexity/types/shared_params/__init__.py,sha256=v5gr6-wq7IWgrQ8un401oApylzh3KnsIF_ilz-roX0s,241
|
|
59
|
-
perplexity/types/shared_params/api_public_search_result.py,sha256=
|
|
59
|
+
perplexity/types/shared_params/api_public_search_result.py,sha256=JPT8jm4IALOc51HgTQGUiMbSgTt10oeh4zti4KjcnkU,469
|
|
60
60
|
perplexity/types/shared_params/chat_message_input.py,sha256=BsNwhjwOFydvUo2OfrF9AHx--a1uPidSxdDyBGrK-sc,6690
|
|
61
|
-
perplexityai-0.
|
|
62
|
-
perplexityai-0.
|
|
63
|
-
perplexityai-0.
|
|
64
|
-
perplexityai-0.
|
|
61
|
+
perplexityai-0.14.0.dist-info/METADATA,sha256=-mdezuTZlUrTFtSswPM6pHth7XvsSYjTv2qx9vBHy_U,16552
|
|
62
|
+
perplexityai-0.14.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
63
|
+
perplexityai-0.14.0.dist-info/licenses/LICENSE,sha256=hkCriG3MT4vBhhc0roAOsrCE7IEDr1ywVEMonVHGmAQ,11340
|
|
64
|
+
perplexityai-0.14.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|