https://github.com/sammcj/parameter-playground
https://github.com/sammcj/parameter-playground
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sammcj/parameter-playground
- Owner: sammcj
- License: other
- Created: 2024-07-19T05:48:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-23T00:08:01.000Z (about 1 year ago)
- Last Synced: 2025-03-24T07:57:06.514Z (7 months ago)
- Language: TypeScript
- Size: 1020 KB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Parameter Playground
A playground for LLM parameters

## Description
This project started as a fork of rooben-me's [tone-changer-open](https://github.com/rooben-me/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
```bash
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
```bash
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.
```bash
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.
```bash
pnpm install
pnpm run electron-pack
```## Run Desktop App
To run the desktop app in development mode, use the following command:
```bash
pnpm run electron-dev
```## Acknowledgements
- [rooben-me](https://github.com/rooben-me/tone-changer-open)
- Figma (I guess?)## 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](LICENSE)
- Copyright 2024 Sam McLeod