Skip to content

Add Support for Hugging Face Inference API#18

Open
Stephanieewelu wants to merge 1 commit intoMyRockae:mainfrom
Stephanieewelu:StephanieRockae
Open

Add Support for Hugging Face Inference API#18
Stephanieewelu wants to merge 1 commit intoMyRockae:mainfrom
Stephanieewelu:StephanieRockae

Conversation

@Stephanieewelu
Copy link
Copy Markdown
Member

This issue proposes replacing the existing Google Gemini API integration in the QuizGenerator class with the Hugging Face Inference API, which offers a free tier for non-commercial use. This change makes the tool more accessible to users without requiring a paid API key, while maintaining the core functionality of generating multiple-choice quiz questions.

This issue proposes replacing the existing Google Gemini API integration in the QuizGenerator class with the Hugging Face Inference API, which offers a free tier for non-commercial use. This change makes the tool more accessible to users without requiring a paid API key, while maintaining the core functionality of generating multiple-choice quiz questions.
Copy link
Copy Markdown
Member

@MasterOfLogic1 MasterOfLogic1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was this tested ?

@Stephanieewelu
Copy link
Copy Markdown
Member Author

@MasterOfLogic1 yes, you only need to nter an api key in the code and it works smoothly.

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.

2 participants