File size: 511 Bytes
ad1cfd9 90316c1 ad1cfd9 90316c1 ad1cfd9 90316c1 ad1cfd9 90316c1 ad1cfd9 90316c1 ad1cfd9 90316c1 ad1cfd9 90316c1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
---
library_name: transformers
license: mit
---
**Mean Perplexity: `1935.422843282588`**
Get started with Gemini Embedding
Developers can now access our new, experimental Gemini Embeddings model through the Gemini API. It’s compatible with the existing embed_content endpoint.
from google import genai
client = genai.Client(api_key="GEMINI_API_KEY")
result = client.models.embed_content(
model="gemini-embedding-exp-03-07",
contents="How does alphafold work?",
)
print(result.embeddings) |