Skip to content

Add gemini-embedding-001 as embedding model for Gemini #3755

@jperezdealgaba

Description

@jperezdealgaba

🚀 Describe the new functionality needed

The Gemini inference provider should be able to use the gemini-embedding-001 model instead of text-embedding-004 :

"text-embedding-004": {"embedding_dimension": 768, "context_length": 2048},

Google is deprecating this model and soon no embedding will be able to be performed

💡 Why is this needed? What if we don't build it?

Google is deprecating old embedding models: Link and soon the only allowed model for Gemini won't be able to be used

Other thoughts

No response

Metadata

Metadata

Labels

enhancementNew feature or requestinferenceissues related to inference providers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions