Alwrity is an AI-powered generator designed to assist users in creating compelling marketing copy using the STAR (Situation-Task-Action-Result) copywriting formula. This tool leverages OpenAI's powerful ChatGPT model to generate copy based on user-provided inputs.
- Input Section: Users can input brand/company name, situation, task, action, and result to generate copy.
- Pro-Tip: Provides guidance on how to use the STAR copywriting formula effectively.
- Progress Spinner: Displays a spinner during copy generation.
- Error Handling: Handles exceptions gracefully and provides helpful error messages.
- Input Section: Enter the brand/company name, situation, task, action, and result in the input fields provided.
- Generate Copy: Click the "Get STAR Copy" button to generate copy based on the provided inputs.
- View Copy: Once generated, the copy will be displayed in the web app for review and use.
STAR is an acronym for Situation-Task-Action-Result. It's a copywriting framework that focuses on guiding the audience through different stages:
- Situation: Setting the context or background for the problem or need.
- Task: Describing the specific challenge or objective to be addressed.
- Action: Explaining the actions taken to solve the problem or achieve the objective.
- Result: Highlighting the outcome or benefits achieved from the actions.
The STAR formula helps in creating clear and concise copy that effectively communicates the value proposition.
- Situation: "In a fast-paced business environment..."
- Task: "Our team needed a solution to streamline communication..."
- Action: "We implemented a new collaboration tool..."
- Result: "Resulting in improved productivity and efficiency."
- Python 3.6+
- Streamlit
- Tenacity
- OpenAI
- Streamlit Lottie
- Clone this repository.
- Install the required dependencies using
pip install -r requirements.txt
. - Set up environment variables:
OPENAI_API_KEY
: OpenAI API key.
- Run the Alwrity script using
streamlit run alwrity.py
.