How to deploy prompts to specific environments and export them for use in your application.
env
variables. This allows your domain experts to independently iterate on and deploy prompts without needing any technical skills.
This guide will walk through available environments, how to deploy a prompt to a specific environment within the app, and how to export and use these prompts in your application.
dev
: For development-related tasks such as testing, debugging, etc.staging
: For staging your prompt changesprod
: For managing your production instanceRegistry
within Studio. Here, you can select any of your saved prompts and deploy it to a specific env
.
GET Configurations
API. This method allows you to dynamically retrieve the latest version of your prompts directly from HoneyHive.
env
and name
parameters are optional below.
project
is specified, all prompts in the project will be returned.prod
deployed version: By setting env
to operations.env.PROD
(Python) or Env.Prod
(JS/TS), the prompt deployed to the prod
environment will be returned.lru-cache