Legba is a desktop app to help you test, optimize, and share prompts when calling OpenAI's API. It currently only runs on Windows, but I hope to eventually make it cross-platform.
It started out as a simple desktop request/response app, but I've expanded it to help test building prompts with different 'prefix' text describing the persona, purpose, persuasion, and process to include when submitting the prompt.
These prompt prefixes can be saved to be re-used (and/or edited) with future prompts.
The name "Legba" is from Papa Legba, a voodoo loa who stood at the crossroads between humans and God, to help them communicate.
- Create an OpenAI API account
- Get an API key
- Fund the API account. It may take a few hours for the API to recognize the account was funded.
- Make your API key available to Legba
- In the Legba.WPF project, modify appsettings.json to use your api key and (optional) organization Id.
- Test the app
Please report any problems at one of these places:
- Convert the UI to something that runs cross-platform - probably Avalonia.
- Able to share prompts with friends, co-workers, or the public.
- Possibly host a web service to share prompt prefixes.
- Connect to other LLMs besides OpenAI (on the web and/or locally).