Skip to main content

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

PyPI VersionPyPI Downloads

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

Usage

show hello from the package and learn from the tips

from PyAissistant import *

# 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyAissistant-0.1.18.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

PyAissistant-0.1.18-py3-none-any.whl (26.4 kB view details)

Uploaded Python 3

File details

Details for the file PyAissistant-0.1.18.tar.gz.

File metadata

  • Download URL: PyAissistant-0.1.18.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.7

File hashes

Hashes for PyAissistant-0.1.18.tar.gz
Algorithm Hash digest
SHA256 6e3ff6e05b28af9ea33834de1d896246e0cd8ce2f123078934321f11e1021666
MD5 9965416569bda36e13d2536432ecc78c
BLAKE2b-256 95bcd47e532a082a046ccab4d3c4082a139a0badf9e68bde8daabf5f10055e29

See more details on using hashes here.

File details

Details for the file PyAissistant-0.1.18-py3-none-any.whl.

File metadata

File hashes

Hashes for PyAissistant-0.1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 45e9f3c90a20565cbfb56de6c8d7384a792ad63bc8036ea3b3e0f17bba7cc23d
MD5 1dc7c94c37e8d7f4adba1e2844e6dfe3
BLAKE2b-256 16ac7b6a593a1f06e295a18240d2198a1291545416e4d67804e3c456479a6d17

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page