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 details)

Uploaded Source

Built Distribution

chams-0.2.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file chams-0.2.0.tar.gz.

File metadata

  • Download URL: chams-0.2.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.7 Windows/10

File hashes

Hashes for chams-0.2.0.tar.gz
Algorithm Hash digest
SHA256 204fe52e0b104773dd8f887481420a231b5c5449d64e5caca13f2aaaf996a18d
MD5 d1ec547d0cca15c94e87eee99eb8e648
BLAKE2b-256 af32c1f1055459e6f2d073ac84170e2518b140caa057a0bb8560573e2ffce4cd

See more details on using hashes here.

File details

Details for the file chams-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: chams-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.7 Windows/10

File hashes

Hashes for chams-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad68b2f2bc3ba330315d656f15a1f0c12e7e2be159a3ce6ae6ac860c0c5e7659
MD5 980e09e39058bc481b4e1c045f36bee3
BLAKE2b-256 1556d47a60633811249bc76f438754bc91d9e89d87011e7a32e4c3e484e3ae90

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