Will this sdk support the equivalent of GenerativeModel.embedContent
from @google/generative-ai
#340
Labels
api: aiplatform
Issues related to the googleapis/nodejs-vertexai API.
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Is your feature request related to a problem? Please describe.
I want to extract embeddings using Gemini via Vertex AI
Describe the solution you'd like
I'd like to see a 1-1 version of
GenerativeModel.embedContent
from@google/generative-ai
in this sdkDescribe alternatives you've considered
I've seen this https://cloud.google.com/vertex-ai/generative-ai/docs/embeddings/get-text-embeddings#generative-ai-get-text-embedding-nodejs so I know it's possible but wondering if it's on the roadmap to be implemented here
Additional context
I'm working on implementing this for an open source library that already contains embedding extraction from
@google/generative-ai
The text was updated successfully, but these errors were encountered: