A better, simpler and faster version of nathanrchn's perplexityai.
Reason this release was yanked:
Broken
Project description
PerplexityAI
A better, simpler, and faster version of nathanrchn's PerplexityAI.
Get started:
python -m pip install -U perplexityai
Join my Discord server for live chat, support, or if you have any issues with this package.
Support this repository:
- ⭐ Star the project: Star this repository. It means a lot to me! 💕
- 🎉 Join our Discord Server: Try the bot and chat with others. Join here:
Example:
import perplexityai
from asyncio import run
async def main():
while True:
prompt = input("👦: ")
try:
resp = await perplexityai.Completion.create(prompt)
print(f"🤖: {resp}")
except Exception as e:
print(f"🤖: {e}")
run(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
perplexityai-1.0.0.tar.gz
(10.6 kB
view hashes)
Built Distribution
Close
Hashes for perplexityai-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7d73d077a74fd805bd87b39a48261702686d5a2be7c0c2e0f7664f63ef05311 |
|
MD5 | 2d5355ed3956f3b2ad5f84ef2bee5e97 |
|
BLAKE2b-256 | b40f8b73e3f3210d2b763f9c94561ce4ea7f38eff069fe690b3cfbfb881a37a7 |