embeddings
Creates, updates, deletes, gets or lists an embeddings resource.
Overview
| Name | embeddings |
| Type | Resource |
| Id | gemini.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
async_batch_embed_content | exec | tunedModelsId | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
tunedModelsId | string |
Lifecycle Methods
- async_batch_embed_content
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 }}"
}'
;