Skip to main content

PyAIKit

The PyAIKit package provides various functionalities for AI-based text analysis and processing.

Sub-packages

sentiment_analysis: Provides functionality for performing sentiment analysis on text data.

Feature:
- generate_basic_sentiment: Provides basic sentiment analysis functionality, allowing the classification of text into positive, negative, or neutral sentiment.
- generate_advanced_sentiment: Provides advanced sentiment analysis functionality, allowing the classification of text into specific emotions such as happy, sad, anger, irritated, or surprise.
- generate_sentiment_score: Provides functionality to generate sentiment scores between -1 and +1 for text data.

text_summarization: Provides functionality for generating summaries of text data.

Features:
- summarize_text: Generates a summary of a given text with a specified number of words.
- summarize_pdf: Generates a summary of a given PDF file, considering the specified number of pages.

text_generation: Provides functionality for generating text/blogs about any topic.

Features:
- generate_text: Generates a blogs/summary for a given topic.

translation: Provides functionality for translating any text.

Features:
- translator: Translate any text to any language

Features

  • Easy-to-use functions and classes for various tasks related to OpenAI's API.
  • Streamlined text generation, language processing, and other AI-powered functionalities.
  • Support for both synchronous and asynchronous API calls.
  • Flexibility to work with different models and configurations offered by OpenAI.

Installation

You can install PyAIKit using pip:

pip install pyaikit
or
pip install pyaikit@git+https://github.com/Somenath24/pyaikit

Getting Started

To get started with PyAIKit, you need to have an OpenAI API key. If you don't have one, visit the OpenAI website to obtain your API key.

Once you have your API key, you can set it as an environment variable in your project or provide it directly when using PyAIKit.

Here's a simple example that demonstrates how to generate text using PyAIKit:

from pyaikit.text_summerization.text_summerizer import text_summerizer

openai1=auth.setup(api_key,org_id)
# Instantiate the text_summerizer with your OpenAI API key
generator = text_summerizer()

# Generate text summerization from pdf using the default model
response = generator.summarize_pdf(openai1, no_of_words, file_path, start_page, end_page)

print(response)

For more code help please check the example

Future Extension Plans for PyAIKit: Enhancing the Power of NLP

PyAIKit is an evolving project with a roadmap of more future extensions and enhancements. Here are some of the plans that are being considered to further empower the package:

Model Customization: One of the key areas of focus for PyAIKit future development is enabling model customization. This means allowing users to fine-tune the underlying ChatGPT model according to their specific domain or application requirements. Customization options would enable users to train the model on their own data, resulting in more tailored and accurate text generation.

Advanced Text Analysis: It aims to provide more advanced text analysis functionalities in the future. This includes features such as named entity recognition, part-of-speech tagging, and sentiment analysis. These enhancements would allow users to extract valuable insights from text data, enabling more sophisticated NLP applications and empowering data-driven decision-making.

Integration with Other AI Models: This expansion would enable users to combine the power of ChatGPT with other state-of-the-art models, such as image recognition or speech processing models. This integration would enhance the package's versatility and enable the development of more comprehensive AI solutions.

License

PyAIKit is distributed under the MIT License. See the LICENSE file for more information.

This package is using OpenAI API, no connection with openai organization


Metadata

Release files for pyaikit 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyaikit 1.0.4
File Size Uploaded Provenance
pyaikit-1.0.4.tar.gz 8.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyaikit 1.0.4
File Interpreter ABI Platform
pyaikit-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 18.0 kB

Release files / pyaikit-1.0.4.tar.gz

Download URL pyaikit-1.0.4.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ef8eb6c665b276b68916a19e268ce3dccff001d676ad54086f3a9414dcfde1ae
BLAKE2b-256 checksum
How to use checksums
dbeecb0a41cadd50fcf3bdec8c9f72d277fe2f81df2770cc73041b0131c4cd21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.10

Release files / pyaikit-1.0.4-py3-none-any.whl

Download URL pyaikit-1.0.4-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8427f1cd776a407704959fd72a85a43336a9469d8fe00fd695abdd3304ddace5
BLAKE2b-256 checksum
How to use checksums
b9822fbb0af80a672215cb7d0478493df30c7815a74971805ea9512f97aa5998
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.10

Security for pyaikit 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page