post https://api.contextual.ai/v1/applications//tune
Create a tuning job for the specified Application
. Tuning jobs are asynchronous tasks to specialize your Application
to your specific domain or use case.
This API initiates a tuning specialization task using the provided training_file
and an optional test_file
. If no test_file
is provided, the tuning job will hold out a portion of the training_file
as the test set.
Returns a tune job id
which can be used to check on the status of your tuning task through the GET /tune/jobs/{job_id}/metadata
endpoint.
After the tune job completes, the metadata associated with the tune job will include evaluation results and a model ID.