Skip to main content

No project description provided

Project description

chams - NLP Tasks with OpenAI GPT-3

Welcome to chams, a Python package for natural language processing (NLP) tasks such as paraphrasing and email generation using OpenAI's GPT-3 model.

Installation

you can install chams by running the following command:

pip install chams

Usage

To use chams, you will need to set the OPENAI_API_KEY environment variable to your OpenAI API key.

You can then use the following command to generate emails with chams:

chams email "send login for the database to infrastructure team" --language "en" -n 3

This will generate 3 emails with the subject "send login for the database to infrastructure team" in English.

You can also use the paraphrase command to generate paraphrased text. For example:

chams paraphrase --text "Hello, how are you doing?" --language "en" --number 2

This will generate 2 paraphrased versions of the text "Hello, how are you doing?" in English.

Author

chams was created by Zakaria Fellah. You can reach him at fellah.zakaria@yahoo.com

License

chams is released under the MIT license.

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

chams-0.2.0.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

chams-0.2.0-py3-none-any.whl (3.3 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