You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
result = genai.embed_content(
model="models/embedding-001",
content="What is the meaning of life?",
task_type="retrieval_document",
title="Embedding of single string")
# 1 input > 1 vector output
print(str(result['embedding'])[:50], '... TRIMMED]')
All other methos do not require it
model = genai.GenerativeModel('gemini-1.5-flash')
What problem are you trying to solve with this feature?
Description of the feature request:
Embedings requiers models/
All other methos do not require it
What problem are you trying to solve with this feature?
Consistency
Any other information you'd like to share?
#justsaying