Build AI Agents Fast
Project description
CyberChipped
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
- Zep integration for tracking facts
- Search Internet with Perplexity tool
- Search Zep facts tool
- Reasoning tool
Installation
You can install CyberChipped using pip:
pip install cyberchipped
Usage
Here's a basic example of how to use CyberChipped:
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cyberchipped-3.0.0.tar.gz.
File metadata
- Download URL: cyberchipped-3.0.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0c6a30c863a369e36d34051637419ac52d4365106dd27efee5abe75f1f84b4a
|
|
| MD5 |
636ff1e29e010d11dd481239d1aa1beb
|
|
| BLAKE2b-256 |
3cac004b1d1cab9e7419922df5f76ae1e8e6e6f9bb16074da2c7f7e4942909bb
|
File details
Details for the file cyberchipped-3.0.0-py3-none-any.whl.
File metadata
- Download URL: cyberchipped-3.0.0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7733ac5a0a05c9c70fe2303d067f85e5264789a06e1c09d435408c002f4938f9
|
|
| MD5 |
13348f420d2be316544fe960c17c96c4
|
|
| BLAKE2b-256 |
2866f554e46c32d9dc42e9420b34f3a44e6fd6e1f1d8bc520581644c5e55d097
|