Skip to content

svdgoor/PilPal

 
 

Repository files navigation

Overview

This is a chat app that uses the GPT-4 API to generate responses to queries about medicinal information. It uses the chat_gpt_sdk package to interact with the API.

Development process

A full overview of the development process is available here.

Installation

The chat_gpt_sdk library on version 3.0.4 contained some faulty types in the response models. To fix this, the following steps need to be taken:

  1. As usual install flutter, dart, etc.
  2. Pull dependencies.
  3. Replace C:\Users\<user>\AppData\Local\Pub\Cache\hosted\pub.dev\chat_gpt_sdk-3.0.4\lib\src\model\assistant\response\assistant_data.dart with the file here.
  4. Replace C:\Users\<user>>\AppData\Local\Pub\Cache\hosted\pub.dev\chat_gpt_sdk-3.0.4\lib\src\model\run\response\create_thread_and_run_data.dart with the file here
  5. Run the app with flutter run as you are used to.

These steps may not be necessary if the package is updated.

About

ChatGPT agent assisting with medicine intake

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 52.3%
  • C++ 23.6%
  • CMake 19.2%
  • HTML 1.9%
  • Swift 1.5%
  • C 1.4%
  • Other 0.1%