A Flutter web-app that uses the OpenAI API to recommend gifts based on relation to the person, the occasion, their gender and their interests/hobbies.
This is a simple project to demonstrate how GPT can be used with Flutter.
- Create a new file inside the
lib/constants
directory called:open_ai.dart
- Head to https://openai.com/api/ and create a new account or log in to an existing one.
- You will need to create a new secret key here.
- Copy the secret key generated and paste it in the
open_ai.dart
file as:
String apiKey = "<YOUR SECRET KEY>";
Screen.Recording.2023-02-10.at.3.00.04.AM.mov
Thank you for making it this far! If you liked the project, please do give it a star.
Also, you can nominate me for the GitHub Star program here. It only takes a minute, but would really help me expand my reach and contribute more with great projects like this. Thank you!