A Python package designed to provide a user-friendly interface for AI developers working with Python. This package aims to streamline the integration of AI functionalities into your projects, making it easier to leverage advanced AI capabilities
Project description
PyAissistant
Welcome to Py AI Assistant, a Python package designed to provide a user-friendly interface for AI developers working with Python. This package aims to streamline the integration of AI functionalities into your projects, making it easier to leverage advanced AI capabilities.
- A user-friendly interface for AI developers working with Python.
- Streamline the integration of AI functionalities into your projects.
- Leverage advanced AI capabilities.
Features
- AI Chat Completion: Engage in interactive conversations with AI models.
- AI Tool Call: Utilize AI-powered tools for various tasks.
- AI Region Support:
- DeepSeek AI: Dive deep into AI research and development.
- Ollama Local Run API: Work with local AI models seamlessly.
Installation
To install the PyAissistant package, you can use pip:
pip install PyAissistant
As for update this package, you can use:
pip install --upgrade PyAissistant
Usage
show hello from the package and learn from the tips
from PyAissistant import hello
# show hello from PyAissistant
hello()
create a first console chat demo
from PyAissistant import *
from PyAissistant.PyChatBot.chat_api import ChatBot
from PyAissistant.PyChatBot.deep_seek_bot import DeepSeekBot
def read_message():
return input("\nYou: ")
def ai_chat_example(dialogs=2):
init_coder()
list_all_functions()
bot: ChatBot = DeepSeekBot()
while dialogs > 0:
message = read_message()
bot.chat(message)
dialogs -= 1
if __name__ == '__main__':
# run a demo of chatbot
ai_chat_example()
print()
print("Done! Bye")
Let AI tells you what it can do
def list_all_functions():
bot: ChatBot = DeepSeekBot()
bot.chat('Hi bot, list all functions please.')
more in coming
Documentation
For more detailed information on how to use the PyAissistant package, please refer to the official documentation.
Contributing
We welcome contributions from the community! If you're interested in contributing to PyAissistant, please check out our contribution guidelines.
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Support
If you encounter any issues or have any questions, please open an issue on our GitHub repository.
Thank you for using PyAissistant! We hope this package helps you in your AI development journey.
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 PyAissistant-0.1.20.tar.gz.
File metadata
- Download URL: PyAissistant-0.1.20.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d37aa09aa6958fc0e7a8e29236cfe7de1b2e0739522cef83e28037a496470c32
|
|
| MD5 |
5a949f1aa23646b84d7708309e822598
|
|
| BLAKE2b-256 |
4608bb65fb29d4eb77368ec14d962f6c9b42082b630937c77c44dc92e8f14678
|
File details
Details for the file PyAissistant-0.1.20-py3-none-any.whl.
File metadata
- Download URL: PyAissistant-0.1.20-py3-none-any.whl
- Upload date:
- Size: 32.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a9a8c5c0fc96db2bfbf3a7f5ab390808d41756953b6738d37b1749f4a2e5f48
|
|
| MD5 |
7b9799843da6eeeef7c531aac6366c10
|
|
| BLAKE2b-256 |
04b0cb923ea0d00d61505b83930af8031219d4c17004a662363f12a7f3113538
|