model-hub

Add or update evaluation configurations for a PromptTemplate.

This endpoint allows adding new evaluation configurations or updating existing ones in a PromptTemplate. If is_run is true, it will also run evaluations on specified versions (or latest version if none specified).

post/model-hub/prompt-templates/{id}/update-evaluation-configs/

Request

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

Request body

idstring uuid
namestring required
descriptionstring nullable
variable_namesobject nullable
organizationstring uuid nullable
prompt_folderstring uuid nullable
placeholdersobject nullable
created_bystring uuid nullable

Response

Created

idstring uuid
namestring required
descriptionstring nullable
variable_namesobject nullable
organizationstring uuid nullable
prompt_folderstring uuid nullable
placeholdersobject nullable
created_bystring uuid nullable

Changes

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