model-hub

post/model-hub/optimisation/update/{id}/

Request

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

Request body

idstring uuid
namestring required
dataset_idstring uuid required
column_idstring uuid nullable
messagesobject[] nullable

List of messages with format [{'role': 'user/assistant', 'content': 'text'}]

user_eval_template_idsstring[]
model_configobject required
optimize_type'PROMPT_TEMPLATE' | 'RIGHT_ANSWER' | 'RAG_PROMPT_TEMPLATE' required
user_eval_template_mappingobject nullable
prompt_namestring nullable
created_atstring date-time
status'NotStarted' | 'Queued' | 'Running' | 'Completed' | 'Editing' | 'Inactive' | 'Failed' | 'PartialRun' | 'ExperimentEvaluation' | 'Uploading' | 'PartialExtracted' | 'Processing' | 'Deleting' | 'PartialCompleted' | 'OptimizationEvaluation' | 'Error' | 'Cancelled'

Response

OK

statusboolean required
resultstring required

Changes

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