Skip to main content

Chat with emojis

Project description

Emoji Chat

Chat by emojis with the help of ChatGPT 😊

Emoji Chat (emojichat) is a Python package that leverages the capabilities of GPTs such as ChatGPT to transform text into emojis or generate sentences from emojis. It provides easy-to-use functions that allow users to easily convert their text to emojis or generate emoji-based sentences with just one line of code.

With Emoji Chat, users can add creativity to their chat messages or social media posts. It is a good tool for anyone looking to add some fun and creativity to their text.

Emojize

Emojize text to emojis.

import openai
from emojichat import emojize

openai.api_key = "YOUR-API-KEY"

content = "I am ok in the morning, but feel bad at night."
emojize(content, temperature=0)
# "🙂🌅➡️😔🌃"

content = "I ate some pizza tonight."
emojize(content, temperature=0)
# "🍕🌃🍽️"

Demojize

Generate paragraph from any emojis.

import openai
from emojichat import demojize

openai.api_key = "YOUR-API-KEY"

content = "🥱🚴➡️😊🛁️"
demojize(content, temperature=0)
# "I feel tired while cycling, but happy after taking a bath."

content = "I 🚴 last year in 🇨🇳"
demojize(content, temperature=0)
# "I cycled last year in China."

For more details please try these examples 😄

Contribution

Welcome all kinds of contribution!

For more details please refer to CONTRIBUTING.md

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

emojichat-0.0.1.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

emojichat-0.0.1-py3-none-any.whl (8.0 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