MARCH 7, 2025: State-of-the-art text embedding via the Gemini API
Install this plugin in the same environment as LLM.
llm install llm-embed-gemini
To get started embedding a single string, run the following:
export GEMINI_API_KEY=xxxx
llm embed -m gemini-embedding-exp-03-07 -c 'Hello world'This plugin adds support for three new embedding models:
- gemini-embedding-exp-03-07
- text-embedding-004
- embedding-001
See the LLM documentation for everything you can do.