1.0.0 • Published 6 months ago

madgex-llm-playground v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

madgex-llm-playground

An experimentaion API for use with Open AI and LLMs

Stack

Sourcing API keys

If there is an env var of Environment__Name (as injected by Systems in AWS-land), the server will try use that to fetch secrets from the ParamStore & inject into the lcoal env. It will not overwrite any clashing vars.

Local development

A node.js based API

  1. git clone https://github.com/wiley/madgex-llm-playground
  2. cd madgex-llm-playground
  3. npm install

Create a local ./server/.env with the Open AI API Key (from ParamStore):

  1. npm run env:dev

This will download all secrets in the /dev/jobboard/llm-playground path & write a local ./server/.env file with them in. This file is .gitignored - don't undo this!

.