cyberchipped


Namecyberchipped JSON
Version 2.1.10 PyPI version JSON
download
home_pagehttps://github.com/truemagic-coder/cyberchipped
SummaryBuild AI Assistants Fast
upload_time2024-11-26 08:37:59
maintainerNone
docs_urlNone
authorBevan Hunt
requires_python<4.0,>=3.9
licenseMIT
keywords ai openai
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # CyberChipped

[![PyPI - Version](https://img.shields.io/pypi/v/cyberchipped)](https://pypi.org/project/cyberchipped/)

![CyberChipped Logo](https://cyberchipped.com/375.png)

CyberChipped is a Python library that provides an AI-powered conversation interface using OpenAI's Assistant API. It supports both text and audio-based interactions, with features like thread management, message persistence, and custom tool integration.

## Features

- Streaming text-based conversations with AI
- Audio transcription and streaming text-to-speech conversion
- Thread management for maintaining conversation context
- Message persistence using SQLite or MongoDB
- Custom tool integration for extending AI capabilities

## Installation

You can install CyberChipped using pip:

```bash
pip install cyberchipped
```

## Usage

Here's a basic example of how to use CyberChipped:

```python
from cyberchipped import AI, SQLiteDatabase

async def main():
    database = SQLiteDatabase("conversations.db")
    async with AI("your_openai_api_key", "AI Assistant", "Your instructions here", database) as ai:
        user_id = "user123"
        response = await ai.text(user_id, "Hello, AI!")
        async for chunk in response:
            print(chunk, end="", flush=True)
        print()

# Run the async main function
import asyncio
asyncio.run(main())
```

## Contributing

Contributions to CyberChipped are welcome! Please feel free to submit a Pull Request.

## License

This project is licensed under the MIT License - see the LICENSE file for details.


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/truemagic-coder/cyberchipped",
    "name": "cyberchipped",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": "ai, openai",
    "author": "Bevan Hunt",
    "author_email": "bevan@bevanhunt.com",
    "download_url": "https://files.pythonhosted.org/packages/ef/93/23d8f6ce82fda8f30b6e83e539beefded32067423436288543131a77e0f8/cyberchipped-2.1.10.tar.gz",
    "platform": null,
    "description": "# CyberChipped\n\n[![PyPI - Version](https://img.shields.io/pypi/v/cyberchipped)](https://pypi.org/project/cyberchipped/)\n\n![CyberChipped Logo](https://cyberchipped.com/375.png)\n\nCyberChipped is a Python library that provides an AI-powered conversation interface using OpenAI's Assistant API. It supports both text and audio-based interactions, with features like thread management, message persistence, and custom tool integration.\n\n## Features\n\n- Streaming text-based conversations with AI\n- Audio transcription and streaming text-to-speech conversion\n- Thread management for maintaining conversation context\n- Message persistence using SQLite or MongoDB\n- Custom tool integration for extending AI capabilities\n\n## Installation\n\nYou can install CyberChipped using pip:\n\n```bash\npip install cyberchipped\n```\n\n## Usage\n\nHere's a basic example of how to use CyberChipped:\n\n```python\nfrom cyberchipped import AI, SQLiteDatabase\n\nasync def main():\n    database = SQLiteDatabase(\"conversations.db\")\n    async with AI(\"your_openai_api_key\", \"AI Assistant\", \"Your instructions here\", database) as ai:\n        user_id = \"user123\"\n        response = await ai.text(user_id, \"Hello, AI!\")\n        async for chunk in response:\n            print(chunk, end=\"\", flush=True)\n        print()\n\n# Run the async main function\nimport asyncio\nasyncio.run(main())\n```\n\n## Contributing\n\nContributions to CyberChipped are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Build AI Assistants Fast",
    "version": "2.1.10",
    "project_urls": {
        "Homepage": "https://github.com/truemagic-coder/cyberchipped",
        "Repository": "https://github.com/truemagic-coder/cyberchipped"
    },
    "split_keywords": [
        "ai",
        " openai"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "52909765ea3519b3188b88d160d3a33ab57ee23e81fa152dd8f2782cef127ee6",
                "md5": "695af2591d6eb5302cd35b26fe7faa1d",
                "sha256": "2693a43a12111d7644a888ba7f73500195f4389b90415c61f0c8afff7b271809"
            },
            "downloads": -1,
            "filename": "cyberchipped-2.1.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "695af2591d6eb5302cd35b26fe7faa1d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 6301,
            "upload_time": "2024-11-26T08:37:57",
            "upload_time_iso_8601": "2024-11-26T08:37:57.801998Z",
            "url": "https://files.pythonhosted.org/packages/52/90/9765ea3519b3188b88d160d3a33ab57ee23e81fa152dd8f2782cef127ee6/cyberchipped-2.1.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ef9323d8f6ce82fda8f30b6e83e539beefded32067423436288543131a77e0f8",
                "md5": "a8df3f2f955c8bcf1f8c99b5d720222c",
                "sha256": "6454fdc628b55105ec8a40e6185a4ab756d49d1c66fe0f3e000c2df5d947651f"
            },
            "downloads": -1,
            "filename": "cyberchipped-2.1.10.tar.gz",
            "has_sig": false,
            "md5_digest": "a8df3f2f955c8bcf1f8c99b5d720222c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 5766,
            "upload_time": "2024-11-26T08:37:59",
            "upload_time_iso_8601": "2024-11-26T08:37:59.686562Z",
            "url": "https://files.pythonhosted.org/packages/ef/93/23d8f6ce82fda8f30b6e83e539beefded32067423436288543131a77e0f8/cyberchipped-2.1.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-26 08:37:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "truemagic-coder",
    "github_project": "cyberchipped",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "cyberchipped"
}
        
Elapsed time: 0.44048s