This is a Flutter based app that acts like a personal assistant and educator which uses OpenAI's GPT Chat API. It is designed to mimic as an assistant but with different mode of conversations/learning such as kids-boys-10y, kids-girls-13y, short, normal and education. It includes option for voice prompts and assistant's response are based on set of labels which includes 'mode', 'creativity' and 'model'.
- Choice to select mode with Five options: Kids-Boys, Kids-Girls, Short, Normal, Education.
- Voice prompt feature
- Flexibility to adjust creativity using slider.
- Selection of OpenAI GPT model.
- Real-time updates of the conversation history.
-
Clone the repository:
git clone https://github.com/your-username/your-repository.git
-
Navigate to the project directory:
cd your-repository
-
Install the required dependencies:
flutter pub get
-
Create a
.env
file at the root of the project and add your OpenAI API key:OPENAI_API_KEY=your-api-key
-
Run the app:
flutter run
- You can begin by typing in your query in the text-field. Hint: Double click to clear the field.
- Click on Send or use Voice Interpreter feature represented with an Icon.
- The response from AI assistant will be visible below Text Input Field.
- Use Bottom Navigation bar to switch labels and update parameters about mode, creativity and model.
- For new query, click on 'New Query' button.
- flutter_dotenv: ^5.0.0
- permission_handler: ^14.0.0
- record: ^3.0.0
- audioplayers: ^0.20.0
- path_provider: ^2.0.0