Providers in Latitude are the foundation for connecting to various AI models and services.The name you introduce for each provider will be the one you will have to use in your prompts.
On the “Providers” section click on the “Create Provider” button
Fill out the configuration:
Provider: An alias for this provider configuration. This will be the name you will use in the prompt editor.
Source: The AI provider (e.g., OpenAI, Anthropic, Groq) or ‘Custom’ (instances like Ollama or Gpustack, compatible with the OpenAI API format).
API Key: Your API key or access token for the selected provider.
URL: Only for ‘Custom’. The base URL to the OpenAI compatible API (the part before /chat/completions).
Default Model: Optional. The model selected by default when using this provider in the prompt or evaluation. You can choose another one at any time in the editor.
Click “Create Provider” to save your new provider
Now you can use it in your prompts
For Google Vertex you have more details on how to do the setup in the Google
Vertex guide. The
API Key field is not required for Google Vertex. Instead, you
will need to set up a service account.
You can use the classic OpenAI Chat Completions or Responses endpoints. When creating a new OpenAI provider, you can choose between these two options. The default option is Chat Completions.
You can set a provider to be selected by default in new prompts or evaluations. You can choose another provider anytime in the editor.To set a default provider:
Go to the “Settings” section
On the “Providers” section, on the desired provider, click on the “three dots” to open its action menu
Select “Set as default”
You can unset the default provider by clicking on the its action menu and selecting “Unset as default”.
You have the ability to customize different providers for the following services: Prompts, Evaluations, and Experiments.