Get recommended base models
Changed onLayer's curated recommendations, filtered to the models this workspace may run. Use this to pick a model when the caller named a modality or an intent but not a specific base_model_id: take entry [0] of the matching bucket, falling through to later entries if it is unavailable. Prefer preferred_by_use_case over featured_by_modality when the intent is known, since it is finer-grained.
The curation changes as models ship and are retired, so clients should re-read this periodically rather than hard-coding a model id.
Request
- Base URL: https://api.app.layer.ai/api
- URL: https://api.app.layer.ai/api/v2/workspaces/{workspace_id}/base-models/defaults
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://auth.app.layer.ai/authorize, token URL https://auth.app.layer.ai/oauth/token)
- OAuth 2 (client credentials, token URL https://api.app.layer.ai/api/oauth/token, scopes: generation:read)
Path parameters
Id of the workspace that owns the resource.
Response
Successful Response
Changes
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info
- warning
added the new
create_skyboxenum value to the/response property for the response status - warning
added the new
voice_changeenum value to the/response property for the response status
- warning