Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for Gemini API keys #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thenaivekid
Copy link

Title: Add Support for Gemini API Keys
Description:
This pull request introduces support for using Gemini API keys as an alternative to OpenAI API keys in the RAG project. This change aims to make the project more accessible by allowing users to utilize free Gemini keys, thus eliminating the need for paid OpenAI keys.

Changes:
Replaced instances of OpenAI API key usage with Gemini API key integration.
Updated relevant parts of the codebase to ensure compatibility with Gemini API.
Modified documentation to include instructions for obtaining and using Gemini API keys.
Testing:
Conducted tests to verify that the modified code works seamlessly with Gemini API keys.
Ensured no functionality is lost when using the alternative API.
Benefits:
Expands accessibility for users, particularly those without the means to purchase OpenAI API keys.
Encourages broader experimentation and learning within the community.

Recommendation if gemini doesnot work for routing you can use cohere command r for free

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant