-
Notifications
You must be signed in to change notification settings - Fork 3
Description
#V1
seems api not support yet.technically there are only one model
Success
gemini-pro
{ "name": "models/gemini-pro", "version": "001", "displayName": "Gemini 1.0 Pro", "description": "The best model for scaling across a wide range of tasks", "inputTokenLimit": 30720, "outputTokenLimit": 2048, "supportedGenerationMethods": ["generateContent", "countTokens"], "temperature": 0.9, "topP": 1, "topK": 1 }
gemini-pro-vision
{ "name": "models/gemini-pro-vision", "version": "001", "displayName": "Gemini 1.0 Pro Vision", "description": "The best image understanding model to handle a broad range of applications", "inputTokenLimit": 12288, "outputTokenLimit": 4096, "supportedGenerationMethods": ["generateContent", "countTokens"], "temperature": 0.4, "topP": 1, "topK": 32 }
embedding-001
{ "name": "models/embedding-001", "version": "001", "displayName": "Embedding 001", "description": "Obtain a distributed representation of a text.", "inputTokenLimit": 2048, "outputTokenLimit": 1, "supportedGenerationMethods": ["embedContent", "countTextTokens"] }
return code 400
gemini-1.0-pro,gemini-1.0-pro-001,gemini-1.0-pro-latest
{ "code": 400, "message": "* GetModelRequest.name: unexpected model name format\n", "status": "INVALID_ARGUMENT" }