Makes an API request to _optimize_prompt and returns the parsed response.
Example usage:
client = vertexai.Client(project=PROJECT_NAME, location='us-central1')
prompt = "Generate system instructions for analyzing medical articles"
response = client.prompt_optimizer.optimize_prompt(prompt=prompt)
print(response.suggested_prompt)
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-02 UTC."],[],[],null,[]]