Googleai
Googleai resource type schema.
| 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | "order": [ |
| 4 | "api_key", |
| 5 | "base_url", |
| 6 | "platform" |
| 7 | ], |
| 8 | "properties": { |
| 9 | "api_key": { |
| 10 | "default": "", |
| 11 | "description": "", |
| 12 | "nullable": false, |
| 13 | "password": true, |
| 14 | "type": "string" |
| 15 | }, |
| 16 | "base_url": { |
| 17 | "default": "", |
| 18 | "description": "Optional. Only needed to overwrite the default base URL. For google_vertex_ai: https://{region}-aiplatform.googleapis.com/v1/projects/{project_id}/locations/{region}/publishers/google/models/", |
| 19 | "type": "string" |
| 20 | }, |
| 21 | "platform": { |
| 22 | "default": "standard", |
| 23 | "description": "Platform to use. 'standard' for Google AI, 'google_vertex_ai' for Vertex AI.", |
| 24 | "enum": [ |
| 25 | "standard", |
| 26 | "google_vertex_ai" |
| 27 | ], |
| 28 | "type": "string" |
| 29 | } |
| 30 | }, |
| 31 | "required": [ |
| 32 | "api_key" |
| 33 | ], |
| 34 | "type": "object" |
| 35 | } |