Skip to main content

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:

DiscordWidget

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


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)

Uploaded Source

Built Distribution

perplexityai-1.0.0-py3-none-any.whl (10.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page