AI Book Recommendation GetResponse_Action is a Python-based application that utilizes OpenAI's GPT-3.5 model to generate a book subject, summary, practical application, and an image(Dall-e). The generated content is then sent to a GetResponse email campaign using the GetResponse API. It gets a random book from the file amz_book which is a dictonary with the book and the amz affiliate link and creates all the content to send out in an email using GetRespose. Automated using Github Actions
- Python 3.8 or higher
- openai==0.27.6
- requests==2.29.0
-
Clone this repository:
-
Navigate to the cloned directory:
-
Install the required dependencies:
pip install -r requirements.txt
4.Set up your GetResponse API Key and OpenAI API Key in the environment
GET_RESPONSE=your_getresponse_api_key
OPEN_AI=your_openai_api_key
- Run the main script:
python main.py
in the amz_book.py add and change the existing books to the ones you like