openstax / raise-ai-spikes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RAISE AI Spikes

This repository contains spike code from AI related experimentation for the RAISE project. As such, everything here should be considered as quick and dirty prototypes created to better understand and / or demonstrate potential capabilities.

AI Predictor

This spike entails adopting SageMaker to deploy and invoke AI models.

Resource Match

This prototype is part of pilot work to help explore AI-enabled features for teachers.

Development

The docker environment currently includes a local environment for Resource Match and can be launced as follows:

$ docker compose up -d

The Resource Match API development container launches uvicorn with --reload and volume mounts the code directory so file changes should get reflected without any additional steps. The API is accessible on port 8888 and docs available at http://localhost:8888/docs.

The Resource Match API does need a dev token to invoke OpenAI. Developers can set the environment variable OPENAI_API_KEY in their terminal with their token value, and it will get picked up by the docker environment.

Devs can also test the deployment build of the Resource Match app / frontend by running the following:

$ RESOURCEMATCH_APP_TARGET=deploy docker compose up --build -d

About


Languages

Language:TypeScript 56.6%Language:Python 30.2%Language:HTML 8.5%Language:Dockerfile 2.4%Language:JavaScript 2.0%Language:CSS 0.4%