Integrate OpenAI with Twitter-Auto-Post-Bot and Refactoring for Modularity
- Integrated OpenAI API for generating tweet content.
- Refactored code to enhance modularity, moving key functions to functions.py
This update integrates OpenAI to automatically generate tweet content, enhancing the Twitter auto-poster's capabilities. The refactoring effort makes the codebase more modular, easing future maintenance and upgrades. Users now have the flexibility to post tweets instantly or schedule them for daily automation using Open AI GPT4.
As well as the reviewing the currently implemented features:
- Tweet from file
- Tweet from string
Now we have added the option to tweet from openai.