2024-04-06
▼ ▲ firebaseml.projects.locations.publishers.models.countTokens
Path: v2beta/{+endpoint}:countTokens
Flat Path: v2beta/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:countTokens
HTTP Method: POST
Parameters:
endpoint
Description: Required. The name of the Endpoint requested to perform token counting. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
Pattern: ^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$
Location: path
Required: Yes
Type: string
Parameter Order: endpoint
Scopes: https://www.googleapis.com/auth/cloud-platform
Description: Perform a token counting.
▼ ▲ firebaseml.projects.locations.publishers.models.generateContent
Path: v2beta/{+model}:generateContent
Flat Path: v2beta/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:generateContent
HTTP Method: POST
Parameters:
model
Description: Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*`
Pattern: ^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$
Location: path
Required: Yes
Type: string
Parameter Order: model
Scopes: https://www.googleapis.com/auth/cloud-platform
Description: Generate content with multimodal inputs.
▼ ▲ firebaseml.projects.locations.publishers.models.streamGenerateContent
Path: v2beta/{+model}:streamGenerateContent
Flat Path: v2beta/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:streamGenerateContent
HTTP Method: POST
Parameters:
model
Description: Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*`
Pattern: ^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$
Location: path
Required: Yes
Type: string
Parameter Order: model
Scopes: https://www.googleapis.com/auth/cloud-platform
Description: Generate content with multimodal inputs with streaming support.