Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 1.72 KB

README.md

File metadata and controls

59 lines (38 loc) · 1.72 KB

Parameter Playground

A playground for LLM parameters

screenshot

Description

This project started as a fork of rooben-me's tone-changer-open which itself was a "fork" of Figma's tone generator, I've made many changes to make it more focused on local LLMs and parameter exploration

Build

pnpm install
pnpm run build

Note: If you're using npm, you might need npm i --legacy-peer-deps to install the dependencies, the node ecosystem is weird.

Run

pnpm run dev

Note you can optionally set the environment variable OPENAI_API_BASE before launching the app to specify the base URL of the OpenAI compatible API endpoint (e.g. http://localhost:11434/v1). You may also configure this in the UI after launching the app, it will be stored in your browsers local storage.

OPENAI_API_BASE=http://localhost:11434/v1 pnpm start

Build Desktop App

To build the desktop app, you need to have electron and electron-builder installed as dependencies. The package.json file has been updated to include these dependencies and the necessary build scripts.

pnpm install
pnpm run electron-pack

Run Desktop App

To run the desktop app in development mode, use the following command:

pnpm run electron-dev

Acknowledgements

License

  • At the time I used rooben-me's project as a starting point, it was unlicensed, I've since added the Apache 2.0 license to this project
  • Any libraries or assets used in this project may be subject to their own licenses and copyrights
  • Apache 2.0 LICENSE
  • Copyright 2024 Sam McLeod