Skip to main content

embeddings

Creates, updates, deletes, gets or lists an embeddings resource.

Overview

Nameembeddings
TypeResource
Idgemini.tuned_models.embeddings

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
async_batch_embed_contentexectunedModelsIdEnqueues a batch of EmbedContent requests for batch processing. We have a BatchEmbedContents handler in GenerativeService, but it was synchronized. So we name this one to be Async to avoid confusion.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
tunedModelsIdstring

Lifecycle Methods

Enqueues a batch of EmbedContent requests for batch processing. We have a BatchEmbedContents handler in GenerativeService, but it was synchronized. So we name this one to be Async to avoid confusion.

EXEC gemini.tuned_models.embeddings.async_batch_embed_content
@tunedModelsId='{{ tunedModelsId }}' --required
@@json=
'{
"batch": "{{ batch }}"
}'
;