Deploy your version-controlled prompts as API endpoints via the AI Gateway.
Once you have iterated and tested your prompt using the Prompt Manager and Playground, the next step is to make it available to your applications. Latitude allows you to deploy the published version of your prompts as stable API endpoints through the AI Gateway.
The AI Gateway acts as a proxy between your application and the underlying AI models configured for your prompt. When you publish a new version of a prompt in Latitude:
The AI Gateway endpoint associated with that prompt is automatically updated to use the newly published version.
Your application continues calling the same stable endpoint URL.
The gateway routes the request to the correct prompt version and configured model provider.
This decouples your application deployment cycle from your prompt iteration cycle.
The key benefit of this system is that when you publish a new version of a prompt in Latitude:
The AI Gateway endpoint instantly starts using the new version.
You do not need to change any code or redeploy your application.
Your application continues to call the same endpoint URL or use the same prompt ID with the SDK, and it automatically benefits from the updated prompt logic and configuration.