code-gecko
POST {{baseUrl}}/projects/{{projectId}}/locations/{{locationId}}/publishers/google/models/:model_id_action
Request Body
{"instances"=>[{"prefix"=>"Develop a Flask app for encyption and decryption"}]}
RESPONSES
status: OK
{"predictions":[{"score":-7.429957389831543,"citationMetadata":{"citations":[]},"safetyAttributes":{"categories":[],"scores":[],"blocked":false},"content":" of text.\n\n##"}],"metadata":{"tokenMetadata":{"outputTokenCount":{"totalTokens":7,"totalBillableCharacters":9},"inputTokenCount":{"totalBillableCharacters":41,"totalTokens":11}}}}