@bohe 在 求vertex AI的教程,就是如何调用 中发帖
curl -X POST \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "Content-Type: application/json" \
https://aiplatform.googleapis.com/v1/projects/${PROJECT_ID}/locations/global/publishers/google/models/${MODEL_ID}:generateContent -d \
$'{
"contents": {
"role": "user",
"parts": [
{
"text": "What\'s a good name for a flower shop that specializes in selling bou...