Uses of Class
com.google.genai.types.ContentEmbedding
Packages that use ContentEmbedding
-
Uses of ContentEmbedding in com.google.genai.types
Methods in com.google.genai.types that return ContentEmbeddingModifier and TypeMethodDescriptionabstract ContentEmbedding
ContentEmbedding.Builder.build()
static ContentEmbedding
Deserializes a JSON string to a ContentEmbedding object.Methods in com.google.genai.types that return types with arguments of type ContentEmbeddingModifier and TypeMethodDescriptionabstract Optional<ContentEmbedding>
SingleEmbedContentResponse.embedding()
The response to the request.abstract Optional<List<ContentEmbedding>>
EmbedContentResponse.embeddings()
The embeddings for each request, in the same order as provided in the batch request.Methods in com.google.genai.types with parameters of type ContentEmbeddingModifier and TypeMethodDescriptionabstract SingleEmbedContentResponse.Builder
SingleEmbedContentResponse.Builder.embedding
(ContentEmbedding embedding) Setter for embedding.EmbedContentResponse.Builder.embeddings
(ContentEmbedding... embeddings) Setter for embeddings.Method parameters in com.google.genai.types with type arguments of type ContentEmbeddingModifier and TypeMethodDescriptionabstract EmbedContentResponse.Builder
EmbedContentResponse.Builder.embeddings
(List<ContentEmbedding> embeddings) Setter for embeddings.