Package com.google.genkit.ai
Class EmbedResponse
java.lang.Object
com.google.genkit.ai.EmbedResponse
EmbedResponse contains the embeddings generated from documents.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classEmbedding represents a single embedding vector. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.EmbedResponse(List<EmbedResponse.Embedding> embeddings) Creates an EmbedResponse with embeddings. -
Method Summary
-
Constructor Details
-
EmbedResponse
public EmbedResponse()Default constructor. -
EmbedResponse
Creates an EmbedResponse with embeddings.- Parameters:
embeddings- the embeddings
-
-
Method Details
-
getEmbeddings
-
setEmbeddings
-