Liking cljdoc? Tell your friends :D

llm.sdk.providers.gemini.embeddings

Gemini native batch embeddings over models.batchEmbedContents.

Gemini native batch embeddings over models.batchEmbedContents.
raw docstring

llm.sdk.providers.gemini.imagen

Vertex AI image-generation adapter.

Google discontinued the Imagen prediction endpoints on 2026-06-30. The :vertex-imagen SDK identity now targets the documented replacement, Gemini image generation over Vertex generateContent.

Vertex AI image-generation adapter.

Google discontinued the Imagen prediction endpoints on 2026-06-30.
The :vertex-imagen SDK identity now targets the documented replacement,
Gemini image generation over Vertex generateContent.
raw docstring

llm.sdk.providers.gemini.native

Gemini Native API transport adapter. Handles thought signatures, streaming deltas, safety metadata. Preserves provider-specific replay state.

Gemini Native API transport adapter.
Handles thought signatures, streaming deltas, safety metadata.
Preserves provider-specific replay state.
raw docstring

llm.sdk.providers.gemini.vertex

Vertex AI Gemini transport adapter.

Builds on Gemini native with different auth (GCP OAuth) and endpoint structure. Auth resolution follows the standard GCP ADC chain via llm.sdk.gcp-auth: request token → runtime auth token → GOOGLE_OAUTH_ACCESS_TOKEN → explicit credentials file → well-known ADC file → metadata server. Local development uses gcloud auth application-default login; the SDK does not shell out.

Project resolution: request opts → profile quirks → GOOGLE_CLOUD_PROJECT / GCLOUD_PROJECT → credentials project_id or quota_project_id.

Vertex AI Gemini transport adapter.

Builds on Gemini native with different auth (GCP OAuth) and endpoint
structure. Auth resolution follows the standard GCP ADC chain via
llm.sdk.gcp-auth: request token → runtime auth token →
GOOGLE_OAUTH_ACCESS_TOKEN → explicit credentials file →
well-known ADC file → metadata server. Local development uses
`gcloud auth application-default login`; the SDK does not shell out.

Project resolution: request opts → profile quirks →
GOOGLE_CLOUD_PROJECT / GCLOUD_PROJECT → credentials project_id
or quota_project_id.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close