Skip to content

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.

License

Notifications You must be signed in to change notification settings

nimius-debug/AI_GetResponse_Action

Repository files navigation

AI Book Recommendation with amazon affiliate link GetResponse_Action

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

Requirements

  • Python 3.8 or higher
  • openai==0.27.6
  • requests==2.29.0

Installation

  1. Clone this repository:

  2. Navigate to the cloned directory:

  3. 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
  1. Run the main script:
python main.py

Config

in the amz_book.py add and change the existing books to the ones you like

License

MIT

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages