Full name: projects.locations.tuningJobs.optimizePrompt
Optimizes a prompt.
Endpoint
posthttps://aiplatform.googleapis.com/v1beta1/{parent}/tuningJobs:optimizePrompt
Path parameters
parent
string
Required. The resource name of the Location to optimize the prompt in. Format: projects/{project}/locations/{location}
Request body
The request body contains data with the following structure:
content
object (Content
)
Required. The content to optimize.
Response body
Response message for GenAiTuningService.OptimizePrompt
If successful, the response body contains data with the following structure:
content
object (Content
)
Output only. The optimized prompt content.
JSON representation |
---|
{
"content": {
object ( |