/PostSuggestion

Class to suggest Posts for Social Midia using the ChatGPT tecnology

Primary LanguagePythonMIT LicenseMIT

PostSuggestion

This project consists of creating a class for creating, updating and translating posts for social networks. The client can insert the characteristics of the product, service or event that will be the subject of their post and define some parameters such as number of characters, amount of emojis, language and others. After its creation, the post can be updated to make adjustments, in addition to being translated into other languages.

Requirements

Libraries

Use the command below to install all the necessary libraries

pip install -r requirements.txt

You will need to create a .env file in the root of your project with an environment variable called OPENAI_KEY that represents the API key to access OpenAI models like GPT and Dall-e

Using the project

The project can be run from the command line or with a user interface using the commands below.

Command line

python cli.py

User interface

python interface.py