Skip to main content

A python library for AI personality definition

Project description

PyAIPersonality

PyAIPersonality is a Python library for defining AI personalities for AI-based models. With PyAIPersonality, you can define a file format, assets, and personalized scripts to create unique AI personalities.

Installation

You can install PyAIPersonality using pip:

pip install pyaipersonality

Usage

Here's an example of how to use PyAIPersonality to load an AI personality and print its attributes:

from pyaipersonality import AIPersonality

if __name__ == "__main__":
    personality = AIPersonality("personalities_zoo/english/general/gpt4all_chat_bot")
    print("Done")
    print(f"{personality}")

Contributing

Contributions to PyAIPersonality are welcome! If you'd like to contribute, please follow these steps:

  1. Fork this repository
  2. Create a new branch (git checkout -b my-new-branch)
  3. Make your changes
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-branch)
  6. Create a new pull request

License

PyAIPersonality is licensed under the Apache 2.0 license. See the LICENSE file for more information.

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

pyaipersonality-0.0.2.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

pyaipersonality-0.0.2-py3-none-any.whl (7.8 kB view hashes)

Uploaded Python 3

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