readme-ai
readme-ai copied to clipboard
[Feature] Alternative Option For AI support
It would be better to have g4f support. Alternative to GPT API Key.
Hi @khengyun, thanks for sharing this! I'll take a look at implementing this into the tool.
Thank you, Eli
Hi, @eli64s I would like to contribute on this feature.
Hi @skfrost19. Thanks for your interest in contributing to readme-ai. Do you have any specific idea of how you'd like to contribute to this feature?
For additional context, the goal here is to add support for additional LLM APIs in addition to the current implementation of only the OpenAI API. This would give users more flexibility and potentially help grow the project. I need to spend more time working out the details on how to refactor the current codebase and integrate this solution. If you have any initial thoughts or ideas please go ahead and share them.
Thank you, Eli
@eli64s Yeah sure, we can add 2 other options - Google Gemini API (free) and use of offline quantized models LLaMa2 or OpenChat3.5 for the text generation. Now the offline models will take more time for the readme generation but it will get the job done. Thanks.
@skfrost19 Thanks for sharing, I think integrating any free API such as Google Gemini is a good starting point.
Are you familiar with the LiteLLM project? It allows you to interface with many providers using the same methods that OpenAI uses. I need to spend some more time learning about LiteLLM but it may be an interesting option to explore as well.
@eli64s i am not familiar with the project but will look into it and get back to you. Thanks
another open source project : https://jan.ai/