This project involves the design and implementation of a cross-platform AI application leveraging OpenAI's powerful suite of tools. The application focuses on enhancing user interactions through intelligent chatbots, user-driven image generation, and language translation modules.
- Developed intelligent chatbots capable of resolving user queries and generating informative responses.
- These chatbots are trained to adapt to various response models, enhancing their versatility and effectiveness in different scenarios.
- Leveraging OpenAI's state-of-the-art DALL.E model, our application empowers users to drive image generation based on their creative prompts.
- By providing intuitive prompts, users can effortlessly generate visually captivating images, expanding the boundaries of creativity within our platform.
- Developed a language translation module to facilitate seamless communication across linguistic barriers.
- Users can input text in their preferred language, and the system translates it into the desired target language in real-time.
- This module enhances the accessibility and usability of the application for users worldwide.
- The application is designed to run seamlessly across different platforms, ensuring accessibility for a wide range of users.
Figma (for UI design)
Flutter Framework (Dart language)OpenAI (Used API for image generation and intelligent chats)
Provider (for state management)
import 'package:flutter/material.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp();
runApp(MyApp());
}
//MyApp
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
// Send prompt to API and get the response
static Future<List<ChatModel>> sendMessageToAPI(
{required String message, required String modelName}) async {
try {
var response = await http.post(
Uri.parse("https://api.openai.com/v1/chat/completions"),
headers: {
'Authorization': 'Bearer $OPENAI_API_KEY',
'Content-Type': 'application/json'
},
body: jsonEncode({
"model": modelName,
"messages": [
{"role": "user", "content": message}
]
}));
Map jsonResponse = jsonDecode(response.body);
.............
}-
Clone the repository:
git clone https://github.com/sahilpotdukhe/HeyTalkAI.git
-
Navigate to the project directory:
cd echat -
Install dependencies:
flutter pub get
-
Run the app:
flutter run
- Flutter SDK: Installation Guide
- OpenAI API: Usage
- Figma Account: Sign up for Figma
Contributions are always welcome! If you have a suggestion that would make this better, please fork the repo and create a pull request. Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
bash git checkout -b feature/AmazingFeature) - Commit your Changes (
bash git commit -m 'Add some AmazingFeature') - Push to the Branch (
bash git push origin feature/AmazingFeature) - Open a Pull Request
You can reach out to me via the following methods:
- Email:
sahilpotdukhe.ssp@gmail.com
- Social Media:









