umgc / Summer2024

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

400 team c task test questions from llm create llm service skeleton #401

Closed StephenBuley closed 3 months ago

StephenBuley commented 3 months ago

Proposed changes

This would set up the LLMService class, responsible for sending requests to the LLM. Unit testing for LLMService constructor and LLMService.sendRequest() included.

IMPORTANT: I think (not 100% sure on this) you will have to run flutter pub get to update your versions of the dependencies I added (dart's standard http package).

Future Work

We may want to extend the reach of this class into returning specific data or catching errors as necessary, but for now it just makes the API call and returns the Future<Response>.

Reviews appreciated. :)