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:
This decouples your application deployment cycle from your prompt iteration cycle.
Your draft is now the new “Published” version.
After publishing, your prompt is accessible via a unique, stable API endpoint.
There are two main ways to interact with the deployed prompt endpoint:
Latitude SDK (Recommended):
latitude.run('your_prompt_id', { parameters: {...} })
method (or equivalent) in our Python or TypeScript SDKs.Direct HTTP API Call:
The key benefit of this system is that when you publish a new version of a prompt in Latitude:
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.
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:
This decouples your application deployment cycle from your prompt iteration cycle.
Your draft is now the new “Published” version.
After publishing, your prompt is accessible via a unique, stable API endpoint.
There are two main ways to interact with the deployed prompt endpoint:
Latitude SDK (Recommended):
latitude.run('your_prompt_id', { parameters: {...} })
method (or equivalent) in our Python or TypeScript SDKs.Direct HTTP API Call:
The key benefit of this system is that when you publish a new version of a prompt in Latitude:
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.