Skip to content

GUI app named QuestionIA. This program uses the Tkinter library with the Ttkbootstrap library (provides a modern interface) and also utilizes the Gemini API. The program is designed to provide question templates for various subjects depending on the specified school year.

License

Notifications You must be signed in to change notification settings

Iranildot/question-ia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

QuestionIA

Summary

Program Explanation

QuestionIA is a GUI program built in Python that uses the Tkinter library with Ttkbootstrap (providing a modern interface) and also makes use of the Gemini API. This program provides question templates for various subjects (Mathematics, Portuguese, Science, ...) depending on the school year selected (1st, 2nd, 3rd, ..., 9th grade of elementary school, 1st, 2nd, and 3rd year of high school). It aims to assist teachers in creating exercise lists.

Getting to Know the Program

Interface

Question Settings

This section of the program allows the user to configure the following options:

  • YEAR: Refers to the students' school year (1st, 2nd, 3rd, ..., 9th grade of elementary school, 1st, 2nd, and 3rd year of high school)

  • SUBJECT: The subjects from which the AI will generate questions (Portuguese, English, Spanish, ...)

  • TOPIC: Refers to the topic of a given subject that will be used to generate content (e.g., subject=Mathematics, topic=fractions)

  • NUMBER OF QUESTIONS: The number of questions the AI will generate (minimum limit = 1, maximum limit = 20)

    NOTE: The search buttons next to the subject and topic fields are used to assist in filling out the fields, with help provided by Gemini.

estilo darkly

Gemini Settings

In the Gemini settings (in the GUI), only the place to enter the API KEY for communicating with Gemini has been added. The input widget is configured to display only "*", regardless of the input, to visually hide the API KEY.

imagem do imput de API KEY

While the settings in the Backend are:

Preparando o modelo

Output Window

The output window has a button to generate the content and display the output (Gemini's responses) in a text widget.

página de output

App Themes

The application has built-in themes to customize the app to your liking. Check out the following styles!

Darkly (default)

estilo darkly

Superhero

estilo superhero

Solar

estilo solar

Cyborg

estilo cyborg

Vapor

estilo vapor

App Fonts

The application offers fonts provided by the Tkinter library to customize the app to your liking. Check out the following styles!

Meera (default)

Questões sobre filosofia

Purisa

puriza font

Chilanka

chilanka font

Program Tests

Test 1

Input

For test 1, the following configurations were entered:

  • YEAR: 6th year of elementary school
  • SUBJECT: Portuguese
  • SUBJECT: Grammar
  • NUMBER OF QUESTIONS: 10

Output

6 ano portugûes gramática

Test 2

Input

For test 2, the following configurations were entered:

  • YEAR: 3rd of high school
  • SUBJECT: Spanish
  • SUBJECT: Complete the correct conjugation of verbs
  • NUMBER OF QUESTIONS: 20

Output

Espanol do 3 ano ensino médio

Test 3

Input

For test 3, the following configurations were entered:

  • YEAR: 1st of high school
  • SUBJECT: English
  • SUBJECT: Grammar
  • NUMBER OF QUESTIONS: 10

Output

inglês gramática 1 ano ensino medio

Test 4

Input

For test 4, the following configurations were entered:

  • YEAR: 3rd of high school
  • SUBJECT: Mathematics
  • SUBJECT: Algebra
  • NUMBER OF QUESTIONS: 10

Output

matemática 3 ano ensino medio

Test 5

Input

For test 5, the following configurations were entered:

  • YEAR: 3rd of high school
  • SUBJECT: Philosophy
  • SUBJECT: Philosophy of science
  • NUMBER OF QUESTIONS: 10

Output

Questões sobre filosofia

Demonstration (video)

Here you can see how the program works in practice through the provided video.

QuestionIA.mp4

NOTE: Don't worry, the key was deleted at the end of the video!

About

GUI app named QuestionIA. This program uses the Tkinter library with the Ttkbootstrap library (provides a modern interface) and also utilizes the Gemini API. The program is designed to provide question templates for various subjects depending on the specified school year.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages