On this page
Connect your own language models
Add a model provider connection in Generate, choose which model each service uses, and read the compatibility check that tests a model before it serves.
This page shows an administrator how to point Generate’s services at your own language models, through hosted API keys, a cloud account or a self-hosted endpoint.
Generate runs each of its services on a built-in default model until an administrator points it somewhere else. Models appears only for a person whose team grants the Models privilege; open Admin settings, then Models, to find its three tabs.
| Tab | What it holds |
|---|---|
| Connections | One entry per provider: its endpoint and credential, shared by every service that uses it |
| Services | Each service and the model it calls |
| Compatibility | Every compatibility check run so far, and what it found |
Add a connection
Section titled “Add a connection”Register a provider’s endpoint and credential once, for every service to use.
-
Select Add connection
Open Connections and select Add connection. The dialog has two steps, Provider and Connection.
-
Pick the provider
Under Provider, pick your provider from Select a provider. Generate sets the Configuration mode from it, as the configuration modes table describes.
Open full sizeShown in the enterprise edition. -
Name the connection
Give it a Display name. It labels the connection on every service that uses it and in the audit trail, so name it after the endpoint rather than the model.
-
Fill in the Connection step
Select Next and enter what your mode asks for. For a hosted provider behind your own proxy, select Use a custom base URL (proxy); for a gateway, select Load models and pick a Model to test with.
-
Select Test connection
Endpoint reachable means it passed; Could not reach the endpoint means it did not. Generate stores a connection only once a test passes, and refuses to save after a failed one.
-
Select Save
The connection joins Connections, ready to pick on any service.
A connection you own is billed by your provider, so Generate does not meter its usage against your workspace.
Credentials go to the secret manager, never to the database, and the credential field is write-only. To rotate a key, edit the connection and enter the new one; leave the field blank to keep the current key. The provider cannot change after creation, because it decides the shape of the credential.
To make a connection the one services fall back to, open its row menu and select Set as default. A connection that the deployment’s own model profile manages shows as such and is changed there, not here.
Choose the model for a service
Section titled “Choose the model for a service”Override the default model one service calls.
-
Open Services
Each row is one job Generate does with a model, and the model column reads Default under any service you have not overridden. The services table says what each one needs.
Open full sizeShown in the enterprise edition. -
Select Edit
Open the row’s menu and select Edit.
-
Pick the model
Under Model, pick a Connection, then a model from the provider’s list, or select Enter a model name manually. Optionally choose Failover to, a second model used only when the first cannot answer.
-
Set its behaviour
Under Behaviour and Sampling and advanced, set Reasoning, Structured output, Context window, Max output, Temperature and the other parameters your endpoint supports.
-
Select Save and check
Saving starts a compatibility check against the model.
Reset to default removes your override and returns the service to the Generate default. If you delete a connection that services still use, Generate offers Reset slots and delete, which moves those services back to the default first.
If a policy limits the models your workspace may use, a model outside that list is flagged with the policy’s name. See Control models and tools with policies.
Read a compatibility check
Section titled “Read a compatibility check”Find out whether a model can do what its service needs.
-
Open Compatibility
It lists every check with its Result and When. Filter by service or by result; the latest result also shows on the service’s row.
Open full sizeShown in the enterprise edition. -
Open a check
Each probe reads passed, failed, a warning or skipped, and is marked Required for the service or Advisory. Select Cancel run to stop a check in progress.
-
Follow the Fix line
A model that fails a required probe shows Needs attention, with a Fix line under the probe that failed.
The probes cover reachability and authentication, tool calling, multi-turn and parallel tool calls, streaming, JSON and structured output, image input, context window, output length, token usage reporting and whether the system prompt is honoured.
Configuration modes
Section titled “Configuration modes”| Mode | What it is for | What the Connection step asks for |
|---|---|---|
| Base URL | Self-hosted, OpenAI-compatible endpoints | A Base URL that includes the API version path; an API key is usually optional |
| API key | A hosted provider’s API | An API key |
| Cloud IAM | A model in your cloud account | The region and your cloud credentials, such as Access key ID and Secret access key, or a Service account JSON |
| Gateway | A model gateway or proxy | A Base URL and a virtual key |
Services
Section titled “Services”| Service | What it does | What the model needs |
|---|---|---|
| Main agent | The assistant people chat with | Tool calling and streaming, a context window of at least 128k (200k recommended) |
| Document extraction | Turns uploaded documents into structured blocks | Structured output that follows a schema |
| Image description | Describes images found inside documents | Image input |
| Content classification | Classifies document content | Structured output that follows a schema |
| Document summaries | Writes document summaries | Long context and a reliable output length |
| Chat history compaction | Summarises a conversation that outgrows its context window | Output that is not truncated |
| Chat titles | Names a new chat from its first message | Nothing special |
| Memory | Builds and recalls memories | JSON output, set under Structured output |
When something goes wrong
Section titled “When something goes wrong”| What you see | What to do |
|---|---|
| Run Test connection before saving | Select Test connection; a connection is stored only once a test has passed. |
| The last test did not pass | Fix the base URL, key or region and test again before saving. |
| Couldn’t load model configuration | The page could not reach the API, or your team does not grant the Models privilege. |
| Model configuration is unavailable on this deployment | Model configuration is off for this site, so services stay on the Generate defaults. |
| A service shows Needs attention | Open its latest check under Compatibility and follow the Fix line of the probe that failed. |
| A model is flagged as outside a policy’s model list | Choose a model the policy allows, or change the policy. |
How editions differ
Section titled “How editions differ”| Edition | What differs |
|---|---|
| Enterprise, storage, healthcare | All three tabs, for a team with the Models privilege. |
| Airgapped | All three tabs, but only endpoints the site reaches inside its own network work; a model served on the box can also be chosen at install. |
| Consumer | No Models section. |
Last updated on