model-hub

Run a prompt template with the given configuration.

post/model-hub/prompt-templates/{id}/run_template/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/model-hub/prompt-templates/{id}/run_template/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Request body

namestring
versionstring
variable_namesobject
placeholdersobject nullable

Any valid JSON value.

evaluation_configsobject[]
sourcestring
is_runobject nullable

Any valid JSON value.

is_sdkboolean
run_indexinteger nullable

Response

Created

namestring
versionstring
variable_namesobject
placeholdersobject nullable

Any valid JSON value.

evaluation_configsobject[]
sourcestring
is_runobject nullable

Any valid JSON value.

is_sdkboolean
run_indexinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.