Skip to main content

Helpingai_T2

Helpingai_T2 is a Python module that allows you to interact with the Perplexity AI. It's simple to use and can be easily integrated into your Python projects.

Installation

You can install Helpingai_T2 using pip. Run the following command in your terminal:

python -m pip install -U Helpingai-T2-fork

Join our 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 us! 💕
  • 🎉 Join our Discord Server: Chat with us and others. Join here
  • 📺 Subscribe to our YouTube channel: Stay updated with our latest tutorials and updates. Subscribe here
  • 📬 Join our Telegram group: Join our community for discussions and support. Join here

Usage

Here are some examples of how you can use the Helpingai_T2 module in your code:

Single Prompt Example

This example takes a single input from the user and generates a response using the Perplexity AI.

from Helpingai_T2 import Perplexity

# Get a prompt from the user
prompt = input("👦: ")

# Generate a response using the Perplexity AI
for a in Perplexity().generate_answer(prompt):
    print(f"🤖: {a['answer']}")

Continuous Conversation Example

This example continuously takes input from the user and generates responses, creating an ongoing conversation with the Perplexity AI.

from Helpingai_T2 import Perplexity

# Start a continuous conversation with the user
while True:
    # Get a prompt from the user
    prompt = input("👦: ")

    # Generate a response using the Perplexity AI
    for a in Perplexity().generate_answer(prompt):
        print(f"🤖: {a['answer']}")

Release files for Helpingai-T2-fork 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Helpingai-T2-fork 0.3.2
File Size Uploaded
Helpingai_T2-fork-0.3.2.tar.gz 18.6 kB Details

Release files / Helpingai_T2-fork-0.3.2.tar.gz

Download URL Helpingai_T2-fork-0.3.2.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2f36314ad152f71dc5fd4c74c74f255b8fbe98bc6b521957d4df794e67377c12
BLAKE2b-256 checksum
How to use checksums
b6bb29e1adcada37ab2345b8aca26769b152a048b39b88dae214904aaf3af622
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release history Release notifications | RSS feed

This release

0.3.2 This release

1 release file

0.3.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page