Back
Promptgun

Promptgun

#promptgun

Type-safe LLM prompting. `npm install promptgun` Supports - type-safe access and in-place docs for all openai models - all prompts that request data output type-safe - makes even streams type-safe - subscribe to json elements as soon as they stream in - extremely short, self-explanatory, discoverable, fluent syntax - text prompts - image prompts - auto-retrying
Load previous page…
managed to make a friend interested in promptgun (npm install proptgun). he ununiquely also needed to prompt for json output and would rather stream that output, which made it hard to keep things type safe and to react to the incomplete streamed json, so they had a lot of boiler plate, and he was already using typescript and the openai api so promptgun was perfect for him #promptgun
Home
Search
Messages
Notifications
More