Presets

Recommend presets for an intent

Changed on

Ranks presets against a free-text description of what you want, using keyword overlap over name, description and metadata. Presets with no match are excluded. confidence is comparable only within one response. Auth is optional.

post/presets/recommend

Request

  • Base URL: https://api.varg.ai/v2
  • URL: https://api.varg.ai/v2/presets/recommend
  • Auth: one of:
    • none
    • HTTP bearer

Request body

intentstring required

Free-text description of what you want.

typestring

Narrow to one parameter type.

namespacestring

Narrow to one id system.

toolstring

Only presets deliverable into this tool.

limitinteger

Max results. Larger values are clamped to 50; invalid values fall back to 10.

Example request

{
  "intent": "calm female british voice"
}

Response

Ranked recommendations

countinteger required

Changes