Skip to content

Feature COD 254 - Add Python ML Service#63

Open
jevers9788 wants to merge 3 commits intomasterfrom
feature/cod-254-ml-service
Open

Feature COD 254 - Add Python ML Service#63
jevers9788 wants to merge 3 commits intomasterfrom
feature/cod-254-ml-service

Conversation

@jevers9788
Copy link
Copy Markdown
Collaborator

Summary
This PR adds rough tooling to separate calls to predictive models into an independent service. This will grant us greater flexibility in how our AI tutor is designed on the backend in the event that we want to change models or develop more custom model architectures. But for the time being, we should continue to rely on the typescript OpenAI API, since there's a lot more optimization required to transfer the service to Python in a way that will be fast and robust.

Files Added

  • interfaces.py : classes to unify function signatures from different LLM toolkits
  • app.py - a toy Flask app to work as a backend server
  • config.yml - parameters for model classes
  • requirements.txt - python dependencies
  • setup.sh - script to prepare setup the virtual env

@linear
Copy link
Copy Markdown

linear bot commented May 10, 2023

COD-254 Add Explain as Python Service

This tracks separating the chatbot component of the site into its own service.

NB: Code pushed should be considered provisional. There's plenty to do to make this fast and reliable, and we should use the Typescript OpenAI API for as long as we can get away with it

@vercel
Copy link
Copy Markdown

vercel bot commented May 10, 2023

Someone is attempting to deploy this pull request to a Personal Account on Vercel that is not owned by them.

To accomplish this, the commit author's email address needs to be associated with a GitHub account.

Learn more about how to change the commit author information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant