Embeddings Google PaLM - only English

I replaced the OpenAI Embeddings node by Google PaLM Embeddings, but this model only recognizes English, could anyone help me how to accept other languages? It looks like textembedding-gecko-multilingual@001 would accept it, but the Embeddings Google PaLM node does not accept this model.

Model:

Information on your n8n setup

  • **n8n version: 1.36.2
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @Guilherme_Dias!

Great question :sunflower:

So, Google PaLM does only support English. And textembedding-gecko-multilingual@001 is only supported on the Google Cloud Vertex platform.

Until recently n8n only supported Google PaLM. But now, in version 1.38.1 we also support Google Gen AI studio (Gemini) embeddings.

Gemini embeddings (models/embedding-001 and models/text-embedding-004 ) should both be capable of embedding non-English text.

So if you update your n8n version (if you haven’t already) and replace the Embeddings Google PaLM node with the Embeddings Google Gemini, you should be able to work from quite a few languages.

Hope this helps!

Happy Building! :building_construction:

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.