madgex-llm-playground

1.0.0 • Public • Published

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!

.

Readme

Keywords

none

Package Sidebar

Install

npm i madgex-llm-playground

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

20.3 kB

Total Files

23

Last publish

Collaborators

  • jameswragg