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.0.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.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llm_embed_gemini-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 4d910b65fa735446a6324efc831bb8c81e37ad03498d62a7ee948cbe7e0d1d47
MD5 9013d4555ef4e74e6981e9bfc87b93f8
BLAKE2b-256 15990376896c121948cf74cf439fec3a79441ae4f1bcc02624187e29feefa200

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llm_embed_gemini-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f55f143a061da8eb4964cf1e0ab02007f206de4801cb28826386012dfc1fd11
MD5 ea3c4026ae2949e6d5e4fd5248587c10
BLAKE2b-256 018b08d5451cff60bc3a7db95123fb915558d027e5a313f0fd35856353c824bf

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