Register an LLM endpoint so that agents in Cloudera Agent Studio can use a model from a supported enterprise inference service provider.
You must have the Admin role. Only the Admin role can add LLM endpoints. For more information, see User roles and capabilities.
You must know the provider, the model name, and the credentials for the model. For the supported providers, see Supported inference service providers.
For the OPENAI_COMPATIBLE, AZURE_OPENAI, and CAII providers, you must know the API base URL of the model service. For AZURE_OPENAI, you also know the API version.
The API base URL meets these requirements. Agent Studio rejects URLs that do not meet them.
The URL uses the http or https scheme.
The URL does not point to a loopback address, a private or link-local address, or a cluster-internal host name.
You must launch the Agent Studio instance from the AWC console. For more information, see Launching Agent Studio.
Launch the Cloudera Agent Studio console.
In the left navigation pane, click LLM Registration.
The Providers, routing & guardrails page is displayed.
Under Visibility, select who can use the endpoint:
Select Private (only me) to keep the endpoint for yourself. This option is selected by default.
Select Public (all Agent Studio users) to let everyone with an Agent Studio role see and test the endpoint.
Optional: If you selected Public (all Agent Studio users), do the following:
Under Share secret with roles, select the roles whose members can use the secret.
The Admin, Builder, Observer, and User roles are selected by default.
In Share secret with users, enter a username, and then click Add.
The username appears as a tag below the field. To share the secret with more users, repeat this step.
Optional: In Secret, enter the credentials for the model as a JSON object, for example {"api_key": ""}.
Optional: To use this endpoint as the default endpoint, enable the Set as default endpoint.
By default, this option is disabled.
Click Create.
To close the dialog without saving the endpoint, click Cancel.
The endpoint appears in the table on the LLM Registration page. The Credentials column shows that credentials are stored. The credential values are not displayed.
If an endpoint with the same name and credentials already exists, Agent Studio rejects the request as a duplicate.