Skip to content

anjutus/ai_chat_app

Repository files navigation

Travel Itinerary App

This repository contains a travel itinerary app developed using Flutter and integrated with the ChatGPT API. The app allows users to create their travel itineraries and receive personalized recommendations using the power of artificial intelligence.

Installation

1.Clone the repository: git clone https://github.com/anjutus/ai_chat_app.git
2.Navigate to the project directory: cd ai_chat_app
3.Install the required dependencies: flutter pub get
4.Run the app: flutter run


Note: Make sure you have the Flutter SDK and Dart installed on your machine.

Configuration

To use the ChatGPT API in the app, you need to obtain an API key from OpenAI. Once you have the key, follow these steps:

1. Create a new folder in lib named constant and in that folder create afile named openai_key.dart.
2. Define a constant apiKey in the openai_key.dart file and assign it your ChatGPT API key.
3. Save the file.


Example openai_key.dart file:

const apiKey = 'YOUR_CHATGPT_API_KEY';

Demo

Demo.mp4

Acknowledgements

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published