Skip to content

Florents-Tselai/llm-embed-gemini

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llm-embed-gemini

PyPI Changelog Tests License

MARCH 7, 2025: State-of-the-art text embedding via the Gemini API

Installation

Install this plugin in the same environment as LLM.

llm install llm-embed-gemini

Usage

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages