Getting Started with the Gemini API in Agent Platform with cURL Reviews

65124 reviews

Model parameters jq: error (at response.json:60): Cannot iterate over null (null) CalledProcessError: Command 'b'\ncurl -X POST \\\n -H "Authorization: Bearer $(gcloud auth print-access-token)" \\\n -H "Content-Type: application/json" \\\n https://${API_ENDPOINT}:generateContent \\\n -d \'{\n "contents": {\n "role": "USER",\n "parts": [\n {"text": "Tell me a story."}\n ]\n },\n "generation_config": {\n "temperature": 0.2,\n "top_p": 0.1,\n "top_k": 16,\n "max_output_tokens": 2048,\n "candidate_count": 1,\n "stop_sequences": []\n },\n "safety_settings": {\n "category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",\n "threshold": "BLOCK_LOW_AND_ABOVE"\n }\n }\' 2>/dev/null >response.json\n\njq -r ".candidates[].content.parts[].text" response.json\n'' returned non-zero exit status 5.

Naufal Satya P. · Reviewed 3 أشهر ago

Durga pandu ranga rao r. · Reviewed 3 أشهر ago

Matías S. · Reviewed 3 أشهر ago

completed

Rabindra J. · Reviewed 3 أشهر ago

not able to complete

parthiban v. · Reviewed 3 أشهر ago

Tushar R. · Reviewed 3 أشهر ago

1.5flash沒得用,教材沒更新

cloud c. · Reviewed 3 أشهر ago

Akshay M. · Reviewed 3 أشهر ago

Sunil G. · Reviewed 3 أشهر ago

the packages are not working

Ekalabya S. · Reviewed 3 أشهر ago

Bhanu Prakash R. · Reviewed 3 أشهر ago

Janira B. · Reviewed 3 أشهر ago

Jaini P. · Reviewed 3 أشهر ago

Oana C. · Reviewed 3 أشهر ago

ABHIJIT W. · Reviewed 3 أشهر ago

Prashant S. · Reviewed 3 أشهر ago

Kavita G. · Reviewed 3 أشهر ago

Bansal J. · Reviewed 3 أشهر ago

Thirupathi M. · Reviewed 3 أشهر ago

even after completing lab progress it shows 0

Pratik s. · Reviewed 3 أشهر ago

Tallulah J. · Reviewed 3 أشهر ago

shubham c. · Reviewed 3 أشهر ago

Lab environment error

Marcin T. · Reviewed 3 أشهر ago

Sushmita M. · Reviewed 3 أشهر ago

Mallika U. · Reviewed 3 أشهر ago

We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.