spring-projects / spring-projects/spring-ai
VertexAiTextEmbeddingModelName contains only expired models
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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