perplexityai 0.17.1__py3-none-any.whl → 0.19.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 +8 -8
- perplexity/_constants.py +2 -2
- perplexity/_version.py +1 -1
- perplexity/resources/__init__.py +6 -6
- perplexity/resources/chat/completions.py +0 -10
- perplexity/types/async_/chat/completion_create_params.py +0 -9
- perplexity/types/chat/completion_create_params.py +0 -9
- perplexity/types/shared/chat_message_input.py +2 -10
- perplexity/types/shared/chat_message_output.py +2 -10
- perplexity/types/shared_params/chat_message_input.py +2 -12
- {perplexityai-0.17.1.dist-info → perplexityai-0.19.0.dist-info}/METADATA +5 -5
- {perplexityai-0.17.1.dist-info → perplexityai-0.19.0.dist-info}/RECORD +14 -14
- {perplexityai-0.17.1.dist-info → perplexityai-0.19.0.dist-info}/WHEEL +0 -0
- {perplexityai-0.17.1.dist-info → perplexityai-0.19.0.dist-info}/licenses/LICENSE +0 -0
perplexity/_client.py
CHANGED
|
@@ -46,8 +46,8 @@ __all__ = [
|
|
|
46
46
|
|
|
47
47
|
class Perplexity(SyncAPIClient):
|
|
48
48
|
chat: chat.ChatResource
|
|
49
|
-
async_: async_.AsyncResource
|
|
50
49
|
search: search.SearchResource
|
|
50
|
+
async_: async_.AsyncResource
|
|
51
51
|
with_raw_response: PerplexityWithRawResponse
|
|
52
52
|
with_streaming_response: PerplexityWithStreamedResponse
|
|
53
53
|
|
|
@@ -108,8 +108,8 @@ class Perplexity(SyncAPIClient):
|
|
|
108
108
|
self._default_stream_cls = Stream
|
|
109
109
|
|
|
110
110
|
self.chat = chat.ChatResource(self)
|
|
111
|
-
self.async_ = async_.AsyncResource(self)
|
|
112
111
|
self.search = search.SearchResource(self)
|
|
112
|
+
self.async_ = async_.AsyncResource(self)
|
|
113
113
|
self.with_raw_response = PerplexityWithRawResponse(self)
|
|
114
114
|
self.with_streaming_response = PerplexityWithStreamedResponse(self)
|
|
115
115
|
|
|
@@ -220,8 +220,8 @@ class Perplexity(SyncAPIClient):
|
|
|
220
220
|
|
|
221
221
|
class AsyncPerplexity(AsyncAPIClient):
|
|
222
222
|
chat: chat.AsyncChatResource
|
|
223
|
-
async_: async_.AsyncAsyncResource
|
|
224
223
|
search: search.AsyncSearchResource
|
|
224
|
+
async_: async_.AsyncAsyncResource
|
|
225
225
|
with_raw_response: AsyncPerplexityWithRawResponse
|
|
226
226
|
with_streaming_response: AsyncPerplexityWithStreamedResponse
|
|
227
227
|
|
|
@@ -282,8 +282,8 @@ class AsyncPerplexity(AsyncAPIClient):
|
|
|
282
282
|
self._default_stream_cls = AsyncStream
|
|
283
283
|
|
|
284
284
|
self.chat = chat.AsyncChatResource(self)
|
|
285
|
-
self.async_ = async_.AsyncAsyncResource(self)
|
|
286
285
|
self.search = search.AsyncSearchResource(self)
|
|
286
|
+
self.async_ = async_.AsyncAsyncResource(self)
|
|
287
287
|
self.with_raw_response = AsyncPerplexityWithRawResponse(self)
|
|
288
288
|
self.with_streaming_response = AsyncPerplexityWithStreamedResponse(self)
|
|
289
289
|
|
|
@@ -395,29 +395,29 @@ class AsyncPerplexity(AsyncAPIClient):
|
|
|
395
395
|
class PerplexityWithRawResponse:
|
|
396
396
|
def __init__(self, client: Perplexity) -> None:
|
|
397
397
|
self.chat = chat.ChatResourceWithRawResponse(client.chat)
|
|
398
|
-
self.async_ = async_.AsyncResourceWithRawResponse(client.async_)
|
|
399
398
|
self.search = search.SearchResourceWithRawResponse(client.search)
|
|
399
|
+
self.async_ = async_.AsyncResourceWithRawResponse(client.async_)
|
|
400
400
|
|
|
401
401
|
|
|
402
402
|
class AsyncPerplexityWithRawResponse:
|
|
403
403
|
def __init__(self, client: AsyncPerplexity) -> None:
|
|
404
404
|
self.chat = chat.AsyncChatResourceWithRawResponse(client.chat)
|
|
405
|
-
self.async_ = async_.AsyncAsyncResourceWithRawResponse(client.async_)
|
|
406
405
|
self.search = search.AsyncSearchResourceWithRawResponse(client.search)
|
|
406
|
+
self.async_ = async_.AsyncAsyncResourceWithRawResponse(client.async_)
|
|
407
407
|
|
|
408
408
|
|
|
409
409
|
class PerplexityWithStreamedResponse:
|
|
410
410
|
def __init__(self, client: Perplexity) -> None:
|
|
411
411
|
self.chat = chat.ChatResourceWithStreamingResponse(client.chat)
|
|
412
|
-
self.async_ = async_.AsyncResourceWithStreamingResponse(client.async_)
|
|
413
412
|
self.search = search.SearchResourceWithStreamingResponse(client.search)
|
|
413
|
+
self.async_ = async_.AsyncResourceWithStreamingResponse(client.async_)
|
|
414
414
|
|
|
415
415
|
|
|
416
416
|
class AsyncPerplexityWithStreamedResponse:
|
|
417
417
|
def __init__(self, client: AsyncPerplexity) -> None:
|
|
418
418
|
self.chat = chat.AsyncChatResourceWithStreamingResponse(client.chat)
|
|
419
|
-
self.async_ = async_.AsyncAsyncResourceWithStreamingResponse(client.async_)
|
|
420
419
|
self.search = search.AsyncSearchResourceWithStreamingResponse(client.search)
|
|
420
|
+
self.async_ = async_.AsyncAsyncResourceWithStreamingResponse(client.async_)
|
|
421
421
|
|
|
422
422
|
|
|
423
423
|
Client = Perplexity
|
perplexity/_constants.py
CHANGED
|
@@ -5,8 +5,8 @@ import httpx
|
|
|
5
5
|
RAW_RESPONSE_HEADER = "X-Stainless-Raw-Response"
|
|
6
6
|
OVERRIDE_CAST_TO_HEADER = "____stainless_override_cast_to"
|
|
7
7
|
|
|
8
|
-
# default timeout is
|
|
9
|
-
DEFAULT_TIMEOUT = httpx.Timeout(timeout=
|
|
8
|
+
# default timeout is 15 minutes
|
|
9
|
+
DEFAULT_TIMEOUT = httpx.Timeout(timeout=900, connect=5.0)
|
|
10
10
|
DEFAULT_MAX_RETRIES = 2
|
|
11
11
|
DEFAULT_CONNECTION_LIMITS = httpx.Limits(max_connections=100, max_keepalive_connections=20)
|
|
12
12
|
|
perplexity/_version.py
CHANGED
perplexity/resources/__init__.py
CHANGED
|
@@ -32,16 +32,16 @@ __all__ = [
|
|
|
32
32
|
"AsyncChatResourceWithRawResponse",
|
|
33
33
|
"ChatResourceWithStreamingResponse",
|
|
34
34
|
"AsyncChatResourceWithStreamingResponse",
|
|
35
|
-
"AsyncResource",
|
|
36
|
-
"AsyncAsyncResource",
|
|
37
|
-
"AsyncResourceWithRawResponse",
|
|
38
|
-
"AsyncAsyncResourceWithRawResponse",
|
|
39
|
-
"AsyncResourceWithStreamingResponse",
|
|
40
|
-
"AsyncAsyncResourceWithStreamingResponse",
|
|
41
35
|
"SearchResource",
|
|
42
36
|
"AsyncSearchResource",
|
|
43
37
|
"SearchResourceWithRawResponse",
|
|
44
38
|
"AsyncSearchResourceWithRawResponse",
|
|
45
39
|
"SearchResourceWithStreamingResponse",
|
|
46
40
|
"AsyncSearchResourceWithStreamingResponse",
|
|
41
|
+
"AsyncResource",
|
|
42
|
+
"AsyncAsyncResource",
|
|
43
|
+
"AsyncResourceWithRawResponse",
|
|
44
|
+
"AsyncAsyncResourceWithRawResponse",
|
|
45
|
+
"AsyncResourceWithStreamingResponse",
|
|
46
|
+
"AsyncAsyncResourceWithStreamingResponse",
|
|
47
47
|
]
|
|
@@ -59,7 +59,6 @@ class CompletionsResource(SyncAPIResource):
|
|
|
59
59
|
best_of: Optional[int] | Omit = omit,
|
|
60
60
|
country: Optional[str] | Omit = omit,
|
|
61
61
|
cum_logprobs: Optional[bool] | Omit = omit,
|
|
62
|
-
debug_params: Optional[completion_create_params.DebugParams] | Omit = omit,
|
|
63
62
|
disable_search: Optional[bool] | Omit = omit,
|
|
64
63
|
diverse_first_token: Optional[bool] | Omit = omit,
|
|
65
64
|
enable_search_classifier: Optional[bool] | Omit = omit,
|
|
@@ -143,7 +142,6 @@ class CompletionsResource(SyncAPIResource):
|
|
|
143
142
|
best_of: Optional[int] | Omit = omit,
|
|
144
143
|
country: Optional[str] | Omit = omit,
|
|
145
144
|
cum_logprobs: Optional[bool] | Omit = omit,
|
|
146
|
-
debug_params: Optional[completion_create_params.DebugParams] | Omit = omit,
|
|
147
145
|
disable_search: Optional[bool] | Omit = omit,
|
|
148
146
|
diverse_first_token: Optional[bool] | Omit = omit,
|
|
149
147
|
enable_search_classifier: Optional[bool] | Omit = omit,
|
|
@@ -226,7 +224,6 @@ class CompletionsResource(SyncAPIResource):
|
|
|
226
224
|
best_of: Optional[int] | Omit = omit,
|
|
227
225
|
country: Optional[str] | Omit = omit,
|
|
228
226
|
cum_logprobs: Optional[bool] | Omit = omit,
|
|
229
|
-
debug_params: Optional[completion_create_params.DebugParams] | Omit = omit,
|
|
230
227
|
disable_search: Optional[bool] | Omit = omit,
|
|
231
228
|
diverse_first_token: Optional[bool] | Omit = omit,
|
|
232
229
|
enable_search_classifier: Optional[bool] | Omit = omit,
|
|
@@ -308,7 +305,6 @@ class CompletionsResource(SyncAPIResource):
|
|
|
308
305
|
best_of: Optional[int] | Omit = omit,
|
|
309
306
|
country: Optional[str] | Omit = omit,
|
|
310
307
|
cum_logprobs: Optional[bool] | Omit = omit,
|
|
311
|
-
debug_params: Optional[completion_create_params.DebugParams] | Omit = omit,
|
|
312
308
|
disable_search: Optional[bool] | Omit = omit,
|
|
313
309
|
diverse_first_token: Optional[bool] | Omit = omit,
|
|
314
310
|
enable_search_classifier: Optional[bool] | Omit = omit,
|
|
@@ -377,7 +373,6 @@ class CompletionsResource(SyncAPIResource):
|
|
|
377
373
|
"best_of": best_of,
|
|
378
374
|
"country": country,
|
|
379
375
|
"cum_logprobs": cum_logprobs,
|
|
380
|
-
"debug_params": debug_params,
|
|
381
376
|
"disable_search": disable_search,
|
|
382
377
|
"diverse_first_token": diverse_first_token,
|
|
383
378
|
"enable_search_classifier": enable_search_classifier,
|
|
@@ -473,7 +468,6 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
473
468
|
best_of: Optional[int] | Omit = omit,
|
|
474
469
|
country: Optional[str] | Omit = omit,
|
|
475
470
|
cum_logprobs: Optional[bool] | Omit = omit,
|
|
476
|
-
debug_params: Optional[completion_create_params.DebugParams] | Omit = omit,
|
|
477
471
|
disable_search: Optional[bool] | Omit = omit,
|
|
478
472
|
diverse_first_token: Optional[bool] | Omit = omit,
|
|
479
473
|
enable_search_classifier: Optional[bool] | Omit = omit,
|
|
@@ -557,7 +551,6 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
557
551
|
best_of: Optional[int] | Omit = omit,
|
|
558
552
|
country: Optional[str] | Omit = omit,
|
|
559
553
|
cum_logprobs: Optional[bool] | Omit = omit,
|
|
560
|
-
debug_params: Optional[completion_create_params.DebugParams] | Omit = omit,
|
|
561
554
|
disable_search: Optional[bool] | Omit = omit,
|
|
562
555
|
diverse_first_token: Optional[bool] | Omit = omit,
|
|
563
556
|
enable_search_classifier: Optional[bool] | Omit = omit,
|
|
@@ -640,7 +633,6 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
640
633
|
best_of: Optional[int] | Omit = omit,
|
|
641
634
|
country: Optional[str] | Omit = omit,
|
|
642
635
|
cum_logprobs: Optional[bool] | Omit = omit,
|
|
643
|
-
debug_params: Optional[completion_create_params.DebugParams] | Omit = omit,
|
|
644
636
|
disable_search: Optional[bool] | Omit = omit,
|
|
645
637
|
diverse_first_token: Optional[bool] | Omit = omit,
|
|
646
638
|
enable_search_classifier: Optional[bool] | Omit = omit,
|
|
@@ -722,7 +714,6 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
722
714
|
best_of: Optional[int] | Omit = omit,
|
|
723
715
|
country: Optional[str] | Omit = omit,
|
|
724
716
|
cum_logprobs: Optional[bool] | Omit = omit,
|
|
725
|
-
debug_params: Optional[completion_create_params.DebugParams] | Omit = omit,
|
|
726
717
|
disable_search: Optional[bool] | Omit = omit,
|
|
727
718
|
diverse_first_token: Optional[bool] | Omit = omit,
|
|
728
719
|
enable_search_classifier: Optional[bool] | Omit = omit,
|
|
@@ -791,7 +782,6 @@ class AsyncCompletionsResource(AsyncAPIResource):
|
|
|
791
782
|
"best_of": best_of,
|
|
792
783
|
"country": country,
|
|
793
784
|
"cum_logprobs": cum_logprobs,
|
|
794
|
-
"debug_params": debug_params,
|
|
795
785
|
"disable_search": disable_search,
|
|
796
786
|
"diverse_first_token": diverse_first_token,
|
|
797
787
|
"enable_search_classifier": enable_search_classifier,
|
|
@@ -11,7 +11,6 @@ from ...shared_params.chat_message_input import ChatMessageInput
|
|
|
11
11
|
__all__ = [
|
|
12
12
|
"CompletionCreateParams",
|
|
13
13
|
"Request",
|
|
14
|
-
"RequestDebugParams",
|
|
15
14
|
"RequestResponseFormat",
|
|
16
15
|
"RequestResponseFormatResponseFormatText",
|
|
17
16
|
"RequestResponseFormatResponseFormatJsonSchema",
|
|
@@ -32,12 +31,6 @@ class CompletionCreateParams(TypedDict, total=False):
|
|
|
32
31
|
idempotency_key: Optional[str]
|
|
33
32
|
|
|
34
33
|
|
|
35
|
-
class RequestDebugParams(TypedDict, total=False):
|
|
36
|
-
summarizer_model_override: Optional[str]
|
|
37
|
-
|
|
38
|
-
summarizer_prompt_override: Optional[str]
|
|
39
|
-
|
|
40
|
-
|
|
41
34
|
class RequestResponseFormatResponseFormatText(TypedDict, total=False):
|
|
42
35
|
type: Required[Literal["text"]]
|
|
43
36
|
|
|
@@ -148,8 +141,6 @@ class Request(TypedDict, total=False):
|
|
|
148
141
|
|
|
149
142
|
cum_logprobs: Optional[bool]
|
|
150
143
|
|
|
151
|
-
debug_params: Optional[RequestDebugParams]
|
|
152
|
-
|
|
153
144
|
disable_search: Optional[bool]
|
|
154
145
|
|
|
155
146
|
diverse_first_token: Optional[bool]
|
|
@@ -10,7 +10,6 @@ from ..shared_params.chat_message_input import ChatMessageInput
|
|
|
10
10
|
|
|
11
11
|
__all__ = [
|
|
12
12
|
"CompletionCreateParamsBase",
|
|
13
|
-
"DebugParams",
|
|
14
13
|
"ResponseFormat",
|
|
15
14
|
"ResponseFormatResponseFormatText",
|
|
16
15
|
"ResponseFormatResponseFormatJsonSchema",
|
|
@@ -46,8 +45,6 @@ class CompletionCreateParamsBase(TypedDict, total=False):
|
|
|
46
45
|
|
|
47
46
|
cum_logprobs: Optional[bool]
|
|
48
47
|
|
|
49
|
-
debug_params: Optional[DebugParams]
|
|
50
|
-
|
|
51
48
|
disable_search: Optional[bool]
|
|
52
49
|
|
|
53
50
|
diverse_first_token: Optional[bool]
|
|
@@ -143,12 +140,6 @@ class CompletionCreateParamsBase(TypedDict, total=False):
|
|
|
143
140
|
web_search_options: WebSearchOptions
|
|
144
141
|
|
|
145
142
|
|
|
146
|
-
class DebugParams(TypedDict, total=False):
|
|
147
|
-
summarizer_model_override: Optional[str]
|
|
148
|
-
|
|
149
|
-
summarizer_prompt_override: Optional[str]
|
|
150
|
-
|
|
151
|
-
|
|
152
143
|
class ResponseFormatResponseFormatText(TypedDict, total=False):
|
|
153
144
|
type: Required[Literal["text"]]
|
|
154
145
|
|
|
@@ -155,16 +155,6 @@ class ReasoningStepWebSearch(BaseModel):
|
|
|
155
155
|
class ReasoningStep(BaseModel):
|
|
156
156
|
thought: str
|
|
157
157
|
|
|
158
|
-
type: Literal[
|
|
159
|
-
"web_search",
|
|
160
|
-
"fetch_url_content",
|
|
161
|
-
"execute_python",
|
|
162
|
-
"agent_progress",
|
|
163
|
-
"browser_agent",
|
|
164
|
-
"browser_tool_execution",
|
|
165
|
-
"file_attachment_search",
|
|
166
|
-
]
|
|
167
|
-
|
|
168
158
|
agent_progress: Optional[ReasoningStepAgentProgress] = None
|
|
169
159
|
"""Agent progress class for live-browsing updates"""
|
|
170
160
|
|
|
@@ -183,6 +173,8 @@ class ReasoningStep(BaseModel):
|
|
|
183
173
|
file_attachment_search: Optional[ReasoningStepFileAttachmentSearch] = None
|
|
184
174
|
"""File attachment search step details wrapper class"""
|
|
185
175
|
|
|
176
|
+
type: Optional[str] = None
|
|
177
|
+
|
|
186
178
|
web_search: Optional[ReasoningStepWebSearch] = None
|
|
187
179
|
"""Web search step details wrapper class"""
|
|
188
180
|
|
|
@@ -155,16 +155,6 @@ class ReasoningStepWebSearch(BaseModel):
|
|
|
155
155
|
class ReasoningStep(BaseModel):
|
|
156
156
|
thought: str
|
|
157
157
|
|
|
158
|
-
type: Literal[
|
|
159
|
-
"web_search",
|
|
160
|
-
"fetch_url_content",
|
|
161
|
-
"execute_python",
|
|
162
|
-
"agent_progress",
|
|
163
|
-
"browser_agent",
|
|
164
|
-
"browser_tool_execution",
|
|
165
|
-
"file_attachment_search",
|
|
166
|
-
]
|
|
167
|
-
|
|
168
158
|
agent_progress: Optional[ReasoningStepAgentProgress] = None
|
|
169
159
|
"""Agent progress class for live-browsing updates"""
|
|
170
160
|
|
|
@@ -183,6 +173,8 @@ class ReasoningStep(BaseModel):
|
|
|
183
173
|
file_attachment_search: Optional[ReasoningStepFileAttachmentSearch] = None
|
|
184
174
|
"""File attachment search step details wrapper class"""
|
|
185
175
|
|
|
176
|
+
type: Optional[str] = None
|
|
177
|
+
|
|
186
178
|
web_search: Optional[ReasoningStepWebSearch] = None
|
|
187
179
|
"""Web search step details wrapper class"""
|
|
188
180
|
|
|
@@ -157,18 +157,6 @@ class ReasoningStepWebSearch(TypedDict, total=False):
|
|
|
157
157
|
class ReasoningStep(TypedDict, total=False):
|
|
158
158
|
thought: Required[str]
|
|
159
159
|
|
|
160
|
-
type: Required[
|
|
161
|
-
Literal[
|
|
162
|
-
"web_search",
|
|
163
|
-
"fetch_url_content",
|
|
164
|
-
"execute_python",
|
|
165
|
-
"agent_progress",
|
|
166
|
-
"browser_agent",
|
|
167
|
-
"browser_tool_execution",
|
|
168
|
-
"file_attachment_search",
|
|
169
|
-
]
|
|
170
|
-
]
|
|
171
|
-
|
|
172
160
|
agent_progress: Optional[ReasoningStepAgentProgress]
|
|
173
161
|
"""Agent progress class for live-browsing updates"""
|
|
174
162
|
|
|
@@ -187,6 +175,8 @@ class ReasoningStep(TypedDict, total=False):
|
|
|
187
175
|
file_attachment_search: Optional[ReasoningStepFileAttachmentSearch]
|
|
188
176
|
"""File attachment search step details wrapper class"""
|
|
189
177
|
|
|
178
|
+
type: Optional[str]
|
|
179
|
+
|
|
190
180
|
web_search: Optional[ReasoningStepWebSearch]
|
|
191
181
|
"""Web search step details wrapper class"""
|
|
192
182
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: perplexityai
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.19.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
|
|
@@ -246,9 +246,9 @@ stream_chunk = client.chat.completions.create(
|
|
|
246
246
|
}
|
|
247
247
|
],
|
|
248
248
|
model="model",
|
|
249
|
-
|
|
249
|
+
web_search_options={},
|
|
250
250
|
)
|
|
251
|
-
print(stream_chunk.
|
|
251
|
+
print(stream_chunk.web_search_options)
|
|
252
252
|
```
|
|
253
253
|
|
|
254
254
|
## Handling errors
|
|
@@ -331,7 +331,7 @@ client.with_options(max_retries=5).chat.completions.create(
|
|
|
331
331
|
|
|
332
332
|
### Timeouts
|
|
333
333
|
|
|
334
|
-
By default requests time out after
|
|
334
|
+
By default requests time out after 15 minutes. You can configure this with a `timeout` option,
|
|
335
335
|
which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:
|
|
336
336
|
|
|
337
337
|
```python
|
|
@@ -339,7 +339,7 @@ from perplexity import Perplexity
|
|
|
339
339
|
|
|
340
340
|
# Configure the default for all requests:
|
|
341
341
|
client = Perplexity(
|
|
342
|
-
# 20 seconds (default is
|
|
342
|
+
# 20 seconds (default is 15 minutes)
|
|
343
343
|
timeout=20.0,
|
|
344
344
|
)
|
|
345
345
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
perplexity/__init__.py,sha256=tK4KC0qHjpk-ym2IM9lG56HeBXAHz36gMzb0rmWEa7Y,2701
|
|
2
2
|
perplexity/_base_client.py,sha256=aOipaCx-xU9FMpoqKMCzs6LHxmeGlLUlGiihUUNLGUc,67051
|
|
3
|
-
perplexity/_client.py,sha256=
|
|
3
|
+
perplexity/_client.py,sha256=66CA-d26BAzbWzsjgIx73UGWTJbkCaipj21UVkxYSAI,16154
|
|
4
4
|
perplexity/_compat.py,sha256=DQBVORjFb33zch24jzkhM14msvnzY7mmSmgDLaVFUM8,6562
|
|
5
|
-
perplexity/_constants.py,sha256=
|
|
5
|
+
perplexity/_constants.py,sha256=oW-FKtjJhtWarQ-F2rUj1t-cL1dM5ksKu9d5yst1l7c,465
|
|
6
6
|
perplexity/_exceptions.py,sha256=v-hOXWSDTEtXcn_By7pPml3HjEmG5HXpbE-RK_A6_0Q,3228
|
|
7
7
|
perplexity/_files.py,sha256=KnEzGi_O756MvKyJ4fOCW_u3JhOeWPQ4RsmDvqihDQU,3545
|
|
8
8
|
perplexity/_models.py,sha256=lKnskYPONAWDvWo8tmbbVk7HmG7UOsI0Nve0vSMmkRc,30452
|
|
@@ -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=d8X0qoDOWsRrDfk48HMW1Xvw6is9UptwKdZtaCftdck,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
|
|
@@ -26,7 +26,7 @@ perplexity/_utils/_transform.py,sha256=NjCzmnfqYrsAikUHQig6N9QfuTVbKipuP3ur9mcNF
|
|
|
26
26
|
perplexity/_utils/_typing.py,sha256=N_5PPuFNsaygbtA_npZd98SVN1LQQvFTKL6bkWPBZGU,4786
|
|
27
27
|
perplexity/_utils/_utils.py,sha256=0dDqauUbVZEXV0NVl7Bwu904Wwo5eyFCZpQThhFNhyA,12253
|
|
28
28
|
perplexity/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
|
29
|
-
perplexity/resources/__init__.py,sha256=
|
|
29
|
+
perplexity/resources/__init__.py,sha256=GGUtTVP3Hlh9qMVd62OlwpV5t7WswIQ1fKqnKiTmyjc,1414
|
|
30
30
|
perplexity/resources/search.py,sha256=84N99MJj3Q1_lSjX-aEe6x2gRBvszxPh8np9Mq7bMag,8478
|
|
31
31
|
perplexity/resources/async_/__init__.py,sha256=hvcoEKx4nCYPDoBSO_sk-uNVQ7y-fmNhzvAlvX19TIo,964
|
|
32
32
|
perplexity/resources/async_/async_.py,sha256=XzvC3AMbXXQ9mqe9TI10ZSmEuXaWPRwNC4E7AjvNdg0,3534
|
|
@@ -35,30 +35,30 @@ perplexity/resources/async_/chat/chat.py,sha256=M3hN3sfZKAt1C8FhOaWtxFPJAmPyE-GX
|
|
|
35
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=w3ZyXNQp4KFoNc6HlLTUA4-vkNdd9S2DOtktJcfZXGo,44982
|
|
39
39
|
perplexity/types/__init__.py,sha256=LpZgQmlRWsFC0_xIzJhxSd2VY-vxDdAplR0Oqmtnu4M,544
|
|
40
40
|
perplexity/types/search_create_params.py,sha256=wMTmCNau8hlEcVzQ-CPnWr01Sglm-PiEBKDxmeQ4JW8,793
|
|
41
41
|
perplexity/types/search_create_response.py,sha256=u4biwHjn5krPDOTRuolb1DyCPBRNATsuFs_Hynqxgro,465
|
|
42
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=GdvqkhvTP7g-KSFX6UVhIDhrlJDpTii24LYOHy4dY1Q,5481
|
|
46
46
|
perplexity/types/async_/chat/completion_create_response.py,sha256=XXYz7p2TVGn5iu5TklCm7nNpMjufuUO3YHNGPTpAmWU,676
|
|
47
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=8uN9pcNzSkjEWqZmUaC4faarJMyvglhTBU7i9gPKeKA,5506
|
|
52
52
|
perplexity/types/shared/__init__.py,sha256=-RlflcttJZ_q_lP6YD0mVWbKhU33j91tUVuMO5OqMAM,397
|
|
53
53
|
perplexity/types/shared/api_public_search_result.py,sha256=Udw-8Or0dr_24LAhDQp-9OTkli2hw3WWp2BNEWuEeTI,461
|
|
54
|
-
perplexity/types/shared/chat_message_input.py,sha256=
|
|
55
|
-
perplexity/types/shared/chat_message_output.py,sha256=
|
|
54
|
+
perplexity/types/shared/chat_message_input.py,sha256=0KwcY-Sm91G9Wfam6BCuL7jCP-tlZvYkevfg_OWnzkA,5928
|
|
55
|
+
perplexity/types/shared/chat_message_output.py,sha256=G7hnFPI9ZY1XBq18uICXjqw13xfZmr9vCVhymVvVLXw,5930
|
|
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
59
|
perplexity/types/shared_params/api_public_search_result.py,sha256=JPT8jm4IALOc51HgTQGUiMbSgTt10oeh4zti4KjcnkU,469
|
|
60
|
-
perplexity/types/shared_params/chat_message_input.py,sha256=
|
|
61
|
-
perplexityai-0.
|
|
62
|
-
perplexityai-0.
|
|
63
|
-
perplexityai-0.
|
|
64
|
-
perplexityai-0.
|
|
60
|
+
perplexity/types/shared_params/chat_message_input.py,sha256=2SMhAVszUh09DBH0wzhZDMFNWygYSlu5qO4VkgG0F4w,6437
|
|
61
|
+
perplexityai-0.19.0.dist-info/METADATA,sha256=js71b2akEsD9hhblJyHLM67AWshuAW7PMsDAfaF7Bnc,16688
|
|
62
|
+
perplexityai-0.19.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
63
|
+
perplexityai-0.19.0.dist-info/licenses/LICENSE,sha256=hkCriG3MT4vBhhc0roAOsrCE7IEDr1ywVEMonVHGmAQ,11340
|
|
64
|
+
perplexityai-0.19.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|