Skip to content

Commit

Permalink
Update vertex_ai_prompt_optimizer_ui.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
want-to-be-relaxed authored Nov 12, 2024
1 parent b5dd69e commit b7053a9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@
"\n",
"# @markdown **Misc Configs**: <br/>\n",
"PLACEHOLDER_TO_VALUE = \"{}\" # @param\n",
"RESPONSE_MIME_TYPE = \"application/json\" # @param [\"text/plain\", \"application/json\"]\n",
"RESPONSE_MIME_TYPE = \"application/json\" # @param [\"text/plain\", \"application/json\", \"text/x.enum\"]\n",
"RESPONSE_SCHEMA = \"\"\n",
"TARGET_LANGUAGE = \"English\" # @param [\"English\", \"French\", \"German\", \"Hebrew\", \"Hindi\", \"Japanese\", \"Korean\", \"Portuguese\", \"Simplified Chinese\", \"Spanish\", \"Traditional Chinese\"]"
]
},
Expand Down Expand Up @@ -335,6 +336,7 @@
" \"input_data_path\": input_data_path,\n",
" \"output_path\": output_path,\n",
" \"response_mime_type\": RESPONSE_MIME_TYPE,\n",
" \"response_schema\": RESPONSE_SCHEMA,\n",
" \"language\": TARGET_LANGUAGE,\n",
" \"placeholder_to_content\": json.loads(PLACEHOLDER_TO_VALUE),\n",
"}\n",
Expand Down

0 comments on commit b7053a9

Please sign in to comment.