리뷰 cURL로 Agent Platform의 Gemini API 사용 시작하기개
리뷰 65542개
Archana C. · 4개월 전에 리뷰됨
Abhiram y. · 4개월 전에 리뷰됨
pathetic
GitPhantom 0. · 4개월 전에 리뷰됨
burak t. · 4개월 전에 리뷰됨
Vishesh D. · 4개월 전에 리뷰됨
Shishir J. · 4개월 전에 리뷰됨
John Paolo C. · 4개월 전에 리뷰됨
Maria Teresa L. · 4개월 전에 리뷰됨
Santosh C. · 4개월 전에 리뷰됨
Zina R. · 4개월 전에 리뷰됨
Takayuki H. · 4개월 전에 리뷰됨
Priya J. · 4개월 전에 리뷰됨
Lucas C. · 4개월 전에 리뷰됨
bala chandar k. · 4개월 전에 리뷰됨
many error: jq: error (at response.json:7): Cannot iterate over null (null) --------------------------------------------------------------------------- CalledProcessError Traceback (most recent call last) Cell In[15], line 1 ----> 1 get_ipython().run_cell_magic('bash', '', '\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": "List a few popular cookie recipes."\n }\n },\n "generationConfig": {\n "response_mime_type": "application/json",\n "response_schema": {"type": "object", "properties": {"recipe_name": {"type": "string"}}}\n },\n}\' 2>/dev/null >response.json\n\njq -r ".candidates[].content.parts[].text" response.json\n') 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": "List a few popular cookie recipes."\n }\n },\n "generationConfig": {\n "response_mime_type": "application/json",\n "response_schema": {"type": "object", "properties": {"recipe_name": {"type": "string"}}}\n },\n}\' 2>/dev/null >response.json\n\njq -r ".candidates[].content.parts[].text" response.json\n'' returned non-zero exit status 5.
Zhihao C. · 4개월 전에 리뷰됨
Mayank S. · 4개월 전에 리뷰됨
NIPUN S. · 4개월 전에 리뷰됨
Sunny T. · 4개월 전에 리뷰됨
Hansraj P. · 4개월 전에 리뷰됨
all went well in the 2nd attempt
Naveen K. · 4개월 전에 리뷰됨
Neha V. · 4개월 전에 리뷰됨
In Yong Sta. Maria L. · 4개월 전에 리뷰됨
vanaja p. · 4개월 전에 리뷰됨
Laura H. · 4개월 전에 리뷰됨
Sneha P. · 4개월 전에 리뷰됨
Google은 게시된 리뷰가 제품을 구매 또는 사용한 소비자에 의해 작성되었음을 보증하지 않습니다. 리뷰는 Google의 인증을 거치지 않습니다.