perplexityai 0.12.0__py3-none-any.whl → 0.12.1__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 CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "perplexity"
4
- __version__ = "0.12.0" # x-release-please-version
4
+ __version__ = "0.12.1" # x-release-please-version
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: perplexityai
3
- Version: 0.12.0
3
+ Version: 0.12.1
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
@@ -76,24 +76,6 @@ for result in search.results:
76
76
  print(f"{result.title}: {result.url}")
77
77
  ```
78
78
 
79
- ## Content API
80
-
81
- Extract and process content from URLs:
82
-
83
- ```python
84
- from perplexity import Perplexity
85
-
86
- client = Perplexity()
87
-
88
- content = client.content.create(
89
- urls=["https://en.wikipedia.org/wiki/Perplexity_AI"]
90
- )
91
-
92
- for result in content.results:
93
- print(f"Title: {result.title}")
94
- print(f"Content: {result.content[:200]}...")
95
- ```
96
-
97
79
  ## Chat Completions
98
80
 
99
81
  The full API of this library can be found in [api.md](https://github.com/perplexityai/perplexity-py/tree/main/api.md).
@@ -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=SQ61v42gFmNiO57uMFUZMAuDlGE0n_EulkZcPgJXt4U,10116
13
13
  perplexity/_types.py,sha256=BPuUCddonHjZ2AeEModCeb-zAYCRRT5XtxneIQhJxAk,7240
14
- perplexity/_version.py,sha256=_Qos24ldDIwii05zOluYsLPQqaaUym8lHaQWjOY80Q4,163
14
+ perplexity/_version.py,sha256=Z_jc7zEYhK113JsdRrEzwXsjaWGqCQVnBHGR5iNpRxY,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
@@ -58,7 +58,7 @@ perplexity/types/shared/usage_info.py,sha256=_jE7Nal9cMxtEpJjT4t2SAs6z3MufrjwPug
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=n4VUQnGOFGGWUdwYd8P5o-vEqZKhRuI5R0dBs_ZsHtE,418
60
60
  perplexity/types/shared_params/chat_message_input.py,sha256=BsNwhjwOFydvUo2OfrF9AHx--a1uPidSxdDyBGrK-sc,6690
61
- perplexityai-0.12.0.dist-info/METADATA,sha256=5UT7w2B6X6dI1nJpLnPCdVknnhXEF35M02YN64iJMi4,16035
62
- perplexityai-0.12.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
63
- perplexityai-0.12.0.dist-info/licenses/LICENSE,sha256=hkCriG3MT4vBhhc0roAOsrCE7IEDr1ywVEMonVHGmAQ,11340
64
- perplexityai-0.12.0.dist-info/RECORD,,
61
+ perplexityai-0.12.1.dist-info/METADATA,sha256=JA3IEV7v3qzfqLrr9B68gpP97XSByCuS9wbEEv_AQtE,15697
62
+ perplexityai-0.12.1.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
63
+ perplexityai-0.12.1.dist-info/licenses/LICENSE,sha256=hkCriG3MT4vBhhc0roAOsrCE7IEDr1ywVEMonVHGmAQ,11340
64
+ perplexityai-0.12.1.dist-info/RECORD,,