spring-projects / spring-projects/spring-ai

VertexAiTextEmbeddingModelName contains only expired models

Open
#4,696 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: waiting-for-triage
Dominant language
Java
Stars
9.5k
Forks
2.9k
Avg merge
1d 7h
Merged PRs (30d)
6

Description

VertexAiTextEmbeddingModelName currently has

	/**
	 * English model. Expires on May 14, 2025.
	 */
	TEXT_EMBEDDING_004("text-embedding-004", "004", 768, "English text model"),

	/**
	 * Multilingual model. Expires on May 14, 2025.
	 */
	TEXT_MULTILINGUAL_EMBEDDING_002("text-multilingual-embedding-002", "002", 768, "Multilingual text model");

Which is not aligned with the supported models reported here: cloud.google.com/vertex-ai/generative-ai/docs/model-reference/text-embeddings-api

Is it as simple as updating these constants in VertexAiTextEmbeddingModelName? I can have a go at that if it is.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with VertexAiTextEmbeddingModelName and compare its constants with the supported models listed in the linked Vertex AI text embeddings documentation. Update the model entries so they represent supported models, and verify that the enum no longer contains only expired models.

Written by the indexing model from the issue text.

Assessment

Tech stack
google-cloud, java
Domain
ai, cloud
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.