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.
Metadata
Release files for PyAissistant 0.1.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PyAissistant-0.1.20.tar.gz | 25.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PyAissistant-0.1.20-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 58.2 kB
Release files / PyAissistant-0.1.20.tar.gz
| Download URL | PyAissistant-0.1.20.tar.gz |
|---|---|
| Size | 25.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d37aa09aa6958fc0e7a8e29236cfe7de1b2e0739522cef83e28037a496470c32
|
|
BLAKE2b-256 checksum How to use checksums |
4608bb65fb29d4eb77368ec14d962f6c9b42082b630937c77c44dc92e8f14678
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.7
|
Release files / PyAissistant-0.1.20-py3-none-any.whl
| Download URL | PyAissistant-0.1.20-py3-none-any.whl |
|---|---|
| Size | 32.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a9a8c5c0fc96db2bfbf3a7f5ab390808d41756953b6738d37b1749f4a2e5f48
|
|
BLAKE2b-256 checksum How to use checksums |
04b0cb923ea0d00d61505b83930af8031219d4c17004a662363f12a7f3113538
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.7
|