Helpingai-T2-fork


NameHelpingai-T2-fork JSON
Version 0.3.2 PyPI version JSON
download
home_pagehttps://github.com/Simatwa/Helpingai_T2.git
SummaryA simple module to use Perplexity AI in Python.
upload_time2024-04-30 21:35:03
maintainerNone
docs_urlNone
authorOEvortex
requires_python>=3.6
licenseGPLv3
keywords artificial-intelligence perplexityai perplexity python api ai
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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:

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

Join our [Discord server](https://discord.gg/3fJENZMzqY) 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](https://discord.gg/3fJENZMzqY)
- 📺 **Subscribe to our YouTube channel:** Stay updated with our latest tutorials and updates. [Subscribe here](https://youtube.com/@OEvortex?si=-NVlePE4S6jFAVBx)
- 📬 **Join our Telegram group:** Join our community for discussions and support. [Join here](https://t.me/+DjtjCbsEV7k3NDll)


## 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.

```python
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.

```python
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']}")
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Simatwa/Helpingai_T2.git",
    "name": "Helpingai-T2-fork",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "artificial-intelligence, perplexityai, perplexity, python, api, ai",
    "author": "OEvortex",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/b6/bb/29e1adcada37ab2345b8aca26769b152a048b39b88dae214904aaf3af622/Helpingai_T2-fork-0.3.2.tar.gz",
    "platform": null,
    "description": "# Helpingai_T2\n\nHelpingai_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.\n\n## Installation\n\nYou can install Helpingai_T2 using pip. Run the following command in your terminal:\n\n```bash\npython -m pip install -U Helpingai-T2-fork\n```\n\nJoin our [Discord server](https://discord.gg/3fJENZMzqY) for live chat, support, or if you have any issues with this package.\n\n## Support this repository:\n- \u2b50 **Star the project:** Star this repository. It means a lot to us! \ud83d\udc95\n- \ud83c\udf89 **Join our Discord Server:** Chat with us and others. [Join here](https://discord.gg/3fJENZMzqY)\n- \ud83d\udcfa **Subscribe to our YouTube channel:** Stay updated with our latest tutorials and updates. [Subscribe here](https://youtube.com/@OEvortex?si=-NVlePE4S6jFAVBx)\n- \ud83d\udcec **Join our Telegram group:** Join our community for discussions and support. [Join here](https://t.me/+DjtjCbsEV7k3NDll)\n\n\n## Usage\n\nHere are some examples of how you can use the Helpingai_T2 module in your code:\n\n### Single Prompt Example\n\nThis example takes a single input from the user and generates a response using the Perplexity AI.\n\n```python\nfrom Helpingai_T2 import Perplexity\n\n# Get a prompt from the user\nprompt = input(\"\ud83d\udc66: \")\n\n# Generate a response using the Perplexity AI\nfor a in Perplexity().generate_answer(prompt):\n    print(f\"\ud83e\udd16: {a['answer']}\")\n```\n\n### Continuous Conversation Example\n\nThis example continuously takes input from the user and generates responses, creating an ongoing conversation with the Perplexity AI.\n\n```python\nfrom Helpingai_T2 import Perplexity\n\n# Start a continuous conversation with the user\nwhile True:\n    # Get a prompt from the user\n    prompt = input(\"\ud83d\udc66: \")\n\n    # Generate a response using the Perplexity AI\n    for a in Perplexity().generate_answer(prompt):\n        print(f\"\ud83e\udd16: {a['answer']}\")\n```\n\n",
    "bugtrack_url": null,
    "license": "GPLv3",
    "summary": "A simple module to use Perplexity AI in Python.",
    "version": "0.3.2",
    "project_urls": {
        "Homepage": "https://github.com/Simatwa/Helpingai_T2.git",
        "Source": "https://github.com/Simatwa/Helpingai_T2.git"
    },
    "split_keywords": [
        "artificial-intelligence",
        " perplexityai",
        " perplexity",
        " python",
        " api",
        " ai"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b6bb29e1adcada37ab2345b8aca26769b152a048b39b88dae214904aaf3af622",
                "md5": "2a7c3cba82d055ccdfc4ab59aedddd02",
                "sha256": "2f36314ad152f71dc5fd4c74c74f255b8fbe98bc6b521957d4df794e67377c12"
            },
            "downloads": -1,
            "filename": "Helpingai_T2-fork-0.3.2.tar.gz",
            "has_sig": false,
            "md5_digest": "2a7c3cba82d055ccdfc4ab59aedddd02",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 18568,
            "upload_time": "2024-04-30T21:35:03",
            "upload_time_iso_8601": "2024-04-30T21:35:03.258611Z",
            "url": "https://files.pythonhosted.org/packages/b6/bb/29e1adcada37ab2345b8aca26769b152a048b39b88dae214904aaf3af622/Helpingai_T2-fork-0.3.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-30 21:35:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Simatwa",
    "github_project": "Helpingai_T2",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "helpingai-t2-fork"
}
        
Elapsed time: 0.34052s