Skip to content

Conversation

@hustxiayang
Copy link
Contributor

@hustxiayang hustxiayang commented Dec 5, 2025

Description
Gemini embedding api in vertex ai : https://docs.cloud.google.com/vertex-ai/generative-ai/docs/model-reference/text-embeddings-api#generative-ai-get-text-embedding-drest

Somethings may need discussions:

  • I extend the input so that it can set task type for each string/text.
  • I also allow users to set a global task type for the embedding requests, which follows vendor-specific fields. This should be convenient for users, and similar to gemini api: https://ai.google.dev/gemini-api/docs/embeddings#task-types

@hustxiayang hustxiayang requested a review from a team as a code owner December 5, 2025 20:33
@hustxiayang hustxiayang marked this pull request as draft December 5, 2025 20:33
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Dec 5, 2025
Signed-off-by: yxia216 <[email protected]>
Signed-off-by: yxia216 <[email protected]>
Signed-off-by: yxia216 <[email protected]>
Signed-off-by: yxia216 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant