A better, simpler and faster version of nathanrchn's perplexityai.
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.1.tar.gz
(10.6 kB
view hashes)
Built Distribution
Close
Hashes for perplexityai-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2e008f1c510bd44c4282310141c2a3944f741254b58ed0bd3dee2284e1c0674 |
|
MD5 | 04b7ffbf66b0cd3d3cab48704da4abb2 |
|
BLAKE2b-256 | 3395c4ae48a77faf9ebfd9ca87b3807cb96527e4196b5d6cadd2cc5c008f4232 |