{{theTime}}

Search This Blog

Total Pageviews

Google Gemini AI - How to test the API Key using CURL?

curl \
  -H 'Content-Type: application/json' \
  -d '{"contents":[{"parts":[{"text":"When was Google Gemeni API First Released?"}]}]}' \
  -X POST https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent?key=YOUR_API_KEY

No comments:

Generate Insert Sql from Select Statement

SELECT 'INSERT INTO ReferenceTable (ID, Name) VALUES (' +        CAST(ID AS NVARCHAR) + ', ''' + Name + ''...