umgc / Summer2024

Summer 2024 Cohort for UMGC 670
Creative Commons Zero v1.0 Universal
3 stars 3 forks source link

LLM Actually working!! #505

Closed StephenBuley closed 1 month ago

StephenBuley commented 1 month ago

Hey everyone, our app now makes calls to the LLM, parses the data that returns, makes sure it has enough assessments, and saves the assessment set. Every once in a while there is an error parsing, still trying to work out how to handle this gracefully, but wanted to get this up and reviewed.

For local environment, you will need to follow these steps:

  1. Get a Perplexity API key. I won't post here online, but you can message me or create a new one at https://docs.perplexity.ai/docs/getting-started.
  2. Once you have an API Key, create a .env file in the Team-C/test_wizard directory (flutter root), and add API_KEY=<The API key you just got>.
  3. Run your app locally by running flutter run --dart-define-from-file=.env

Thanks for the review! Getting really close to a working product here!