Skip to content

Update to Use Google's Gemini Model for Content Generation (Commented Out OpenAI Code)#1

Open
cyberfantics wants to merge 2 commits intoUnisami:mainfrom
cyberfantics:main
Open

Update to Use Google's Gemini Model for Content Generation (Commented Out OpenAI Code)#1
cyberfantics wants to merge 2 commits intoUnisami:mainfrom
cyberfantics:main

Conversation

@cyberfantics
Copy link
Copy Markdown

This update modifies the application to use Google's Gemini model instead of OpenAI's API. The change was made because Gemini is now freely available, providing an alternative for generating content. The OpenAI client setup code has been commented out, and the Gemini model is integrated using Google's google.generativeai library. The application now uses the Gemini model (gemini-1.5-flash) for article rewriting tasks while maintaining the functionality for parsing RSS feeds, web scraping, and content uploading. Additionally, API key configuration for Google is handled via environment variables.

@Minhal-sami1
Copy link
Copy Markdown
Contributor

Hi there

Glad to see your contribution towards this project, thanks !

@Hammad-1070
Copy link
Copy Markdown

Hello,

Thanks for providing this great software. I will like your guidance in two regards, firstly when I am clicking on the " Share on LINKEDIN and TWIITER " button nothing works, and secondly all the three articles which are displayed on the main screen have the same thumbnail, can you please change that.

You might be thinking that you should do at least this yourself but I am just asking. Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants