Skip to main content

Embedding models from Gemini

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_embed_gemini-0.1.3.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_embed_gemini-0.1.3-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file llm_embed_gemini-0.1.3.tar.gz.

File metadata

  • Download URL: llm_embed_gemini-0.1.3.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for llm_embed_gemini-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7b66d8a408843df5f13742c82403a63702b148fa8a82330ec20b452bd5d60ccc
MD5 011d779eab544af6aaddd0b9e91f2867
BLAKE2b-256 56a9d0806839a1aa7cbd4ae9959315a773f88a0bb2fb3bce9b2ede55fded326b

See more details on using hashes here.

File details

Details for the file llm_embed_gemini-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_embed_gemini-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9e43e31fa9a4007b34dbc38d4e751d536969e11e67769f3703c4c307c2bd7a76
MD5 6ce07ed17a685f546820daf37d2d34d9
BLAKE2b-256 faa54321906b6bdbbc421d3c17823a8f3c2f48296e2031d006948c518376c15a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page