model-hub

Generate synthetic data for prompt variables using the SyntheticDataAgent.

Expected payload: { "prompt_name": "string", "prompt_instructions": "list/array" , "variable_names": ["string"], "variable_count": "int", "generation_type": "prompt" }

post/model-hub/prompt-templates/generate-variables/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/model-hub/prompt-templates/generate-variables/
  • 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.